Initial commit

This commit is contained in:
Aleksandr 2024-08-05 20:53:43 +03:00
commit 1ceaf7acff
26 changed files with 434 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
imports = [
./firewall.nix
./ssh.nix
./vpn
];
networking.networkmanager.enable = true;
networking.search = [
"8.8.8.8"
"8.8.4.4"
];
networking.hostName = "lil-maid";
}

View file

@ -0,0 +1,5 @@
{
networking.firewall = {
enable = true;
};
}

View file

@ -0,0 +1,9 @@
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
Compression = "yes";
};
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./hft.nix
];
}

View file

@ -0,0 +1,4 @@
{ config, ... }:
{
systemd.services.openvpn-hft.wants = [ "shadowsocks-hft.service" ];
}