modules!!!
This commit is contained in:
parent
eb1a4786f4
commit
6f1ebdcc9a
24 changed files with 877 additions and 574 deletions
21
modules/desktop/gaming.nix
Normal file
21
modules/desktop/gaming.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue