fix(home): set correct namespace for environment variable
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
# use flakes and nix command
|
# use flakes and nix command
|
||||||
nix.settings.experimental-feature = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
# links /libexec from derivations to /run/current-system/sw
|
# links /libexec from derivations to /run/current-system/sw
|
||||||
environment.pathsToLink = [ "/libexec" ];
|
environment.pathsToLink = [ "/libexec" ];
|
||||||
|
|||||||
@@ -4,6 +4,13 @@
|
|||||||
# user config
|
# user config
|
||||||
home.username = "aaron";
|
home.username = "aaron";
|
||||||
home.homeDirectory = "/home/aaron";
|
home.homeDirectory = "/home/aaron";
|
||||||
|
# set env vars
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "vim";
|
||||||
|
NH_FLAKE = "/home/aaron/git/nixconfig";
|
||||||
|
};
|
||||||
|
# don't change
|
||||||
|
home.stateVersion = "25.11";
|
||||||
|
|
||||||
# nixvim config
|
# nixvim config
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
@@ -137,20 +144,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# set env vars
|
|
||||||
home.sessionVariables = {
|
|
||||||
EDITOR = "vim";
|
|
||||||
};
|
|
||||||
|
|
||||||
# add flake env variable for nh
|
|
||||||
environment.sessionVariables = {
|
|
||||||
NH_FLAKE = "/home/aaron/git/nixconfig";
|
|
||||||
};
|
|
||||||
|
|
||||||
# enable syncthing for user
|
# enable syncthing for user
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
# enable home manager
|
# enable home manager
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
# don't change
|
|
||||||
home.stateVersion = "25.11";
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user