Adding a deploy user
This commit is contained in:
parent
5efdd36cfd
commit
3122a85c6e
2 changed files with 11 additions and 0 deletions
|
|
@ -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
10
hosts/zora/users.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
users.users.deploy = {
|
||||||
|
isSystemUser = true;
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdkiKdd3vTMd42AejLMoAjqQYd6jYDXojCbOAwV0g9+ deploy@zora"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue