diff options
| author | seth <[email protected]> | 2023-05-08 00:21:41 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-08 00:21:41 -0400 |
| commit | 9cedd06b8589a5d39a7a85e2efe646a8edebac53 (patch) | |
| tree | 8884a1238b0586396bc403098e23e78505ab514e /modules/nixos/virtualisation.nix | |
| parent | 589c80eb1bcaf76b4a1a7e6f9cdd725fdb04e063 (diff) | |
modules: merge base and nixos
Diffstat (limited to 'modules/nixos/virtualisation.nix')
| -rw-r--r-- | modules/nixos/virtualisation.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/nixos/virtualisation.nix b/modules/nixos/virtualisation.nix deleted file mode 100644 index 932cc6d..0000000 --- a/modules/nixos/virtualisation.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - cfg = config.getchoo.nixos.virtualisation; - inherit (lib) mkEnableOption mkIf; -in { - options.getchoo.nixos.virtualisation.enable = mkEnableOption "enable podman"; - - config = mkIf cfg.enable { - virtualisation = { - podman = { - enable = true; - enableNvidia = true; - extraPackages = with pkgs; [podman-compose]; - }; - oci-containers.backend = "podman"; - }; - }; -} |
