chore: fetch face from remote source

This commit is contained in:
danny 2026-03-06 17:52:33 +08:00
parent 98b4f598f8
commit b9b9bbc998
3 changed files with 21 additions and 4 deletions

View file

@ -1,10 +1,22 @@
{ config, ... }:
{
self,
config,
pkgs,
...
}:
let
inherit (config.systemConf) username;
serverCfg = self.nixosConfigurations.dn-server.config;
serverNextcloudCfg = serverCfg.services.nextcloud;
nextcloudURL =
(if serverNextcloudCfg.https then "https" else "http") + "://" + serverNextcloudCfg.hostName;
in
{
systemConf = {
face = ../../../../home/config/.face;
face = pkgs.fetchurl {
url = "${nextcloudURL}/s/NDHdYnwrLqt5Syk/preview";
hash = "sha256-mrTL+Q9rfp/RSMN19ymv0tV4hcT+wkp3C1dLITvZuR8=";
};
domain = "dnywe.com";
};