mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 20:50:15 +00:00
refactor colors and options
preparing for light mode, even though specializations aren't working
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
{ config, ... }: {
|
||||
|
||||
imports = [ ./leagueoflegends.nix ./lutris.nix ./steam.nix ./legendary.nix ];
|
||||
|
||||
config = {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
|
@ -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)
|
||||
|
@ -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; [
|
||||
|
Reference in New Issue
Block a user