mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
14 lines
297 B
Nix
14 lines
297 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
sops.secrets = lib.getSecrets ./sops.yaml {
|
||
|
ssh-key = { };
|
||
|
"borg/ssh-key" = { };
|
||
|
"wireguard/private-key" = {
|
||
|
group = config.users.users.systemd-network.group;
|
||
|
reloadUnits = [ "systemd-networkd.service" ];
|
||
|
mode = "0640";
|
||
|
};
|
||
|
};
|
||
|
}
|