# # # { 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; } # temporary # # # # # { networking.wireguard.interfaces.wg0 = { ips = [ "10.244.0.2/24" ]; privateKeyFile = (toString ) + "/wireguard.key"; allowedIPsAsRoutes = true; peers = [ { # gum endpoint = "${config.krebs.hosts.gum.nets.internet.ip4.addr}:51820"; allowedIPs = [ "10.244.0.0/24" ]; publicKey = "yAKvxTvcEVdn+MeKsmptZkR3XSEue+wSyLxwcjBYxxo="; } #{ # # vbob # allowedIPs = [ "10.244.0.3/32" ]; # publicKey = "Lju7EsCu1OWXhkhdNR7c/uiN60nr0TUPHQ+s8ULPQTw="; #} ]; }; } { # auto-mounting services.udisks2.enable = true; services.devmon.enable = true; # services.gnome3.gvfs.enable = true; users.users.makefu.packages = with pkgs;[ gvfs pcmanfm lxmenu-data ]; environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ]; } ]; makefu.server.primary-itf = "wlp3s0"; makefu.full-populate = true; nixpkgs.config.allowUnfree = true; # 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; }]; nix.package = pkgs.nixUnstable; environment.systemPackages = [ pkgs.passwdqc-utils pkgs.nixUnstable ]; nixpkgs.overlays = [ (import ) ]; # environment.variables = { GOROOT = [ "${pkgs.go.out}/share/go" ]; }; }