From 111a3f5deb70f1a42ce1bcdcdc6ed5ea3715bb2e Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 13 Jun 2024 22:42:01 +0200 Subject: [PATCH] feat: enable cudaSupport for nixpkgs --- config/services/firefly.nix | 3 +-- hosts/desktopnix/default.nix | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/services/firefly.nix b/config/services/firefly.nix index 53b656e..9544c12 100644 --- a/config/services/firefly.nix +++ b/config/services/firefly.nix @@ -1,7 +1,6 @@ { config, nodes, - lib, ... }: { i18n.supportedLocales = ["all"]; @@ -22,7 +21,7 @@ enableNginx = true; virtualHost = "money.${config.secrets.secrets.global.domains.web}"; 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"; TRUSTED_PROXIES = nodes.elisabeth.config.wireguard.elisabeth.ipv4; SITE_OWNER = "firefly-admin@${config.secrets.secrets.global.domains.mail_public}"; diff --git a/hosts/desktopnix/default.nix b/hosts/desktopnix/default.nix index b0331f7..8ec1a75 100644 --- a/hosts/desktopnix/default.nix +++ b/hosts/desktopnix/default.nix @@ -61,4 +61,6 @@ # Do not cleanup nix store to prevent having to rebuild packages onca a month nix.gc.automatic = lib.mkForce false; nixpkgs.hostPlatform = "x86_64-linux"; + + nixpkgs.config.cudaSupport = true; }