Updated local user configuration

This commit is contained in:
Jan-Bulthuis committed 2025-05-29 20:20:18 +02:00
1 parent bebd2748d1
commit cd91944b1e
2 files changed
+4 -7

No files matched your search

-4
View File
@@ -20,13 +20,9 @@ in
bootloader.enable = mkDefault true;
ssh.enable = mkDefault true;
# Setup sensible default persistent data
impermanence.directories = [
"/var/lib/nixos"
];
impermanence.files = [
"/etc/shadow"
];
};
# Localization
+4 -3
View File
@@ -33,12 +33,13 @@ in
ssh.enable = true;
};
# Admin users
# Local user
users.mutableUsers = false;
users.users.local = {
initialPassword = "local";
hashedPassword = "$y$j9T$f/uFTdcVyFUPJLn4VhRTx.$c9e2QPXYGKFNt3lUf8QD3KLJi4AKgPldfQTvc0WCe..";
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 jan@bulthuis.dev"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKKxoQSxfYqf9ITN8Fhckk8WbY4dwtBAXOhC9jxihJvq Laptop"
];
};