aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/global/sops.nix
blob: 9d1d42b13debadc88864d4063b7cd521865486dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  inputs,
  lib,
  config,
  ...
}: {
  imports = [inputs.sops-nix.nixosModules.sops];

  sops = {
    age = {
      #keyFile = "/persistent/var/lib/sops-nix/keys.txt";
      keyFile = "/var/lib/sops-nix/keys.txt";
      sshKeyPaths = [];
    };
    gnupg.sshKeyPaths = [];
  };
}