feat: create wine role

This commit is contained in:
Ahwx 2025-03-30 13:32:20 +02:00
parent 1dd0bc2f75
commit 76406ed0cf
2 changed files with 20 additions and 0 deletions

19
roles/wine.nix Normal file
View file

@ -0,0 +1,19 @@
{ lib, pkgs, config, username, home-manager, ... }:
with lib;
let
cfg = config.liv.wine;
in {
options.liv.wine = {
enable = mkEnableOption "Enable wine";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wineWowPackages.stable
wineWowPackages.waylandFull
winetricks
mono5
mono
];
};
}