diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2025-08-21 12:27:51 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2025-08-21 12:27:51 -0500 |
commit | 86fb7036cb4279abfc4ffc2bfa6b3a432c8700b5 (patch) | |
tree | bcde8a15f5cec938d3f4653863b0f6309bc65626 /modules/root/software/virtualization.nix | |
parent | 078e8ea33d29af21bad55313d75d716db8d5a617 (diff) | |
download | nixos-86fb7036cb4279abfc4ffc2bfa6b3a432c8700b5.tar.xz nixos-86fb7036cb4279abfc4ffc2bfa6b3a432c8700b5.zip |
refactor project to prioritize correctness. place custom nixos options into existing 'modules' and prefix them with '_'. use _archetypes module for software collections, system profiles, etc. personal configs moved to _archetypes.tjkeller. probably changed or fixed or broke a few other things in the process
Diffstat (limited to 'modules/root/software/virtualization.nix')
-rw-r--r-- | modules/root/software/virtualization.nix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/root/software/virtualization.nix b/modules/root/software/virtualization.nix deleted file mode 100644 index 36a51fc..0000000 --- a/modules/root/software/virtualization.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib, config, pkgs, ... }: { - options = { - virtualization.enable = lib.mkEnableOption "enables virtualization and virt-manager"; - }; - - config = lib.mkIf config.virtualization.enable { - virtualisation = { - spiceUSBRedirection.enable = true; - libvirtd.enable = true; - # Enable efi support with ovmf firmware - libvirtd.qemu = { - package = pkgs.qemu_kvm; - runAsRoot = true; - swtpm.enable = true; - ovmf.enable = true; - }; - }; - programs.virt-manager.enable = config.software.desktop.enable; - }; -} |