From 8466ffcfb7417ba685825158bc922255db752c46 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 18 Aug 2025 20:20:08 +0100 Subject: [PATCH] Add podman --- modules/podman.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/podman.nix diff --git a/modules/podman.nix b/modules/podman.nix new file mode 100644 index 00000000..afd3c670 --- /dev/null +++ b/modules/podman.nix @@ -0,0 +1,16 @@ +{ config, ... }: + +{ + flake.modules.nixos.pc = { + virtualisation = { + oci-containers.backend = "podman"; + + podman = { + enable = true; + dockerCompat = true; + }; + }; + + users.users.${config.flake.meta.owner.username}.extraGroups = [ "podman" ]; + }; +}