28 lines
482 B
Nix
28 lines
482 B
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
imports = [ inputs.quadlet-nix.nixosModules.quadlet ];
|
|
|
|
virtualisation = {
|
|
podman.enable = true;
|
|
|
|
containers = {
|
|
enable = true;
|
|
storage.settings.storage.driver = "btrfs";
|
|
};
|
|
|
|
quadlet = {
|
|
enable = true;
|
|
autoEscape = true;
|
|
};
|
|
};
|
|
|
|
environment = {
|
|
persistence."/persist/state"."/var/lib/containers".create = "directory";
|
|
|
|
systemPackages = with pkgs; [
|
|
podman-compose
|
|
kompose
|
|
];
|
|
};
|
|
}
|