hosts: Move host configuration into its own directory

This commit is contained in:
2021-08-04 19:17:15 +02:00
parent 97c6fece4c
commit a531a27be5
5 changed files with 101 additions and 23 deletions

View File

@@ -21,7 +21,7 @@
home-manager.users.alexander = {
# TODO: Move into a generic
pam.sessionVariables = {
NIXOS_CONFIG = "\${HOME}/Development/Personal/nixos-config/${config.networking.hostName}.nix";
NIXOS_CONFIG = "\${HOME}/Development/Personal/nixos-config/hosts/${config.networking.hostName}.nix";
};
programs.home-manager.enable = true;