This commit is contained in:
caandt 2026-01-05 01:54:19 -06:00
parent d4a6f228c0
commit e1830645fd

View file

@ -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"];