treewide: environment.variables -> environment.sessionVariables

This commit is contained in:
Anthony Rodriguez 2025-02-04 14:30:34 +01:00
parent 5216978270
commit fabbd78476
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA
5 changed files with 6 additions and 10 deletions

6
flake.lock generated
View file

@ -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": {

View file

@ -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";
}

View file

@ -19,7 +19,7 @@ in {
unset -v EDITOR
'';
hjem.users.${username} = {
environment.variables = {
environment.sessionVariables = {
EDITOR = "nvim";
};
};

View file

@ -157,7 +157,7 @@ in {
};
};
environment.variables = mkMerge [
environment.sessionVariables = mkMerge [
{
GDK_SCALE = 1;
}

View file

@ -20,10 +20,6 @@ in {
theme = "base16";
};
};
environment.variables = {
MANPAGER = "sh -c 'col -bx | bat --language man'";
MANROFFOPT = "-c";
};
};
};
}