feat: enable cudaSupport for nixpkgs

This commit is contained in:
Patrick 2024-06-13 22:42:01 +02:00
parent a3bf9a905f
commit 111a3f5deb
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -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;
} }