From a664edfc9c087fcb4bc1ae61c588d31334fce9fe Mon Sep 17 00:00:00 2001 From: Mohamed Chrayed Date: Wed, 4 Mar 2026 14:45:21 +0100 Subject: [PATCH] sops debugging --- modules/base/usr/ssh-all.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/base/usr/ssh-all.nix b/modules/base/usr/ssh-all.nix index 8f53296..d051acb 100644 --- a/modules/base/usr/ssh-all.nix +++ b/modules/base/usr/ssh-all.nix @@ -1,10 +1,10 @@ -{ ... }: { - flake.homeModules.base-usr-ssh-all = { ... }: { +{ config, ... }: { + flake.homeModules.base-usr-ssh-all = { config, ... }: { sops.secrets."users/mo/intern/public" = { - path = "/home/mo/.ssh/intern.pub"; + path = "${config.home.homeDirectory}/.ssh/intern.pub"; }; sops.secrets."users/mo/extern/private" = { - path = "/home/mo/.ssh/extern"; + path = "${config.home.homeDirectory}/.ssh/extern"; }; }; }