From 22b2fd35bdee6bb1b7ad41530ae1fecb5a43b4da Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 24 Jul 2024 08:12:16 -0400 Subject: [PATCH] aly: reorg secrets --- homes/aly/default.nix | 9 --------- homes/aly/secrets.nix | 9 ++++++++- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/homes/aly/default.nix b/homes/aly/default.nix index 73471165..9a064081 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -19,15 +19,6 @@ in { self.inputs.nur.hmModules.nur ]; - age.secrets = { - backblazeKeyId.file = ../../secrets/backblaze/keyId.age; - backblazeKey.file = ../../secrets/backblaze/key.age; - transmissionRemote = { - file = ../../secrets/transmissionRemote.age; - path = "${config.home.homeDirectory}/.config/transmission-remote-gtk/config.json"; - }; - }; - home = { homeDirectory = "/home/aly"; diff --git a/homes/aly/secrets.nix b/homes/aly/secrets.nix index fcb8a41c..111e71ef 100644 --- a/homes/aly/secrets.nix +++ b/homes/aly/secrets.nix @@ -1,6 +1,13 @@ -{ +{config, ...}: { age.secrets = { achacegaGmail.file = ../../secrets/mail/achacega_gmail.age; alyraffaufFastmail.file = ../../secrets/mail/alyraffauf_fastmail.age; + backblazeKeyId.file = ../../secrets/backblaze/keyId.age; + backblazeKey.file = ../../secrets/backblaze/key.age; + + transmissionRemote = { + file = ../../secrets/transmissionRemote.age; + path = "${config.home.homeDirectory}/.config/transmission-remote-gtk/config.json"; + }; }; }