fix: update sensitive secrets files to use mkOutOfStoreSymlink
This commit is contained in:
parent
215618bf72
commit
1f3c7052ae
3 changed files with 14 additions and 10 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue