# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { config, pkgs, lib, ... }: { imports = [ ./backup.nix ./home-controller.nix ./paperless.nix ./owntone.nix ./jellyfin.nix ./photoprism.nix ]; time.timeZone = "Europe/Berlin"; boot.plymouth.enable = lib.mkForce false; pub-solar.nextcloud.enable = lib.mkForce false; networking = { vlans = { vlan102 = { id = 102; interface = "eth0"; }; # iot vlan vlan104 = { id = 104; interface = "eth0"; }; # media vlan }; interfaces = { eth0 = { useDHCP = true; mtu = 1460; }; vlan102 = { mtu = 1460; ipv4.addresses = [{ address = "172.16.0.12"; prefixLength = 24; }]; }; vlan104 = { mtu = 1460; ipv4.addresses = [{ address = "10.42.0.12"; prefixLength = 24; }]; }; }; }; networking.networkmanager.enable = false; networking.firewall = { allowedUDPPorts = [1900]; }; virtualisation.podman.enable = true; system.stateVersion = "22.11"; }