games yay
This commit is contained in:
parent
b73aec871f
commit
219d96458a
3 changed files with 12 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
withGnome = with lib; mkEnableOption "Enable Gnome";
|
||||
withVM = with lib; mkEnableOption "Enable VM related configuration";
|
||||
withDistrobox = with lib; mkEnableOption "Enable Distrobox";
|
||||
withGames = with lib; mkEnableOption "Enable games";
|
||||
};
|
||||
|
||||
imports = [
|
||||
|
@ -15,6 +16,7 @@
|
|||
./containers.nix
|
||||
./distrobox.nix
|
||||
./fonts.nix
|
||||
./games.nix
|
||||
./gnome
|
||||
./niri
|
||||
./virt.nix
|
||||
|
|
9
modules/system/games.nix
Normal file
9
modules/system/games.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ lib, config, pkgs, ... }: lib.mkIf (config.withGames) {
|
||||
environment.systemPackages = with pkgs; [
|
||||
prismlauncher
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue