diff --git a/home/modules/git.nix b/home/modules/git.nix index c14209e..5c70fb8 100644 --- a/home/modules/git.nix +++ b/home/modules/git.nix @@ -68,13 +68,5 @@ in }; }; }; - - sops.secrets = - let home = config.home.homeDirectory; - in lib.mkIf sops { - "private_keys/personal_git" = { - path = "${home}/.ssh/personal_git"; - }; - }; }; } diff --git a/home/modules/ssh.nix b/home/modules/ssh.nix index bc102f4..0d22ddd 100644 --- a/home/modules/ssh.nix +++ b/home/modules/ssh.nix @@ -46,6 +46,7 @@ in sops.secrets = ifSops { "private_keys/msiserver" = { }; "private_keys/caveserver" = { }; + "private_keys/personal_git" = { }; "ssh_hosts/caveserver".path = "${sshDir}/conf.d/caveserver_config"; };