diff --git a/homes/common/neovim.nix b/homes/common/neovim.nix index 2a8cc97..32b9e62 100644 --- a/homes/common/neovim.nix +++ b/homes/common/neovim.nix @@ -5,4 +5,6 @@ inputs.editor.packages.${pkgs.stdenv.hostPlatform.system}.default ]; programs.zsh.shellAliases.vimdiff = "nvim -d"; + + home.sessionVariables.EDITOR = "nvim"; } diff --git a/homes/common/xdg.nix b/homes/common/xdg.nix index f742448..49b0502 100644 --- a/homes/common/xdg.nix +++ b/homes/common/xdg.nix @@ -10,6 +10,7 @@ _JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java"; }; + shellAliases = { wget = "wget --hsts-file='${config.xdg.dataHome}/wget-hsts'"; }; diff --git a/homes/desktop/xdg.nix b/homes/desktop/xdg.nix index 406b930..fc6eeb3 100644 --- a/homes/desktop/xdg.nix +++ b/homes/desktop/xdg.nix @@ -5,6 +5,11 @@ xdg-utils xdg-user-dirs ]; + + home.sessionVariables = { + BROWSER = "librewolf"; + TERMINAL = "alacritty"; + }; xdg = { enable = true; @@ -47,13 +52,4 @@ }; }; }; - - home = { - sessionVariables = { - # Default programs - EDITOR = "nvim"; - TERMINAL = "st"; - BROWSER = "librewolf"; - }; - }; }