diff options
author | Adrian Kummerlaender | 2023-05-19 09:07:05 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2023-05-19 09:07:16 +0200 |
commit | a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab (patch) | |
tree | 7bf623b3f48bc44f2c9bf1d94ac785a0e4b7321c | |
parent | 857ea839348f584f9c9b1e8129285c311795a82f (diff) | |
download | nixos_system-a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab.tar nixos_system-a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab.tar.gz nixos_system-a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab.tar.bz2 nixos_system-a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab.tar.lz nixos_system-a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab.tar.xz nixos_system-a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab.tar.zst nixos_system-a48d3aa451fa53a0e3e4ce32d7137f452a7f54ab.zip |
Enable libvirtd on athena
-rw-r--r-- | host/athena.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/host/athena.nix b/host/athena.nix index 9b28e5c..6a7d266 100644 --- a/host/athena.nix +++ b/host/athena.nix @@ -88,6 +88,7 @@ environment.systemPackages = [ pkgs.zenith-nvidia + pkgs.virt-manager (pkgs.writeScriptBin "nvidia-offload" '' export __NV_PRIME_RENDER_OFFLOAD=1 export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 @@ -97,9 +98,12 @@ '') ]; - virtualisation.docker = { - enable = true; - enableNvidia = true; + virtualisation = { + libvirtd.enable = true; + docker = { + enable = true; + enableNvidia = true; + }; }; users.users.common.extraGroups = [ "docker" ]; |