feat(systemModules): add home manager module

This commit is contained in:
ooks-io 2024-05-05 22:52:11 +12:00
parent d6c7aafe6b
commit c7ba713449
2 changed files with 4 additions and 1 deletions

View file

@ -18,6 +18,7 @@ in
name = "ooks";
shell = "fish";
sshKey = key;
homeManager = true;
};
hardware = {
cpu.type = "amd";

View file

@ -57,7 +57,9 @@ in
backupFileExtension = "hm.old";
verbose = true;
extraSpecialArgs = { inherit inputs outputs self; };
users.${cfg.name} = import "${self}/home/user/${cfg.name}/${host.name}";
users.${cfg.name} = {
imports = [ "${self}/home/user/${cfg.name}/${host.name}" ];
};
};
};
}