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

17 lines
322 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.game.wine;
in
{
options.modules.desktop.game.wine = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
winetricks
wineWowPackages.staging
];
};
}