diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/sol/configuration.nix | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/hosts/sol/configuration.nix b/hosts/sol/configuration.nix index 6ea7174..437b32b 100644 --- a/hosts/sol/configuration.nix +++ b/hosts/sol/configuration.nix @@ -21,7 +21,8 @@ # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - + networking.nameservers = ["8.8.8.8" "8.8.4.4"]; + # Enable networking networking.networkmanager.enable = true; @@ -46,7 +47,7 @@ alsa.support32Bit = true; pulse.enable = true; # If you want to use JACK applications, uncomment this - #jack.enable = true; + jack.enable = true; # use the example session manager (no others are packaged yet so this is enabled by default, # no need to redefine it in your config for now) @@ -62,7 +63,8 @@ description = "Dominik Kaiser"; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ - # thunderbird + # thunderbird + podman-compose ]; }; @@ -97,6 +99,24 @@ inputs.home-manager.packages.${pkgs.system}.default ]; +virtualisation.containers.enable = true; + virtualisation.podman = { + enable = true; + dockerCompat = true; + autoPrune = { + enable = true; + dates = "weekly"; + flags = [ + "--filter=until=24h" + "--filter=label!=important" + ]; + }; + defaultNetwork.settings.dns_enabled = true; + }; + + networking.firewall.allowedTCPPorts = [ 53 ]; + networking.firewall.allowedUDPPorts = [ 53 ]; + # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; |
