Add sops secrets for Marid.
This commit is contained in:
parent
d298b78c4d
commit
7d02cab301
3 changed files with 54 additions and 0 deletions
14
machines/Marid/sops.nix
Normal file
14
machines/Marid/sops.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ 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;
|
||||
secrets."certs/proxy".mode = "0440";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue