diff options
| author | andromeda <andromeda@lenovo> | 2025-12-30 19:45:43 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2025-12-30 19:45:43 +0100 |
| commit | 9e402fdfa3f967e6b7497507f6d8eefbad6a71a9 (patch) | |
| tree | 082a476aef3d35424081c97975ef4d1f0ec67e77 /machines/173-249-5-230/configuration.nix | |
| parent | 0468cf2621e8ef812f774bbf2eed396b4c0d4602 (diff) | |
add server user password
Diffstat (limited to 'machines/173-249-5-230/configuration.nix')
| -rw-r--r-- | machines/173-249-5-230/configuration.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/machines/173-249-5-230/configuration.nix b/machines/173-249-5-230/configuration.nix index 853a5db..570d428 100644 --- a/machines/173-249-5-230/configuration.nix +++ b/machines/173-249-5-230/configuration.nix @@ -3,7 +3,7 @@ machine, ... }: { - age.secrets.secret1.file = ../../secrets/secret1.age; + age.secrets.secret2.file = ../../secrets/secret2.age; boot.tmp.cleanOnBoot = true; boot.loader.grub.devices = ["nodev"]; environment.persistence."/nix/persist" = { @@ -71,7 +71,7 @@ users.users."mtgmonkey" = { isNormalUser = true; description = "mtgmonkey"; - passwordFile = builtins.toString config.age.secrets.secret1.path; + hashedPasswordFile = builtins.toString config.age.secrets.secret2.path; extraGroups = ["wheel"]; openssh.authorizedKeys.keys = machine.pub-keys.ssh; }; |
