22 lines
407 B
Nix
22 lines
407 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"."/var/lib/containers" = { };
|
|
|
|
systemPackages = with pkgs; [ podman-compose ];
|
|
};
|
|
}
|