1
0
mirror of https://github.com/tboerger/nixos-config synced 2026-03-14 19:55:50 +01:00
github.com-tboerger-nixos-c.../profiles/shared/programs/wine.nix
2026-02-26 14:26:50 +01:00

34 lines
390 B
Nix

{
pkgs,
lib,
config,
options,
...
}:
with lib;
let
cfg = config.profile.programs.wine;
in
{
options = {
profile = {
programs = {
wine = {
enable = mkEnableOption "Wine";
};
};
};
};
config = mkIf cfg.enable {
home = {
packages = with pkgs; [
winetricks
wineWowPackages.full
];
};
};
}