34 lines
757 B
Nix
34 lines
757 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
let
|
||
|
inherit (config.grimmShared) enable tooling;
|
||
|
inherit (lib)
|
||
|
mkOption
|
||
|
types
|
||
|
getExe
|
||
|
mkIf
|
||
|
;
|
||
|
in
|
||
|
{
|
||
|
config = mkIf (enable && tooling.enable) {
|
||
|
virtualisation.libvirtd.enable = true;
|
||
|
programs.virt-manager.enable = true;
|
||
|
virtualisation.spiceUSBRedirection.enable = true;
|
||
|
|
||
|
# dconf.settings = {
|
||
|
# "org/virt-manager/virt-manager/connections" = {
|
||
|
# autoconnect = ["qemu:///system"];
|
||
|
# uris = ["qemu:///system"];
|
||
|
# };
|
||
|
# };
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
winetricks
|
||
|
wineWow64Packages.stagingFull
|
||
|
dotnetCorePackages.dotnet_9.sdk
|
||
|
jetbrains.rider
|
||
|
mono4
|
||
|
(mono4.overrideAttrs { version="4.6.1"; sha256=""; })
|
||
|
];
|
||
|
};
|
||
|
}
|