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";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
in {

View file

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

View file

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

View file

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

View file

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