nixos/modules/desktop/game/wine/default.nix

23 lines
431 B
Nix
Raw Normal View History

{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.game.wine;
in
{
2023-07-09 02:25:39 +04:00
options.modules.desktop.game.wine = {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2023-07-09 02:25:39 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2023-07-09 02:25:39 +04:00
users.users.sako.packages = with pkgs; [
winetricks
wineWowPackages.staging
2023-07-09 02:25:39 +04:00
];
nixpkgs.config = {
wine = {
release = "unstable";
build = "wineWow";
};
};
2023-07-09 02:25:39 +04:00
};
}