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

37 lines
783 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;
2024-11-23 17:06:12 +01:00
2024-09-29 14:57:54 +02:00
programs.virt-manager.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
# dconf.settings = {
# "org/virt-manager/virt-manager/connections" = {
# autoconnect = ["qemu:///system"];
# uris = ["qemu:///system"];
# };
# };
2024-11-23 17:06:12 +01:00
2024-09-29 14:57:54 +02:00
environment.systemPackages = with pkgs; [
winetricks
wineWow64Packages.stagingFull
dotnetCorePackages.dotnet_9.sdk
2024-11-23 17:06:12 +01:00
# jetbrains.rider
2024-09-29 14:57:54 +02:00
mono4
2024-10-16 11:28:00 +02:00
# (mono4.overrideAttrs { version="4.6.1"; sha256=""; })
2024-11-23 17:06:12 +01:00
tesseract4
2024-09-29 14:57:54 +02:00
];
};
}