move home sops config to module

This commit is contained in:
ulic-youthlic 2025-01-12 20:19:42 +08:00
parent 991a8b4bbc
commit 4087865b8f
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 50 additions and 8 deletions

View file

@ -25,6 +25,7 @@
ghostty.enable = true;
foot.enable = false;
starship.enable = true;
sops.enable = true;
};
xdg.userDirs = {
@ -61,13 +62,11 @@
gawk
zstd
tree
nerd-fonts.victor-mono
ouch
dust
qq
telegram-desktop
ghostty
sops
scrcpy
ast-grep
lazygit
@ -123,10 +122,4 @@
format = "yaml";
sopsFile = rootPath + "/secrets/ssh-config.yaml";
};
sops.age = {
keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
generateKey = false;
};
sops.defaultSopsFile = rootPath + "/secrets/general.yaml";
}