nixos-config/shared/sops.nix

8 lines
245 B
Nix
Raw Normal View History

2022-12-27 18:21:33 +01:00
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [ sops ];
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.age.generateKey = false;
2022-12-27 18:21:33 +01:00
sops.defaultSopsFile = ../secrets/${config.networking.hostName}.yaml;
}