feat: enable cudaSupport for nixpkgs
This commit is contained in:
parent
a3bf9a905f
commit
111a3f5deb
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
nodes,
|
nodes,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
i18n.supportedLocales = ["all"];
|
i18n.supportedLocales = ["all"];
|
||||||
|
@ -22,7 +21,7 @@
|
||||||
enableNginx = true;
|
enableNginx = true;
|
||||||
virtualHost = "money.${config.secrets.secrets.global.domains.web}";
|
virtualHost = "money.${config.secrets.secrets.global.domains.web}";
|
||||||
settings = {
|
settings = {
|
||||||
APP_URL = lib.mkForce "https://money.${config.secrets.secrets.global.domains.web}";
|
APP_URL = "https://money.${config.secrets.secrets.global.domains.web}";
|
||||||
TZ = "Europe/Berlin";
|
TZ = "Europe/Berlin";
|
||||||
TRUSTED_PROXIES = nodes.elisabeth.config.wireguard.elisabeth.ipv4;
|
TRUSTED_PROXIES = nodes.elisabeth.config.wireguard.elisabeth.ipv4;
|
||||||
SITE_OWNER = "firefly-admin@${config.secrets.secrets.global.domains.mail_public}";
|
SITE_OWNER = "firefly-admin@${config.secrets.secrets.global.domains.mail_public}";
|
||||||
|
|
|
@ -61,4 +61,6 @@
|
||||||
# Do not cleanup nix store to prevent having to rebuild packages onca a month
|
# Do not cleanup nix store to prevent having to rebuild packages onca a month
|
||||||
nix.gc.automatic = lib.mkForce false;
|
nix.gc.automatic = lib.mkForce false;
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
|
||||||
|
nixpkgs.config.cudaSupport = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue