7 lines
196 B
Nix
7 lines
196 B
Nix
{ config, lib, ... }:
|
|
let
|
|
defaultSopsPath = ../. + "/${config.networking.hostName}/secrets.yaml";
|
|
in
|
|
{
|
|
sops.defaultSopsFile = lib.mkIf (builtins.pathExists defaultSopsPath) defaultSopsPath;
|
|
}
|