fix: update sensitive secrets files to use mkOutOfStoreSymlink

This commit is contained in:
Ceferino Patino 2026-06-03 20:40:24 -05:00
commit 1f3c7052ae
Signed by: c4patino
SSH key fingerprint: SHA256:9fQ9TsujGrdNNi76mnsu63v7dS5JOmHRZEqBOl49OR8
3 changed files with 14 additions and 10 deletions

View file

@ -37,10 +37,14 @@ in {
];
file = let
crypt = "${inputs.self}/secrets/crypt/";
crypt = "${config.snowfallorg.user.home.directory}/dotfiles/secrets/crypt";
in {
".config/sops/age/keys.txt".source = "${crypt}/age/${host}/keys.txt";
".config/rustypaste/config.toml".source = "${crypt}/rustypaste/client.toml";
".config/sops/age/keys.txt".source =
"${crypt}/age/${host}/keys.txt"
|> config.lib.file.mkOutOfStoreSymlink;
".config/rustypaste/config.toml".source =
"${crypt}/rustypaste/client.toml"
|> config.lib.file.mkOutOfStoreSymlink;
};
activation.ensureUserDirs = {

View file

@ -1,6 +1,5 @@
{
config,
inputs,
lib,
namespace,
pkgs,
@ -22,9 +21,11 @@ in {
];
file = let
crypt = "${inputs.self}/secrets/crypt/";
crypt = "${config.snowfallorg.user.home.directory}/dotfiles/secrets/crypt";
in {
".config/harlequin/config.toml".source = "${crypt}/harlequin.toml";
".config/harlequin/config.toml".source =
"${crypt}/harlequin.toml"
|> config.lib.file.mkOutOfStoreSymlink;
};
};
};

View file

@ -1,6 +1,5 @@
{
config,
inputs,
lib,
namespace,
pkgs,
@ -19,9 +18,9 @@ in {
home = {
packages = with pkgs; [leetcode-cli];
file.".leetcode/leetcode.toml" = {
source = "${inputs.self}/secrets/crypt/leetcode.toml";
};
file.".leetcode/leetcode.toml".source =
"${config.snowfallorg.user.home.directory}/dotfiles/secrets/crypt/leetcode.toml"
|> config.lib.file.mkOutOfStoreSymlink;
};
};
}