diff options
| author | seth <[email protected]> | 2024-02-07 18:03:24 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-07 18:27:45 -0500 |
| commit | cffffeb678e9a1078eeba0f19c9607cda9f31bed (patch) | |
| tree | 8b8f68aa357becad06845f15b7e528474041371c /modules/nixos/features/containers.nix | |
| parent | 48712d44fde91d2685089cca7f9d88295fd59817 (diff) | |
modules/nixos+darwin: move to traits + archetypes model
Diffstat (limited to 'modules/nixos/features/containers.nix')
| -rw-r--r-- | modules/nixos/features/containers.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/nixos/features/containers.nix b/modules/nixos/features/containers.nix deleted file mode 100644 index 290f7b0..0000000 --- a/modules/nixos/features/containers.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - cfg = config.features.containers; -in { - options.features.containers = { - enable = lib.mkEnableOption "containers support"; - }; - - config.virtualisation = lib.mkIf cfg.enable { - podman = { - enable = true; - enableNvidia = lib.mkDefault (builtins.elem "nvidia" (config.services.xserver.videoDrivers or [])); - extraPackages = with pkgs; [podman-compose]; - autoPrune.enable = true; - }; - - oci-containers.backend = "podman"; - }; -} |
