deploy anywhere, by passing self to secrets profile for home-manager age

passwords
This commit is contained in:
Anish L 2022-06-14 16:16:09 +10:00
parent 16387b9728
commit 6ae1da08e1

View file

@ -1,9 +1,9 @@
{ pkgs, config, lib, ... }: { self, pkgs, config, lib, ... }:
{ {
# Secrets used by home-manager modules # 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.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"; age.secrets.mossnet.owner = "anish";
} }