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" ]; + }; +}