refactor colors and options

preparing for light mode, even though specializations aren't working
This commit is contained in:
Noah Masur
2022-11-02 21:29:14 -04:00
parent b2850e8b79
commit 41d289c5db
19 changed files with 513 additions and 492 deletions

View File

@ -1,7 +1,5 @@
{ config, ... }: {
imports = [ ./leagueoflegends.nix ./lutris.nix ./steam.nix ./legendary.nix ];
config = {
hardware.opengl = {
enable = true;

View File

@ -4,10 +4,9 @@ let home-packages = config.home-manager.users.${config.user}.home.packages;
in {
options.gaming.legendary =
lib.mkEnableOption "Legendary - Epic Games Launcher";
imports = [ ./. ];
config = lib.mkIf config.gaming.legendary {
config = {
environment.systemPackages = with pkgs; [
legendary-gl
rare # GUI for Legendary (not working)

View File

@ -1,8 +1,8 @@
{ config, pkgs, lib, ... }: {
options.gaming.steam = lib.mkEnableOption "Steam";
imports = [ ./. ];
config = lib.mkIf config.gaming.steam {
config = {
hardware.steam-hardware.enable = true;
unfreePackages = [ "steam" "steam-original" "steamcmd" "steam-run" ];
environment.systemPackages = with pkgs; [