Do not allow unfree (except steam)
This commit is contained in:
parent
c8f469b6d5
commit
88abf3ed4d
|
@ -37,7 +37,6 @@
|
|||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
in {
|
||||
|
|
|
@ -1,5 +1,15 @@
|
|||
{username, ...}: {
|
||||
{
|
||||
username,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
nix.settings = {
|
||||
trusted-users = ["${username}"];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -24,17 +24,12 @@
|
|||
vitetris
|
||||
nethack
|
||||
|
||||
## Celeste
|
||||
celeste-classic
|
||||
celeste-classic-pm
|
||||
|
||||
## Doom
|
||||
# gzdoom
|
||||
crispy-doom
|
||||
|
||||
## Emulation
|
||||
sameboy
|
||||
snes9x
|
||||
cemu
|
||||
dolphin-emu
|
||||
ryujinx
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
fceumm
|
||||
gambatte
|
||||
mgba
|
||||
snes9x
|
||||
]))
|
||||
];
|
||||
}
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
# python
|
||||
ms-python.python
|
||||
ms-python.black-formatter
|
||||
# C/C++
|
||||
ms-vscode.cpptools
|
||||
# OCaml
|
||||
ocamllabs.ocaml-platform
|
||||
# CMake
|
||||
|
|
Loading…
Reference in a new issue