diff --git a/freecorn.nix b/freecorn.nix index 75ab5ae..f7e911c 100644 --- a/freecorn.nix +++ b/freecorn.nix @@ -1,11 +1,11 @@ -{ +let + secrets = import ./secrets.nix; +in { # Define a user account. Don't forget to set a password with ‘passwd’. users.users.freecorn = { description = "FreeCorn"; isNormalUser = true; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINoElXZvPDrpHQuTP9MtIgYXq1DA1F4IL2MIVdse48Nr techx18@freecornpc" - ]; + openssh.authorizedKeys.keys = secrets.cornKeys; extraGroups = [ "networkmanager" "wheel"