fix: add default value for offload

This commit is contained in:
DACHXY 2025-01-10 14:25:44 +08:00
parent 898d56ebd6
commit 45563277d5
2 changed files with 4 additions and 1 deletions

View file

@ -5,12 +5,14 @@
nix-version,
git-config,
username,
config,
...
}:
let
hyprcursor-size = "32";
xcursor-size = "24";
nvidia-offload-enabled = config.hardware.nvidia.prime.offload.enable;
in
{
imports = [
@ -39,6 +41,7 @@ in
hyprcursor-size
git-config
username
nvidia-offload-enabled
;
};
users."${username}" = {