1
0
Fork 0

chore: update secrets

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-07-14 21:19:01 -05:00
parent 82b9cfae5e
commit 724594d19a
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 9 additions and 13 deletions

View File

@ -37,7 +37,12 @@
config,
pkgs,
...
}: {
}: let
userSecret = path: {
file = path;
owner = username;
};
in {
config = {
nixpkgs.overlays = [overlays];
home-manager = {
@ -49,18 +54,9 @@
};
};
age.secrets = {
ssh-config = {
file = ./secrets/shared/ssh-config.age;
owner = username;
};
ssh-config-work = {
file = ./secrets/shared/ssh-config-work.age;
owner = username;
};
spotify-pw = {
file = ./secrets/shared/spotify-pw.age;
owner = username;
};
ssh-config = userSecret ./secrets/shared/ssh-config.age;
ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age;
spotify-pw = userSecret ./secrets/shared/spotify-pw.age;
};
};
};