Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

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

Shuffle around networking, add avahi, podman

+24 -16
+17
networking.nix
··· 18 18 # Configure network proxy if necessary 19 19 # networking.proxy.default = "http://user:password@proxy:port/"; 20 20 # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; 21 + # Open ports in the firewall. 22 + # networking.firewall.allowedTCPPorts = [ ... ]; 23 + # networking.firewall.allowedUDPPorts = [ ... ]; 24 + # Or disable the firewall altogether. 25 + # TODO: allow some ports 26 + networking.firewall.enable = true; 27 + 28 + services.avahi = { 29 + enable = true; 30 + nssmdns = true; 31 + openFirewall = true; 32 + publish = { 33 + enable = true; 34 + addresses = true; 35 + workstation = true; 36 + }; 37 + }; 21 38 22 39 }
+7 -16
services.nix
··· 16 16 # Enable the OpenSSH daemon. 17 17 services.openssh.enable = true; 18 18 19 - # Open ports in the firewall. 20 - # networking.firewall.allowedTCPPorts = [ ... ]; 21 - # networking.firewall.allowedUDPPorts = [ ... ]; 22 - # Or disable the firewall altogether. 23 - # TODO: allow some ports 24 - networking.firewall.enable = true; 19 + # This option is for enabling the bolt daemon for managing Thunderbolt/USB4 Devices. 20 + services.hardware.bolt.enable = true; 25 21 26 - services.avahi = { 27 - enable = true; 28 - publish = { 22 + # Containers and VMs 23 + virtualisation = { 24 + podman = { 29 25 enable = true; 30 - addresses = true; 31 - workstation = true; 26 + dockerCompat = true; 27 + defaultNetwork.settings.dns_enabled = true; 32 28 }; 33 29 }; 34 - 35 - # This option is for enabling the bolt daemon for managing Thunderbolt/USB4 Devices. 36 - services.hardware.bolt.enable = true; 37 - 38 - 39 30 }