25 lines
437 B
Nix
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
|
|
];
|
|
};
|
|
}
|