feat(homeModules:gaming): add bottles and wine related pkgs

This commit is contained in:
ooks-io 2024-05-16 22:03:46 +12:00
parent b821ac5226
commit 94d786e1d0
5 changed files with 39 additions and 3 deletions

View file

@ -0,0 +1,17 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.homeModules.desktop.gaming.bottles;
in
{
options.homeModules.desktop.gaming.bottles.enable = mkEnableOption "Enable bottles home-manager modules";
config = mkIf cfg.enable {
home.packages = with pkgs; [
bottles
];
};
}

View file

@ -5,6 +5,7 @@
imports = [
./factorio
./lutris
./bottles
];
options.homeModules.desktop.gaming = {

View file

@ -9,6 +9,16 @@ in
options.homeModules.desktop.gaming.lutris.enable = mkEnableOption "Enable lutris home-manager module";
config = mkIf cfg.enable {
home.packages = [ pkgs.lutris ];
home.packages = with pkgs; [
(lutris.override {
extraPkgs = p: [
p.pixman
p.libjpeg
p.gnome.zenity
p.gamescope
];
})
winetricks
];
};
}