nixos-config/modules/desktop/wine.nix

22 lines
330 B
Nix
Raw Normal View History

2020-12-29 14:32:59 +00:00
{ config, options, lib, pkgs, ... }:
with lib;
let cfg = config.modules.desktop.wine;
in {
options.modules.desktop.wine = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.enable {
my.packages = with pkgs; [
#airwave
wine
winetricks
];
};
}