• Clay_pidgin@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    26
    ·
    15 hours ago

    Services.steam.enable = true;

    Works easily on Nixos. It’s true that I haven’t yet gotten a game to PLAY on Nixos other than Minecraft, but that’s beside the point.

    • coffee_tacos@mander.xyz
      link
      fedilink
      arrow-up
      16
      ·
      14 hours ago

      You forgot

      nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
          "steam"
          "steam-original"
          "steam-unwrapped"
          "steam-run"
        ];
      
        • coffee_tacos@mander.xyz
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          You can also use this lil guy, but by default you can’t install unfree software (not sure if that is different if you use flakes): nixpkgs.config.allowUnfree = true;