2021-05-30 19:10:28 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
psCfg = config.pub-solar;
|
|
|
|
cfg = config.pub-solar.gaming;
|
|
|
|
in {
|
|
|
|
options.pub-solar.gaming = {
|
|
|
|
enable = mkEnableOption "Life in shooters";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.steam.enable = true;
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
steam = pkgs.steam.override {};
|
|
|
|
};
|
|
|
|
|
2023-01-28 21:27:52 +00:00
|
|
|
home-manager.users = pkgs.lib.setAttrByPath [psCfg.user.name] {
|
|
|
|
home.packages = with pkgs; [
|
2021-05-30 19:10:28 +00:00
|
|
|
playonlinux
|
|
|
|
godot
|
2021-11-18 19:12:24 +00:00
|
|
|
obs-studio
|
2021-12-11 20:08:20 +00:00
|
|
|
obs-studio-plugins.wlrobs
|
2021-05-30 19:10:28 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|