tangled
alpha
login
or
join now
encode42.dev
/
nixos
0
fork
atom
Personal-use NixOS configuration
0
fork
atom
overview
issues
pulls
pipelines
Create Lutris configurations
encode42.dev
6 days ago
633cf80b
b85a30f9
+36
3 changed files
expand all
collapse all
unified
split
config
desktop
lutris.nix
homes
shared
desktop
lutris.nix
hosts
prospect
users
config
games.nix
+17
config/desktop/lutris.nix
···
1
1
+
{ config, flakeLib, ... }:
2
2
+
3
3
+
let
4
4
+
nofile = "524288";
5
5
+
in
6
6
+
{
7
7
+
systemd.settings.Manager = {
8
8
+
DefaultLimitNOFILE = nofile;
9
9
+
};
10
10
+
11
11
+
security.pam.loginLimits = flakeLib.forAllUsers (user: {
12
12
+
domain = user.name;
13
13
+
type = "hard";
14
14
+
item = "nofile";
15
15
+
value = nofile;
16
16
+
}) config;
17
17
+
}
+18
homes/shared/desktop/lutris.nix
···
1
1
+
{
2
2
+
osConfig,
3
3
+
pkgs,
4
4
+
pkgs-flake,
5
5
+
...
6
6
+
}:
7
7
+
8
8
+
{
9
9
+
programs.lutris = {
10
10
+
enable = true;
11
11
+
12
12
+
steamPackage = osConfig.programs.steam.package;
13
13
+
};
14
14
+
15
15
+
home.packages = with pkgs; [
16
16
+
pkgs-flake.lutris-gamepad-ui
17
17
+
];
18
18
+
}
+1
hosts/prospect/users/config/games.nix
···
2
2
3
3
{
4
4
imports = [
5
5
+
(flakeRoot + /config/desktop/lutris.nix)
5
6
(flakeRoot + /config/desktop/steam.nix)
6
7
(flakeRoot + /config/desktop/dolphin.nix)
7
8
];