diff options
| author | seth <[email protected]> | 2024-02-02 14:40:21 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-02 14:40:21 -0500 |
| commit | 9758b8236dcaafb958e6ef4f634d201af0bea80b (patch) | |
| tree | 5c5e2ad317d6bef10a26487c5aa2e7887e18f68c /modules/nixos/features/virtualisation.nix | |
| parent | b405f4750738a0850cf220f7bade601a8c6355b5 (diff) | |
modules/nixos+darwin: make everything an actual module again
Diffstat (limited to 'modules/nixos/features/virtualisation.nix')
| -rw-r--r-- | modules/nixos/features/virtualisation.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/nixos/features/virtualisation.nix b/modules/nixos/features/virtualisation.nix deleted file mode 100644 index 3ecc9a5..0000000 --- a/modules/nixos/features/virtualisation.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - cfg = config.features.virtualisation; -in { - options.features.virtualisation = { - enable = lib.mkEnableOption "enable podman"; - }; - - 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"; - }; -} |
