refactor of user

This commit is contained in:
ari committed 2024-08-09 13:20:30 -04:00
1 parent a81a8ac57b
commit e7d22b40ff
9 files changed
+75 -199

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ in
{
options = {
skyg.core = {
hostname = mkOption {
hostName = mkOption {
description = "Machine Hostname";
type = types.str;
};
@@ -16,7 +16,7 @@ in
};
config = {
home-manager.users.root.programs.git.userName = "root@${cfg.hostName}";
home-manager.users.root.programs.git.userEmail = "root@${cfg.hostName}";
networking.hostName = cfg.hostName;
};
}
+1
View File
@@ -2,5 +2,6 @@
{
imports = [
./core.nix
./user.nix
];
}