summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorDominik Kaiser2025-06-25 18:05:49 +0200
committerDominik Kaiser2025-06-25 18:05:49 +0200
commit628203056295c066122e999cb4ec18a5c728dafa (patch)
treef992fd3d888bfe497df1552f9b3dd0e8a49e9447 /hosts
parent9aa1505d4ad59b7f19ec7c852dd11bf98ea2f94a (diff)
downloadnixos-628203056295c066122e999cb4ec18a5c728dafa.tar.gz
nixos-628203056295c066122e999cb4ec18a5c728dafa.zip
Update sol
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sol/configuration.nix26
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;