From 0d9857c0efd9e457f0510e26d91aec9539c71466 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 30 Sep 2024 18:16:45 -0700 Subject: flake: use self instead of relative path --- modules/core/sops.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/core/sops.nix') diff --git a/modules/core/sops.nix b/modules/core/sops.nix index c1c9d13..fbf1b6f 100644 --- a/modules/core/sops.nix +++ b/modules/core/sops.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, self, ... }: { environment.systemPackages = [ pkgs.sops @@ -6,7 +6,7 @@ sops = { gnupg.sshKeyPaths = [ ]; - secrets.tailscale_authentication_key.sopsFile = ../../secrets/hosts.yaml; + secrets.tailscale_authentication_key.sopsFile = "${self}/secrets/hosts.yaml"; age = { sshKeyPaths = [ ]; -- cgit v1.2.3