My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 34 lines 837 B view raw
1{ lib, pkgs, ... }: 2{ 3 networking = { 4 hostName = "marvin"; 5 hostId = "5711215d"; 6 enableIPv6 = true; 7 useDHCP = lib.mkDefault true; 8 interfaces = { 9 enp42s0.useDHCP = lib.mkDefault true; 10 wlp41s0.useDHCP = lib.mkDefault true; 11 }; 12 networkmanager = { 13 enable = true; 14 }; 15 16 # Enable NAT for containers 17 nat = { 18 enable = true; 19 internalInterfaces = [ "ve-+" ]; 20 externalInterface = "wlp41s0"; 21 # Lazy IPv6 connectivity for the container 22 enableIPv6 = true; 23 }; 24 }; 25 systemd.services.wpa_supplicant.environment.OPENSSL_CONF = pkgs.writeText "openssl.cnf" '' 26 openssl_conf = openssl_init 27 [openssl_init] 28 ssl_conf = ssl_sect 29 [ssl_sect] 30 system_default = system_default_sect 31 [system_default_sect] 32 Options = UnsafeLegacyRenegotiation 33 ''; 34}