Allow remote deployments

This commit is contained in:
thiloho
2023-08-04 09:32:11 +00:00
parent 17e152cecb
commit 952b3387d3
2 changed files with 10 additions and 1 deletions

View File

@@ -6,6 +6,8 @@
../shared.nix
];
nix.settings.trusted-users = [ "thiloho" ];
networking = {
hostName = "server";
firewall = {
@@ -29,7 +31,10 @@
white-list = true;
};
};
openssh.enable = true;
openssh = {
enable = true;
settings.PasswordAuthentication = false;
};
nginx = {
enable = true;
virtualHosts = {