Flatten modules

This commit is contained in:
Oliver Davies 2025-07-17 21:16:39 +01:00
parent ab5ae74dda
commit d1a58fec56
86 changed files with 64 additions and 50 deletions

25
modules/nixos/podman.nix Normal file
View file

@ -0,0 +1,25 @@
{ config, lib, ... }:
with lib;
let
cfg = config.features.cli.podman;
in
{
options.features.cli.podman.enable = mkEnableOption "Enable podman";
config = mkIf cfg.enable {
virtualisation = {
oci-containers.backend = "podman";
podman = {
enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
};
};
};
}