chore: improve work setup

This commit is contained in:
Swarsel 2024-08-10 08:21:01 +02:00
parent 54d4090918
commit dfe2c3922d
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
10 changed files with 161 additions and 8 deletions

View file

@ -8,7 +8,7 @@ in
{
sops = {
age.sshKeyPaths = [ "${config.users.users.swarsel.home}/.ssh/sops" ];
age.sshKeyPaths = mkIfElse config.swarselsystems.isBtrfs [ "/persist/.ssh/sops" ] [ "${config.users.users.swarsel.home}/.ssh/sops" ];
defaultSopsFile = mkIfElse config.swarselsystems.isBtrfs "/persist/.dotfiles/secrets/general/secrets.yaml" "${config.users.users.swarsel.home}/.dotfiles/secrets/general/secrets.yaml";
validateSopsFiles = false;