mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Allow remote deployments
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user