games yay

This commit is contained in:
twoneis 2024-03-01 23:50:47 +01:00
parent b73aec871f
commit 219d96458a
3 changed files with 12 additions and 0 deletions

View file

@ -3,4 +3,5 @@
withGnome = true; withGnome = true;
withVM = false; withVM = false;
withDistrobox = false; withDistrobox = false;
withGames = true;
} }

View file

@ -8,6 +8,7 @@
withGnome = with lib; mkEnableOption "Enable Gnome"; withGnome = with lib; mkEnableOption "Enable Gnome";
withVM = with lib; mkEnableOption "Enable VM related configuration"; withVM = with lib; mkEnableOption "Enable VM related configuration";
withDistrobox = with lib; mkEnableOption "Enable Distrobox"; withDistrobox = with lib; mkEnableOption "Enable Distrobox";
withGames = with lib; mkEnableOption "Enable games";
}; };
imports = [ imports = [
@ -15,6 +16,7 @@
./containers.nix ./containers.nix
./distrobox.nix ./distrobox.nix
./fonts.nix ./fonts.nix
./games.nix
./gnome ./gnome
./niri ./niri
./virt.nix ./virt.nix

9
modules/system/games.nix Normal file
View file

@ -0,0 +1,9 @@
{ lib, config, pkgs, ... }: lib.mkIf (config.withGames) {
environment.systemPackages = with pkgs; [
prismlauncher
];
programs.steam = {
enable = true;
};
}