Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536{ flake.finixModules.secrets = { config, pkgs, sops-nix, ... }: let user = config.modules.user.name; in { imports = [ sops-nix.finixModules.sops ];
# the installer puts both keys here by decrypting secrets/age/*.age # keys.txt contains both the host and infra identities sops.age.keyFile = "/persist/sops/age/keys.txt"; sops.age.sshKeyPaths = [ ]; sops.gnupg.sshKeyPaths = [ ]; sops.defaultSopsFile = ../../secrets/secrets.yaml;
environment.systemPackages = [ pkgs.sops ];
sops.secrets = { gownobook_cloudflared_token = { owner = user; mode = "0400"; }; netbird_key = { sopsFile = ../../secrets/infra.yaml; mode = "0400"; }; }; };}