nixos/machines/Marid/sops.nix

14 lines
263 B
Nix
Raw Normal View History

2023-06-17 18:10:50 +02:00
{ config, lib, ... }:
{
sops = {
defaultSopsFile = ./secrets.yaml;
age = {
keyFile = "/var/lib/sops-nix/key.txt";
generateKey = true;
};
# TODO: auto loop over users
secrets."users/derped/password".neededForUsers = true;
};
}