sops debugging

This commit is contained in:
2026-03-04 14:30:36 +01:00
parent 4c1b4a2504
commit c1457a7496

View File

@@ -1,7 +1,11 @@
{ ... }: { { ... }: {
flake.homeModules.base-usr-ssh-all = { config, ... }: { flake.homeModules.base-usr-ssh-all = { config, ... }: {
sops.secrets."users.mo.intern.public" = {}; sops.secrets."users.mo.intern.public" = {
sops.secrets."users.mo.extern.private" = {}; path = "/home/mo/.ssh/intern.pub";
};
sops.secrets."users.mo.extern.private" = {
path = "/home/mo/.ssh/extern";
};
home.file.".intern.pub".source = config.sops.secrets."users.mo.intern.public".path; home.file.".intern.pub".source = config.sops.secrets."users.mo.intern.public".path;
home.file.".extern".source = config.sops.secrets."users.mo.extern.private".path; home.file.".extern".source = config.sops.secrets."users.mo.extern.private".path;