aly: move secrets to secrets.nix
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-07-22 20:01:02 -04:00
parent d0e5ae23a3
commit 9894536b34
3 changed files with 7 additions and 5 deletions

View file

@ -11,6 +11,7 @@ in {
imports = [ imports = [
./firefox ./firefox
./mail ./mail
./secrets.nix
./windowManagers ./windowManagers
self.homeManagerModules.default self.homeManagerModules.default
self.inputs.agenix.homeManagerModules.default self.inputs.agenix.homeManagerModules.default

View file

@ -6,11 +6,6 @@
}: let }: let
mkPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}"; mkPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}";
in { in {
age.secrets = {
achacegaGmail.file = ../../../secrets/mail/achacega_gmail.age;
alyraffaufFastmail.file = ../../../secrets/mail/alyraffauf_fastmail.age;
};
accounts.email.accounts = { accounts.email.accounts = {
"alyraffauf@fastmail.com" = { "alyraffauf@fastmail.com" = {
address = "alyraffauf@fastmail.com"; address = "alyraffauf@fastmail.com";

6
homes/aly/secrets.nix Normal file
View file

@ -0,0 +1,6 @@
{
age.secrets = {
achacegaGmail.file = ../../secrets/mail/achacega_gmail.age;
alyraffaufFastmail.file = ../../secrets/mail/alyraffauf_fastmail.age;
};
}