Files
nix/hosts/common/configs/system/podman/default.nix
2025-05-26 11:47:21 +01:00

25 lines
437 B
Nix

{ pkgs, inputs, ... }:
{
imports = [ inputs.quadlet-nix.nixosModules.quadlet ];
virtualisation = {
podman.enable = true;
containers = {
enable = true;
storage.settings.storage.driver = "btrfs";
};
oci-containers.backend = "podman";
};
environment = {
persistence."/persist/state"."/var/lib/containers" = { };
systemPackages = with pkgs; [
podman-compose
kompose
];
};
}