nix-configs/modules/desktop/gaming.nix

22 lines
535 B
Nix
Raw Normal View History

2023-02-13 11:54:21 +00:00
{ config, lib, pkgs, ... }:
let
cfg = config.jade.desktop.gaming;
in with lib; {
options.jade.desktop.gaming = {
enable = mkEnableOption "Enable gaming stuff";
};
config = mkIf cfg.enable {
2023-03-20 22:40:08 +00:00
#nixpkgs.overlays = [
#(import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay
#];
2023-02-13 11:54:21 +00:00
programs.steam.enable = true;
home-manager.users.jade = { pkgs, ... }: {
home.packages = with pkgs; [
lutris
prismlauncher
];
};
};
}