From 4b40e992d5ff6a1b84e93339f1280217a70dcbd5 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 5 May 2023 11:47:53 +0200 Subject: [PATCH] Add containerisation programs for nix --- configuration.nix | 11 +++++++++++ system-packages.nix | 1 + 2 files changed, 12 insertions(+) diff --git a/configuration.nix b/configuration.nix index bda146b..302a6db 100644 --- a/configuration.nix +++ b/configuration.nix @@ -156,6 +156,17 @@ in # Enable thumbnailer service services.tumbler.enable = true; + virtualisation = { + podman = { + enable = true; + # clean up regularly + autoPrune = { + enable = true; + dates = "weekly"; + }; + }; + }; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; diff --git a/system-packages.nix b/system-packages.nix index 7772888..24f7535 100644 --- a/system-packages.nix +++ b/system-packages.nix @@ -23,6 +23,7 @@ polkit_gnome # graphical authentication agent for polkit freetype # font rendering and configuration open-vm-tools # running on vmware + podman # containers ]; fonts.fonts = with pkgs; [