Make podman a separate module

We're going to hide more in there.
This commit is contained in:
Eli Ribble 2025-07-17 19:57:07 +00:00
parent 3228b54092
commit 07d3b9d35e
3 changed files with 11 additions and 1 deletions

View file

@ -6,6 +6,7 @@
./fish.nix
./onlyoffice.nix
./openssh.nix
./podman.nix
./seafile.nix
./sudo.nix
./synapse.nix

View file

@ -0,0 +1,9 @@
{ config, configFiles, lib, pkgs, ... }:
with lib;
{
options.myModules.podman.enable = mkEnableOption "custom podman configuration";
config = mkIf config.myModules.podman.enable {
virtualisation.podman.enable = true;
};
}