grimm-nixos-laptop/common/tooling/wine.nix

34 lines
758 B
Nix
Raw Normal View History

2024-09-29 14:57:54 +02:00
{ 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
2024-10-16 11:28:00 +02:00
# (mono4.overrideAttrs { version="4.6.1"; sha256=""; })
2024-09-29 14:57:54 +02:00
];
};
}