fix(home): set correct namespace for environment variable

This commit is contained in:
2025-12-28 20:19:37 +01:00
parent a535f00e54
commit d913c6cc02
2 changed files with 8 additions and 13 deletions

View File

@@ -4,6 +4,13 @@
# user config
home.username = "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
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
services.syncthing.enable = true;
# enable home manager
programs.home-manager.enable = true;
# don't change
home.stateVersion = "25.11";
}