1
0
forked from clan/clan-core

Merge pull request 'sops: fix decrypte path on machine' (#1091) from fact_refactor2 into main

This commit is contained in:
clan-bot 2024-04-02 11:55:53 +00:00
commit 69aa46a1d5
2 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,7 @@ in
clanCore.facts.secretModule = "clan_cli.facts.secret_modules.sops";
clanCore.facts.secretUploadDirectory = lib.mkDefault "/var/lib/sops-nix";
sops.secrets = builtins.mapAttrs (name: _: {
name = lib.strings.removePrefix "${config.networking.hostName}-" name;
sopsFile = config.clanCore.clanDir + "/sops/secrets/${name}/secret";
format = "binary";
}) secrets;

View File

@ -40,7 +40,6 @@ def install_nixos(
"nixos-anywhere",
"-f",
f"{machine.flake}#{machine.name}",
"-t",
"--no-reboot",
"--extra-files",
str(tmpdir),