fix: add default value for offload
This commit is contained in:
parent
898d56ebd6
commit
45563277d5
2 changed files with 4 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
system,
|
system,
|
||||||
hyprcursor-size,
|
hyprcursor-size,
|
||||||
xcursor-size,
|
xcursor-size,
|
||||||
nvidia-offload-enabled,
|
nvidia-offload-enabled ? false,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
terminal = "ghostty";
|
terminal = "ghostty";
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,14 @@
|
||||||
nix-version,
|
nix-version,
|
||||||
git-config,
|
git-config,
|
||||||
username,
|
username,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
hyprcursor-size = "32";
|
hyprcursor-size = "32";
|
||||||
xcursor-size = "24";
|
xcursor-size = "24";
|
||||||
|
nvidia-offload-enabled = config.hardware.nvidia.prime.offload.enable;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -39,6 +41,7 @@ in
|
||||||
hyprcursor-size
|
hyprcursor-size
|
||||||
git-config
|
git-config
|
||||||
username
|
username
|
||||||
|
nvidia-offload-enabled
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
users."${username}" = {
|
users."${username}" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue