unfree
This commit is contained in:
parent
d4a6f228c0
commit
e1830645fd
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
|
|
@ -28,7 +29,13 @@
|
|||
deviceSection = ''Option "TearFree" "true"'';
|
||||
};
|
||||
hardware.nvidia.open = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
]
|
||||
|| pkgs._cuda.lib.allowUnfreeCudaPredicate pkg;
|
||||
|
||||
users.users.ahnwuoa = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel"];
|
||||
|
|
|
|||
Loading…
Reference in a new issue