this post was submitted on 12 Apr 2025
27 points (100.0% liked)

Nix / NixOS

2122 readers
17 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 6 points 1 day ago (1 children)

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.

[โ€“] [email protected] 2 points 20 hours ago

ooo thanks! I haven't looked into that in a while