Do not allow unfree (except steam)
This commit is contained in:
parent
c8f469b6d5
commit
88abf3ed4d
5 changed files with 12 additions and 11 deletions
|
@ -1,5 +1,15 @@
|
|||
{username, ...}: {
|
||||
{
|
||||
username,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
nix.settings = {
|
||||
trusted-users = ["${username}"];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue