• Clay_pidgin@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    30
    ·
    16 days 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
      19
      ·
      16 days ago

      You forgot

      nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
          "steam"
          "steam-original"
          "steam-unwrapped"
          "steam-run"
        ];
      
      • mech@feddit.orgOP
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        16 days ago

        and here I thought running Slackware was a waste of time…

        • coffee_tacos@mander.xyz
          link
          fedilink
          arrow-up
          2
          ·
          15 days 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;