mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
feat: isPublic flag
This commit is contained in:
parent
f6226b2605
commit
871cbeb671
9 changed files with 36 additions and 38 deletions
|
|
@ -6,7 +6,7 @@ let
|
|||
];
|
||||
in
|
||||
{
|
||||
sops = {
|
||||
sops = lib.mkIf (!config.swarselsystems.isPublic) {
|
||||
|
||||
age.sshKeyPaths = mkIfElse config.swarselsystems.isBtrfs [ "/persist/.ssh/sops" ] [ "${config.users.users.swarsel.home}/.ssh/sops" "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
defaultSopsFile = mkIfElse config.swarselsystems.isBtrfs "/persist/.dotfiles/secrets/general/secrets.yaml" "${config.users.users.swarsel.home}/.dotfiles/secrets/general/secrets.yaml";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue