Compare commits

..

No commits in common. "b5a483f88d7ceb8be362f02460bd800978807804" and "1e31fc3725c95f9bc69c208c788ca22dfd7dd53f" have entirely different histories.

2 changed files with 7 additions and 28 deletions

View file

@ -18,16 +18,6 @@
networking.hostName = "homeserver"; networking.hostName = "homeserver";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
fileSystems."/mnt/data" = {
device = "172.16.0.1:/volume1/data";
fsType = "nfs";
options = [
"noauto"
"x-systemd.automount"
"x-systemd.idle-timeout=600"
];
};
users.groups.media = { }; users.groups.media = { };
users.users.media = { users.users.media = {
group = "media"; group = "media";
@ -52,10 +42,6 @@
addresses = true; addresses = true;
workstation = true; workstation = true;
}; };
allowInterfaces = [
"end0"
"enp2s0u2"
];
}; };
services.calibre-server = { services.calibre-server = {
@ -75,11 +61,6 @@
settings.PermitRootLogin = "no"; settings.PermitRootLogin = "no";
}; };
services.tailscale = {
enable = true;
useRoutingFeatures = "server";
};
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [ ]; networking.firewall.allowedUDPPorts = [ ];

View file

@ -39,15 +39,13 @@
swapDevices = [ ]; swapDevices = [ ];
networking.interfaces = { # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
end0.useDHCP = lib.mkDefault true; # (the default) this is the recommended approach. When using systemd-networkd it's
enp2s0u2.ipv4.addresses = [ # still possible to use this option, but it's recommended to use it in conjunction
{ # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
address = "172.16.0.2"; networking.useDHCP = lib.mkDefault true;
prefixLength = 24; # networking.interfaces.end0.useDHCP = lib.mkDefault true;
} # networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
];
};
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
} }