summaryrefslogtreecommitdiff
path: root/modules/core/security/sops.nix
blob: 8a68acfb6dc99287bf729a45a1896648a03d2f4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, ... }:
{
  environment.systemPackages = [
    pkgs.sops
  ];

  sops = {
    gnupg.sshKeyPaths = [ ];

    age = {
      sshKeyPaths = [ ];
      keyFile = "/var/lib/sops-nix/keys.txt";
      generateKey = true;
    };
  };
}