Make podman enablement a personal module

Podman needs some configuration, so I'm splitting it out to its own
module
This commit is contained in:
Greg Hellings
2025-05-14 21:22:13 -05:00
parent decb2f50a4
commit b7d66709ca
6 changed files with 84 additions and 70 deletions
+1
View File
@@ -17,6 +17,7 @@
./kde.nix
./kiwix-serve.nix
./linode.nix
./podman.nix
./print.nix
./proxy.nix
./remote-builder.nix
+21
View File
@@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.greg.podman;
in
{
options.greg.podman.enable = lib.mkEnableOption "Enable podman in NixOS with my updates";
config.virtualisation.podman = lib.mkIf cfg.enable {
enable = true;
dockerCompat = true;
extraPackages = [
pkgs.podman-compose
];
};
}