diff options
| author | Fuwn <[email protected]> | 2024-09-04 19:57:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-04 19:57:20 -0700 |
| commit | 8b5e5079e5fd00eadf2e3926c104e4ecf99a5779 (patch) | |
| tree | d35acd86220ae3ffa521677d55acb37e9436ba64 /modules/virtualisation.nix | |
| parent | styles (diff) | |
| download | nixos-config-8b5e5079e5fd00eadf2e3926c104e4ecf99a5779.tar.xz nixos-config-8b5e5079e5fd00eadf2e3926c104e4ecf99a5779.zip | |
refac
Diffstat (limited to 'modules/virtualisation.nix')
| -rw-r--r-- | modules/virtualisation.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/modules/virtualisation.nix b/modules/virtualisation.nix deleted file mode 100644 index 579a0e2..0000000 --- a/modules/virtualisation.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ pkgs, lib, ... }: -{ - virtualisation = { - docker = { - enable = true; - storageDriver = "btrfs"; - enableOnBoot = false; - liveRestore = true; - enableNvidia = lib.mkForce true; - extraOptions = "--iptables=False"; - - daemon.settings = { - default-runtime = "nvidia"; - # runtimes.nvidia.path = "${pkgs.nvidia-docker}/bin/nvidia-container-runtime"; - experimental = true; - }; - - autoPrune = { - enable = false; - dates = "daily"; - }; - - rootless = { - enable = false; - setSocketVariable = true; - - daemon.settings = { - default-runtime = "nvidia"; - runtimes.nvidia.path = "${pkgs.nvidia-docker}/bin/nvidia-container-runtime"; - experimental = true; - }; - }; - }; - - libvirtd.enable = true; - }; -} |