diff --git a/homes/aly/default.nix b/homes/aly/default.nix index 0209164c..73471165 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -11,6 +11,7 @@ in { imports = [ ./firefox ./mail + ./secrets.nix ./windowManagers self.homeManagerModules.default self.inputs.agenix.homeManagerModules.default diff --git a/homes/aly/mail/default.nix b/homes/aly/mail/default.nix index 197c9951..4058b4cb 100644 --- a/homes/aly/mail/default.nix +++ b/homes/aly/mail/default.nix @@ -6,11 +6,6 @@ }: let mkPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}"; in { - age.secrets = { - achacegaGmail.file = ../../../secrets/mail/achacega_gmail.age; - alyraffaufFastmail.file = ../../../secrets/mail/alyraffauf_fastmail.age; - }; - accounts.email.accounts = { "alyraffauf@fastmail.com" = { address = "alyraffauf@fastmail.com"; diff --git a/homes/aly/secrets.nix b/homes/aly/secrets.nix new file mode 100644 index 00000000..fcb8a41c --- /dev/null +++ b/homes/aly/secrets.nix @@ -0,0 +1,6 @@ +{ + age.secrets = { + achacegaGmail.file = ../../secrets/mail/achacega_gmail.age; + alyraffaufFastmail.file = ../../secrets/mail/alyraffauf_fastmail.age; + }; +}