summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kaiser2025-02-16 14:12:21 +0100
committerDominik Kaiser2025-02-16 14:12:21 +0100
commit51f755c57e828b403059e79551ef3552bd8b2108 (patch)
tree18856fcb75d7f7479cb34ef8f8e7847e1740ee15
parent0fe0fdd09495f96becdf701364090b83c7b97062 (diff)
downloadnixos-51f755c57e828b403059e79551ef3552bd8b2108.tar.gz
nixos-51f755c57e828b403059e79551ef3552bd8b2108.zip
Swap docker for podman on antares
-rw-r--r--hosts/antares/configuration.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix
index f5e8769..8a0dbbb 100644
--- a/hosts/antares/configuration.nix
+++ b/hosts/antares/configuration.nix
@@ -27,13 +27,25 @@
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 = {