refactor of user
This commit is contained in:
1 parent
a81a8ac57b
commit
e7d22b40ff
9 files changed
+75
-199
No files matched your search
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./core.nix
|
||||
./user.nix
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user