mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 18:19:11 +00:00
22 lines
330 B
Nix
22 lines
330 B
Nix
![]() |
{ 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
|
||
|
];
|
||
|
};
|
||
|
}
|