fix: move gortium passwordFile to shared user module (applies to all hosts)
This commit is contained in:
@@ -35,7 +35,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Password file for gortium (merges with users/gortium/default.nix)
|
# Password file for gortium (merges with users/gortium/default.nix)
|
||||||
users.users.gortium.passwordFile = config.age.secrets.gortium_password.path;
|
|
||||||
|
|
||||||
# WiFi via NetworkManager + secret agenix
|
# WiFi via NetworkManager + secret agenix
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
];
|
];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
|
passwordFile = config.age.secrets.gortium_password.path;
|
||||||
keys.users.gortium.main
|
keys.users.gortium.main
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user