diff --git a/flake.lock b/flake.lock index e47fec7..efdc5d7 100644 --- a/flake.lock +++ b/flake.lock @@ -314,11 +314,11 @@ ] }, "locked": { - "lastModified": 1738531378, - "narHash": "sha256-5r1LcMRDt6uyIPyApfrce/ijucp83aZt+/Kq3w+zMSQ=", + "lastModified": 1738545878, + "narHash": "sha256-Gcq6/+dAhYigHVY524y1S1J/ahqGVtL/uX41im5T4rw=", "owner": "nezia1", "repo": "hjem", - "rev": "f9a2fc1b176601fcb304168ab5b37e3943a0a87e", + "rev": "800cf2a0a3d100b44cb9d39766755926942d46d6", "type": "github" }, "original": { diff --git a/modules/core/nix.nix b/modules/core/nix.nix index 187d11c..24c26f9 100644 --- a/modules/core/nix.nix +++ b/modules/core/nix.nix @@ -39,5 +39,5 @@ in { }; }; - hjem.users.${username}.environment.variables.FLAKE = "${config.hjem.users.${username}.directory}/.dotfiles"; + hjem.users.${username}.environment.sessionVariables.FLAKE = "${config.hjem.users.${username}.directory}/.dotfiles"; } diff --git a/modules/programs/editors/default.nix b/modules/programs/editors/default.nix index 05a3735..f3db4f5 100644 --- a/modules/programs/editors/default.nix +++ b/modules/programs/editors/default.nix @@ -19,7 +19,7 @@ in { unset -v EDITOR ''; hjem.users.${username} = { - environment.variables = { + environment.sessionVariables = { EDITOR = "nvim"; }; }; diff --git a/modules/programs/hypr/land/default.nix b/modules/programs/hypr/land/default.nix index acc45b8..8195ba0 100644 --- a/modules/programs/hypr/land/default.nix +++ b/modules/programs/hypr/land/default.nix @@ -157,7 +157,7 @@ in { }; }; - environment.variables = mkMerge [ + environment.sessionVariables = mkMerge [ { GDK_SCALE = 1; } diff --git a/modules/programs/terminal/programs/bat.nix b/modules/programs/terminal/programs/bat.nix index b331e94..8fa94c7 100644 --- a/modules/programs/terminal/programs/bat.nix +++ b/modules/programs/terminal/programs/bat.nix @@ -20,10 +20,6 @@ in { theme = "base16"; }; }; - environment.variables = { - MANPAGER = "sh -c 'col -bx | bat --language man'"; - MANROFFOPT = "-c"; - }; }; }; }