diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-11-20 12:41:02 +0000 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-11-20 12:41:02 +0000 |
| commit | de0bf05c6c438c6365fbc2f6f45ccc091dd45f52 (patch) | |
| tree | 1ab0dc34f561f81327c015fd9293a1785b3622be /profiles | |
| parent | 014a0e2e9ecade436b6a150c9a3003bfa3917f77 (diff) | |
fixup
Diffstat (limited to 'profiles')
| -rw-r--r-- | profiles/core/configuration.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/core/configuration.nix b/profiles/core/configuration.nix index 65c3adb..fe7297a 100644 --- a/profiles/core/configuration.nix +++ b/profiles/core/configuration.nix @@ -1,4 +1,5 @@ { + machine, config, pkgs, lib, @@ -15,7 +16,7 @@ extraGroups = ["wheel" "networkmanager" "docker" "transmission"]; openssh.authorizedKeys.keys = ivi.sshKeys; }; - root = { + root = mkIf machine.addroot { hashedPasswordFile = config.secrets.root.path; openssh.authorizedKeys.keys = config.ivi.openssh.authorizedKeys.keys; }; |
