games yay
This commit is contained in:
parent
b73aec871f
commit
219d96458a
3 changed files with 12 additions and 0 deletions
|
@ -3,4 +3,5 @@
|
||||||
withGnome = true;
|
withGnome = true;
|
||||||
withVM = false;
|
withVM = false;
|
||||||
withDistrobox = false;
|
withDistrobox = false;
|
||||||
|
withGames = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
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