build0*: move into /hosts
This commit is contained in:
parent
67cb2115bf
commit
5e5678ec15
18 changed files with 11 additions and 11 deletions
modules/nixos
|
@ -1,6 +1,6 @@
|
|||
{ config, inputs, lib, ... }:
|
||||
let
|
||||
defaultSopsPath = "${toString inputs.self}/${config.networking.hostName}/secrets.yaml";
|
||||
defaultSopsPath = "${toString inputs.self}/hosts/${config.networking.hostName}/secrets.yaml";
|
||||
in
|
||||
{
|
||||
sops.defaultSopsFile = lib.mkIf (builtins.pathExists defaultSopsPath) defaultSopsPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue