minor fix

This commit is contained in:
js0ny 2025-12-10 15:27:08 +00:00
parent f7d8dc349c
commit eccae188a8
4 changed files with 25 additions and 1 deletions

View file

@ -34,7 +34,7 @@ end
M.set_buf_keymaps_prefix = function(maps) M.set_buf_keymaps_prefix = function(maps)
local n_prefix = "<leader>m" local n_prefix = "<leader>m"
local i_prefix = "<C-m>" local i_prefix = "<C-;>" -- Using C-M will stuck when <CR>
if not maps then if not maps then
return return
end end

View file

@ -20,6 +20,7 @@
curlie curlie
duf duf
dust dust
ncdu
fd fd
ffmpeg ffmpeg
glow glow

View file

@ -0,0 +1,14 @@
{config, ...}: let
xdg-data = "${config.xdg.dataHome}";
xdg-config = "${config.xdg.configHome}";
xdg-cache = "${config.xdg.cacheHome}";
in {
home.sessionVariables = {
CARGO_HOME = "${xdg-data}/cargo";
XCOMPOSECACHE = "${xdg-cache}/X11/xcompose";
DOCKER_CONFIG = "${xdg-config}/docker";
GNUPGHOME = "${xdg-data}/gnupg";
GRADLE_USER_HOME = "${xdg-data}/gradle";
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot='${xdg-data}/java'";
};
}

View file

@ -19,6 +19,8 @@
./packages/fonts.nix ./packages/fonts.nix
./packages/stylix.nix ./packages/stylix.nix
./programs/antidots.nix
# Shell # Shell
./programs/shell/bash.nix ./programs/shell/bash.nix
./programs/shell/zsh.nix ./programs/shell/zsh.nix
@ -122,4 +124,11 @@
]; ];
home.stateVersion = "25.05"; home.stateVersion = "25.05";
# File manager(nautilus) / file chooser bookmarks
gtk.gtk3.bookmarks = [
"file:///home/js0ny/Academia Academia"
"file:///home/js0ny/Atelier Atelier"
"file:///home/js0ny/Downloads Downloads"
];
} }