Adding a deploy user

This commit is contained in:
Lyes Saadi 2025-12-18 13:20:32 +01:00
parent 5efdd36cfd
commit 3122a85c6e
Signed by: lyes
GPG key ID: 55A1D803917CF39A
2 changed files with 11 additions and 0 deletions

View file

@ -10,6 +10,7 @@
# ./disko-config.nix # ./disko-config.nix
./reverse-proxy.nix ./reverse-proxy.nix
./wordpress.nix ./wordpress.nix
./users.nix
../../users/lyes ../../users/lyes

10
hosts/zora/users.nix Normal file
View file

@ -0,0 +1,10 @@
{ ... }:
{
users.users.deploy = {
isSystemUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdkiKdd3vTMd42AejLMoAjqQYd6jYDXojCbOAwV0g9+ deploy@zora"
];
};
}