Do not allow unfree (except steam)

This commit is contained in:
Pedro Rey Anca 2025-07-24 19:05:09 +02:00
parent c8f469b6d5
commit 88abf3ed4d
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
5 changed files with 12 additions and 11 deletions

View file

@ -37,7 +37,6 @@
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
config.allowUnfree = true;
}; };
lib = nixpkgs.lib; lib = nixpkgs.lib;
in { in {

View file

@ -1,5 +1,15 @@
{username, ...}: { {
username,
lib,
...
}: {
nix.settings = { nix.settings = {
trusted-users = ["${username}"]; trusted-users = ["${username}"];
}; };
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-unwrapped"
];
} }

View file

@ -24,17 +24,12 @@
vitetris vitetris
nethack nethack
## Celeste
celeste-classic
celeste-classic-pm
## Doom ## Doom
# gzdoom # gzdoom
crispy-doom crispy-doom
## Emulation ## Emulation
sameboy sameboy
snes9x
cemu cemu
dolphin-emu dolphin-emu
ryujinx ryujinx

View file

@ -5,7 +5,6 @@
fceumm fceumm
gambatte gambatte
mgba mgba
snes9x
])) ]))
]; ];
} }

View file

@ -14,8 +14,6 @@
# python # python
ms-python.python ms-python.python
ms-python.black-formatter ms-python.black-formatter
# C/C++
ms-vscode.cpptools
# OCaml # OCaml
ocamllabs.ocaml-platform ocamllabs.ocaml-platform
# CMake # CMake