From 2f6152042984b7578e86b15892b093f0a8301c97 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 22 Jul 2024 19:02:31 -0700 Subject: Use /secrets --- hosts/copenhagen/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hosts/copenhagen') diff --git a/hosts/copenhagen/configuration.nix b/hosts/copenhagen/configuration.nix index a8728f3..9f3b721 100644 --- a/hosts/copenhagen/configuration.nix +++ b/hosts/copenhagen/configuration.nix @@ -38,10 +38,11 @@ time.timeZone = "America/Los_Angeles"; users.users = { - root.password = "password"; + root.hashedPasswordFile = "/secrets/passwords/root"; "c" = { isNormalUser = true; + hashedPasswordFile = "/secrets/passwords/c"; extraGroups = [ "wheel" "minecraft" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDO8JxqS7B2n3YlNtlVMZGARi+GG/z7wLiiyl52qSZc caroline@larimo.re" ]; }; -- cgit v1.2.3