diff --git a/configurations/host/valkyrie/default.nix b/configurations/host/valkyrie/default.nix index 6492044..0642e05 100644 --- a/configurations/host/valkyrie/default.nix +++ b/configurations/host/valkyrie/default.nix @@ -74,8 +74,8 @@ ]; openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/materus.pub") ]; }; - users.users.acme.openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/materus.pub") ]; - + users.users.acme.openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/waffentrager.pub") ]; + users.users.acme.shell = pkgs.scponly; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ diff --git a/extraFiles/keys/ssh/waffentrager.pub b/extraFiles/keys/ssh/waffentrager.pub new file mode 100644 index 0000000..8b180df --- /dev/null +++ b/extraFiles/keys/ssh/waffentrager.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFrSFfoYf7J35GrjrNWgD140kv/p7qzlSI8Xrp+A16jc root@nixos \ No newline at end of file