]> git.dkaiser.de - config/nixos.git/commitdiff
Swap docker for podman on antares
authorDominik Kaiser <dominik-kaiser@mailbox.org>
Sun, 16 Feb 2025 13:12:21 +0000 (14:12 +0100)
committerDominik Kaiser <dominik-kaiser@mailbox.org>
Sun, 16 Feb 2025 13:12:21 +0000 (14:12 +0100)
hosts/antares/configuration.nix

index f5e876932e1cc3f0887884b76d0d8769ace3ac90..8a0dbbb0e08d9527374d099afb7ef286773910d2 100644 (file)
   networking.hostName = "antares";
   time.timeZone = "Europe/Berlin";
 
-  virtualisation.docker = {
+  virtualisation.podman = {
     enable = true;
+    dockerCompat = true;
+    autoPrune = {
+      enable = true;
+      dates = "weekly";
+      flags = [
+        "--filter=until=24h"
+       "--filter=label!=important"
+      ];
+    };
+    defaultNetwork.settings.dns_enabled = true;
+
   };
 
   environment.systemPackages = map lib.lowPrio [
     pkgs.curl
     pkgs.gitMinimal
+    pkgs.podman-compose
   ];
 
   users.users.dk = {