architect: disabled services, updated network interface after hw change
This commit is contained in:
parent
02c0984a3f
commit
ef949684f0
@ -26,34 +26,33 @@ in
|
||||
./matrix.nix
|
||||
./fail2ban.nix
|
||||
./dns.nix
|
||||
./minecraft.nix
|
||||
# ./minecraft.nix
|
||||
./prowlarr.nix
|
||||
./libreddit.nix
|
||||
# ./invidious.nix
|
||||
# ./lidarr.nix
|
||||
# ./navidrome.nix
|
||||
# ./jellyfin.nix
|
||||
./jellyfin.nix
|
||||
# ./prosody.nix
|
||||
./deluge.nix
|
||||
# ./deluge.nix
|
||||
#./calibre.nix
|
||||
./docker.nix
|
||||
# ./keycloak.nix
|
||||
# ./runas.nix
|
||||
./tailscale.nix
|
||||
# ./searx.nix
|
||||
./plex.nix
|
||||
# ./plex.nix
|
||||
./headscale.nix
|
||||
./llm.nix
|
||||
./photoprism.nix
|
||||
# ./photoprism.nix
|
||||
./sunshine.nix
|
||||
];
|
||||
|
||||
architect = {
|
||||
networks.lan = {
|
||||
interface = "enp5s0";
|
||||
interface = "enp6s0";
|
||||
net = "10.0.0.0/24";
|
||||
devices = {
|
||||
vodafoneStation = { address = "192.168.1.1"; hostname = "vodafone.station"; };
|
||||
|
||||
architect = { address = "10.0.0.250"; hostname = "architect.${domain}"; };
|
||||
router = { address = "10.0.0.1"; hostname = "router.${domain}"; };
|
||||
dvr = { address = "10.0.0.3"; hostname = "dvr.${domain}"; };
|
||||
@ -62,11 +61,10 @@ in
|
||||
|
||||
firewall = {
|
||||
openTCP = [ 22 ];
|
||||
openTCPVPN = [ 22 ];
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Rome";
|
||||
time.timeZone = "Europe/London";
|
||||
users.users.giulio.openssh.authorizedKeys.keys = pubkeys;
|
||||
boot = {
|
||||
initrd = {
|
||||
@ -84,9 +82,6 @@ in
|
||||
|
||||
kernelParams = with config.architect.networks.lan; [
|
||||
"ip=${devices.architect.address}::${devices.router.address}:255.255.255.0::${interface}:off"
|
||||
"nvme_core.default_ps_max_latency_us=5500"
|
||||
"zfs_arc_max=1073741824"
|
||||
"memmap=32M$0x4ca6f9478"
|
||||
];
|
||||
|
||||
kernelPackages = pkgs.linuxPackages;
|
||||
@ -116,8 +111,8 @@ in
|
||||
address = devices.architect.address;
|
||||
prefixLength = 24;
|
||||
}];
|
||||
enp6s0.useDHCP = false;
|
||||
wlp4s0.useDHCP = false;
|
||||
# enp6s0.useDHCP = false;
|
||||
# wlp4s0.useDHCP = false;
|
||||
};
|
||||
extraHosts = (generateDeviceStrings config.architect.networks.lan.devices) + ''
|
||||
|
||||
@ -169,7 +164,6 @@ in
|
||||
|
||||
environment = {
|
||||
variables = { LIBVA_DRIVER_NAME = "vdpau"; };
|
||||
systemPackages = with pkgs; [ cachix linuxPackages.usbip ];
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user