Personal-use NixOS configuration

Create Lutris configurations

+36
+17
config/desktop/lutris.nix
··· 1 + { config, flakeLib, ... }: 2 + 3 + let 4 + nofile = "524288"; 5 + in 6 + { 7 + systemd.settings.Manager = { 8 + DefaultLimitNOFILE = nofile; 9 + }; 10 + 11 + security.pam.loginLimits = flakeLib.forAllUsers (user: { 12 + domain = user.name; 13 + type = "hard"; 14 + item = "nofile"; 15 + value = nofile; 16 + }) config; 17 + }
+18
homes/shared/desktop/lutris.nix
··· 1 + { 2 + osConfig, 3 + pkgs, 4 + pkgs-flake, 5 + ... 6 + }: 7 + 8 + { 9 + programs.lutris = { 10 + enable = true; 11 + 12 + steamPackage = osConfig.programs.steam.package; 13 + }; 14 + 15 + home.packages = with pkgs; [ 16 + pkgs-flake.lutris-gamepad-ui 17 + ]; 18 + }
+1
hosts/prospect/users/config/games.nix
··· 2 2 3 3 { 4 4 imports = [ 5 + (flakeRoot + /config/desktop/lutris.nix) 5 6 (flakeRoot + /config/desktop/steam.nix) 6 7 (flakeRoot + /config/desktop/dolphin.nix) 7 8 ];