NixOS configuration 馃獎
1# Packages that are to small to put into a config, but still important!
2{
3 lib,
4 config,
5 self,
6 ...
7}:
8let
9 inherit (lib) mkIf mkMerge;
10
11 inherit (self.lib.validation) anyHomeModuleActive;
12 prof = config.sylveon.profiles;
13in
14{
15 programs = mkMerge [
16 (mkIf (prof.graphical.enable) {
17 dconf.enable = true;
18 })
19
20 (mkIf (prof.gaming.enable) {
21 # Setup configuration thingies for steam
22
23 # needs to be enabled or the config is not loaded
24 # this has to be enabled globaly, so steam will be on every account :(
25 steam = {
26 enable = true;
27 extest.enable = true;
28 protontricks.enable = true;
29
30 dedicatedServer.openFirewall = true;
31 localNetworkGameTransfers.openFirewall = true;
32 remotePlay.openFirewall = true;
33 };
34 })
35
36 {
37 # TODO: should this just stand here?
38 zsh.enable = true;
39 }
40 ];
41}