Hello!

I’m getting back into NixOS again and i want to refactor my config heavily. Does anyone have any tips, advice or criticism on it? TIA.

https://codeberg.org/fxomt/nixos

    • fxomt@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      8 days ago

      Thanks :)

      From your config:

          # proton GE needs to be installed imperatively using protonup
      
          environment.sessionVariables = {
            STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${config.globalConfig.user}/.steam/root/compatibilitytools.d";
          };
      

      This is not the case anymore, there’s now a proton-ge package. Mine is:

        programs.steam = {
          inherit (cfg) enable;
      
          extraCompatPackages = with pkgs; [proton-ge-bin];
      
          remotePlay.openFirewall = true;
          dedicatedServer.openFirewall = true;
        };
      
      

      I’ll take a deeper look into your config later, it seems quite nice, i could learn something from it.