-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsteam.nix
42 lines (42 loc) · 887 Bytes
/
steam.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
pkgs,
lib,
config,
...
}:
{
programs.steam = {
enable = true;
package = pkgs.steam.override {
extraPkgs =
pkgs: with pkgs; [
# vampir überlebende braucht diese pkgs
libgdiplus
cups
];
};
};
hm.home.persistence = {
"/state".directories = [
# Folders for steam
".local/share/Steam"
".steam"
# Ken follets pillars of earth
".local/share//Daedalic Entertainment GmbH/"
# Nvidia shader cache
".cache/nvidia"
# Vulkan shader cache
".local/share/vulkan"
];
"/panzer/state".directories = lib.lists.optionals (config.disko.devices.zpool ? "panzer") [
".local/share/SteamPanzer"
];
};
programs.gamemode = {
enable = true;
settings = {
general.renice = 10;
};
};
users.users.patrick.extraGroups = [ "gamemode" ];
}