# # # { config, pkgs, ... }: with import ; { imports = [ # base # Debugging # # Testing # # # # # # # # # # Krebs # applications # Virtualization { networking.firewall.allowedTCPPorts = [ 8080 ]; networking.nat = { enable = true; externalInterface = "wlp3s0"; internalInterfaces = [ "vboxnet0" ]; }; } # Services # # Hardware # # Filesystem # Security { programs.adb.enable = true; } ]; makefu.server.primary-itf = "wlp3s0"; makefu.full-populate = true; makefu.umts.apn = "web.vodafone.de"; nixpkgs.config.allowUnfree = true; environment.systemPackages = [ pkgs.passwdqc-utils ]; # configure pulseAudio to provide a HDMI sink as well networking.firewall.enable = true; networking.firewall.allowedTCPPorts = [ 80 24800 26061 8000 3000 ]; networking.firewall.allowedUDPPorts = [ 665 26061 ]; networking.firewall.trustedInterfaces = [ "vboxnet0" ]; krebs.build.host = config.krebs.hosts.x; krebs.tinc.retiolum.connectTo = [ "omo" "gum" "prism" ]; networking.extraHosts = '' 192.168.1.11 omo.local ''; # hard dependency because otherwise the device will not be unlocked boot.initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda2"; allowDiscards=true; }]; }