From 7c52e763486f1f84e48a9129e7ad2576ff92139e Mon Sep 17 00:00:00 2001 From: materus Date: Sat, 23 Mar 2024 15:39:15 +0100 Subject: [PATCH] valkyrie: add acme access for waffentrager --- configurations/host/valkyrie/default.nix | 4 ++-- extraFiles/keys/ssh/waffentrager.pub | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 extraFiles/keys/ssh/waffentrager.pub 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