about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configuration/configuration.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/configuration/configuration.nix b/configuration/configuration.nix
index 5f7d8bd..e8e20e2 100644
--- a/configuration/configuration.nix
+++ b/configuration/configuration.nix
@@ -24,16 +24,18 @@
 
   users.mutableUsers = false;
   users.users = {
-    mel = {
+    mel = with credentials.mel; {
       isNormalUser = true;
       extraGroups = [ "wheel" ];
-      hashedPassword = credentials.mel.password;
+      hashedPassword = password;
+      openssh.authorizedKeys.keys = keys;
     };
 
-    philip = {
+    philip = with credentials.philip; {
       isNormalUser = true;
       extraGroups = [ "wheel" ];
-      hashedPassword = credentials.philip.password;
+      hashedPassword = password;
+      openssh.authorizedKeys.keys = keys;
     };
   };