From 6ae1da08e1e1ecc4543a7045d5961781dd998fd1 Mon Sep 17 00:00:00 2001 From: Anish L Date: Tue, 14 Jun 2022 16:16:09 +1000 Subject: [PATCH] deploy anywhere, by passing self to secrets profile for home-manager age passwords --- profiles/secrets/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profiles/secrets/default.nix b/profiles/secrets/default.nix index acc2f41f..3fc78875 100644 --- a/profiles/secrets/default.nix +++ b/profiles/secrets/default.nix @@ -1,9 +1,9 @@ -{ pkgs, config, lib, ... }: +{ self, pkgs, config, lib, ... }: { # Secrets used by home-manager modules - age.secrets.fastmail.file = "/etc/nixos/secrets/fastmail.age"; + age.secrets.fastmail.file = "${self}/secrets/fastmail.age"; age.secrets.fastmail.owner = "anish"; - age.secrets.mossnet.file = "/etc/nixos/secrets/mossnet.age"; + age.secrets.mossnet.file = "${self}/secrets/mossnet.age"; age.secrets.mossnet.owner = "anish"; }