unfree
This commit is contained in:
parent
d4a6f228c0
commit
e1830645fd
|
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -28,7 +29,13 @@
|
||||||
deviceSection = ''Option "TearFree" "true"'';
|
deviceSection = ''Option "TearFree" "true"'';
|
||||||
};
|
};
|
||||||
hardware.nvidia.open = 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 = {
|
users.users.ahnwuoa = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel"];
|
extraGroups = ["wheel"];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue