simplify
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./openssh.nix
|
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
../../profiles/core.nix
|
../../profiles/core.nix
|
||||||
|
../../profiles/openssh.nix
|
||||||
../../profiles/fail2ban.nix
|
../../profiles/fail2ban.nix
|
||||||
../../profiles/gitea.nix
|
../../profiles/gitea.nix
|
||||||
../../profiles/nixos.nix
|
../../profiles/nixos.nix
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
{...}: {
|
|
||||||
services.openssh = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
PermitRootLogin = "yes";
|
|
||||||
PasswordAuthentication = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -11,11 +11,11 @@
|
|||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./openssh.nix
|
|
||||||
./pgbackrest.nix
|
./pgbackrest.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
../../modules/pgbackrest.nix
|
../../modules/pgbackrest.nix
|
||||||
../../profiles/core.nix
|
../../profiles/core.nix
|
||||||
|
../../profiles/openssh.nix
|
||||||
../../profiles/fail2ban.nix
|
../../profiles/fail2ban.nix
|
||||||
../../profiles/nixos.nix
|
../../profiles/nixos.nix
|
||||||
../../profiles/postgresql.nix
|
../../profiles/postgresql.nix
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
{...}: {
|
|
||||||
services.openssh = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
PermitRootLogin = "yes";
|
|
||||||
PasswordAuthentication = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -8,11 +8,11 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./adguardhome.nix
|
./adguardhome.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./openssh.nix
|
|
||||||
./paperless.nix
|
./paperless.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
../../profiles/core.nix
|
../../profiles/core.nix
|
||||||
|
../../profiles/openssh.nix
|
||||||
../../profiles/nixos.nix
|
../../profiles/nixos.nix
|
||||||
../../profiles/syncthing.nix
|
../../profiles/syncthing.nix
|
||||||
../../profiles/tailscale.nix
|
../../profiles/tailscale.nix
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
trustedInterfaces = ["eno1" "tailscale0"];
|
trustedInterfaces = ["eno1" "tailscale0"];
|
||||||
allowedUDPPorts = [config.services.tailscale.port];
|
allowedUDPPorts = [config.services.tailscale.port];
|
||||||
allowedTCPPorts = [22 5555];
|
allowedTCPPorts = [22];
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user