this post was submitted on 14 Dec 2024
4 points (100.0% liked)

nixos

1289 readers
2 users here now

All about NixOS - https://nixos.org/

founded 4 years ago
 

I have tried to allow unfree packages to install steam and discord but nothing worked here are some of the things I have tried; 1. { allowUnfree = true; allowUnfreePredicate = pkg: true; }

{ nixpkgs.config.allowUnfree = true; }

( config, pkgs, allow unfree=true)

Every time I tried to rebuild something would go wrong so I tried temporary stuff like NIXPKGS_ALLOW_UNFREE=1 nix-shell And --impure But nothing worked

What should I do???

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Packet@hexbear.net 0 points 6 days ago (1 children)

Fuck it, reinstall the whole system lmfao. But seriously, send the error code. If it goes wrong on all of them then yoybare probably messing with something else. Have you enabled flakes?