mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 13:12:10 -08:00
27 lines
411 B
Nix
27 lines
411 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.liminalOS.programs.wine;
|
|
in
|
|
{
|
|
options.liminalOS.programs.wine.enable = lib.mkEnableOption "wine";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = (
|
|
with pkgs;
|
|
[
|
|
winetricks
|
|
wine
|
|
]
|
|
);
|
|
nixpkgs.overlays = [
|
|
(self: super: {
|
|
wine = super.wineWowPackages.stable;
|
|
})
|
|
];
|
|
};
|
|
}
|