From 9b3cc59d74b2f069c0803dfce291547c376a307f Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Sat, 24 Aug 2024 01:34:42 -0600 Subject: [PATCH] fix bug in internal relative paths --- sys/default.nix | 2 +- sys/srv/jitsi.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/default.nix b/sys/default.nix index ff416ed..6772114 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -57,7 +57,7 @@ with lib; group = "fabian"; shell = pkgs.zsh; extraGroups = [ "users" "wheel" "networkmanager" "dialout" "libvirtd" ]; - openssh.authorizedKeys.keyFiles = [ "${flakes.self}/pki/fabian.pub" ]; + openssh.authorizedKeys.keyFiles = [ ../pki/fabian.pub ]; }; groups.fabian.gid = 1000; }; diff --git a/sys/srv/jitsi.nix b/sys/srv/jitsi.nix index 8a1b5ac..a5b1483 100644 --- a/sys/srv/jitsi.nix +++ b/sys/srv/jitsi.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, flakes, ... }: +{ lib, pkgs, ... }: with lib; { @@ -14,7 +14,7 @@ with lib; ssl_verify_depth 1; ssl_verify_client on; - ssl_client_certificate ${flakes.self}/pki/gatekeeper_ca.pem; + ssl_client_certificate ${../../pki/gatekeeper_ca.pem}; if ($ssl_client_verify != "SUCCESS") { return 403; }