diff options
| author | Seth Flynn <[email protected]> | 2025-02-13 16:54:19 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-13 22:09:11 -0500 |
| commit | 386ecf3d14ea486aba523b14200fcd2e7e04b9d6 (patch) | |
| tree | c9009fe26ece76f0c9d76ba89895094ee500b054 /modules/nixos/traits/containers.nix | |
| parent | fdd2dd359c1d72b9ebeb676efb4141b5536f160c (diff) | |
nixos: make more "traits" mixins
Diffstat (limited to 'modules/nixos/traits/containers.nix')
| -rw-r--r-- | modules/nixos/traits/containers.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/nixos/traits/containers.nix b/modules/nixos/traits/containers.nix deleted file mode 100644 index b684803..0000000 --- a/modules/nixos/traits/containers.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - cfg = config.traits.containers; -in -{ - options.traits.containers = { - enable = lib.mkEnableOption "support for containers"; - }; - - config = lib.mkIf cfg.enable { - virtualisation = { - podman = { - enable = true; - extraPackages = [ pkgs.podman-compose ]; - autoPrune.enable = true; - }; - - oci-containers.backend = "podman"; - }; - }; -} |
