diff --git a/hosts/zora/default.nix b/hosts/zora/default.nix index 86578e4..a61e13d 100644 --- a/hosts/zora/default.nix +++ b/hosts/zora/default.nix @@ -10,6 +10,7 @@ # ./disko-config.nix ./reverse-proxy.nix ./wordpress.nix + ./users.nix ../../users/lyes diff --git a/hosts/zora/users.nix b/hosts/zora/users.nix new file mode 100644 index 0000000..4cbe01d --- /dev/null +++ b/hosts/zora/users.nix @@ -0,0 +1,10 @@ +{ ... }: + +{ + users.users.deploy = { + isSystemUser = true; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdkiKdd3vTMd42AejLMoAjqQYd6jYDXojCbOAwV0g9+ deploy@zora" + ]; + }; +}