nix-configs/modules/desktop/gaming.nix

23 lines
412 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}: let
2023-02-13 11:54:21 +00:00
cfg = config.jade.desktop.gaming;
in
with lib; {
options.jade.desktop.gaming = {
enable = mkEnableOption "Enable gaming stuff";
2023-02-13 11:54:21 +00:00
};
config = mkIf cfg.enable {
programs.steam.enable = true;
home-manager.users.jade = {pkgs, ...}: {
home.packages = with pkgs; [
lutris
prismlauncher
];
};
};
}