mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-23 17:55:50 +01:00
22 lines
532 B
Nix
22 lines
532 B
Nix
|
{ 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 {
|
||
|
nixpkgs.overlays = [
|
||
|
(import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay
|
||
|
];
|
||
|
programs.steam.enable = true;
|
||
|
home-manager.users.jade = { pkgs, ... }: {
|
||
|
home.packages = with pkgs; [
|
||
|
lutris
|
||
|
prismlauncher
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|