Remove useless comments
This commit is contained in:
parent
2ea6a4c515
commit
8870a5f44a
5 changed files with 1 additions and 13 deletions
|
@ -15,7 +15,6 @@ let
|
|||
# Use shared lib functions
|
||||
inherit (playLib) toCliArgs toEnvCommands getMonitorDefaults;
|
||||
|
||||
# Get monitor defaults
|
||||
monitorDefaults = getMonitorDefaults config.play.monitors;
|
||||
inherit (monitorDefaults)
|
||||
WIDTH
|
||||
|
@ -38,7 +37,6 @@ let
|
|||
gamescope-wsi = pkgs.gamescope-wsi or null;
|
||||
};
|
||||
|
||||
# Base options with monitor-derived defaults
|
||||
defaultBaseOptions =
|
||||
{
|
||||
backend = "sdl";
|
||||
|
@ -83,7 +81,6 @@ let
|
|||
# Merge user environment with defaults
|
||||
finalEnvironment = defaultEnvironment // cfg.environment;
|
||||
|
||||
# The gamescoperun script
|
||||
gamescoperun = pkgs.writeScriptBin "gamescoperun" ''
|
||||
#!${lib.getExe pkgs.fish}
|
||||
|
||||
|
@ -189,7 +186,6 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Install both gamescope and gamescope-wsi
|
||||
home.packages =
|
||||
[ cfg.package ]
|
||||
++ [ gamescopePackages.gamescope ]
|
||||
|
|
|
@ -14,7 +14,6 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Enable graphics with 32-bit support for gaming
|
||||
hardware.graphics = {
|
||||
enable = lib.mkDefault true;
|
||||
enable32Bit = lib.mkDefault true;
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
let
|
||||
cfg = config.play.ananicy;
|
||||
|
||||
# Default extra rules for gaming processes
|
||||
defaultExtraRules = [
|
||||
{
|
||||
"name" = "gamescope";
|
||||
|
@ -16,7 +15,6 @@ let
|
|||
}
|
||||
];
|
||||
|
||||
# Combine defaults with user extras
|
||||
finalExtraRules = defaultExtraRules ++ cfg.extraRules;
|
||||
in
|
||||
{
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
let
|
||||
cfg = config.play.lutris;
|
||||
|
||||
# Default extra packages
|
||||
defaultExtraPkgs = with pkgs; [
|
||||
wineWowPackages.waylandFull
|
||||
winetricks
|
||||
|
@ -16,7 +15,6 @@ let
|
|||
xterm
|
||||
];
|
||||
|
||||
# Create the configured lutris package
|
||||
configuredLutris = pkgs.lutris.override {
|
||||
extraPkgs = pkgs: defaultExtraPkgs ++ cfg.extraPkgs;
|
||||
};
|
||||
|
|
|
@ -10,19 +10,16 @@
|
|||
let
|
||||
cfg = config.play.steam;
|
||||
|
||||
# Import proton-cachyos package directly
|
||||
# Import proton-cachyos package directly, some users wont chaotics overlay
|
||||
proton-cachyos = pkgs.callPackage ../../pkgs/proton-cachyos { };
|
||||
|
||||
# Default compatibility packages
|
||||
defaultCompatPackages = [
|
||||
pkgs.proton-ge-custom
|
||||
proton-cachyos
|
||||
];
|
||||
|
||||
# Combine defaults with user extras
|
||||
finalCompatPackages = defaultCompatPackages ++ cfg.extraCompatPackages;
|
||||
|
||||
# Create the configured steam package
|
||||
configuredSteam = pkgs.steam.override {
|
||||
extraPkgs = cfg.extraPkgs;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue