build0*: move into /hosts

This commit is contained in:
zowoq 2023-05-18 13:24:26 +10:00
parent 67cb2115bf
commit 5e5678ec15
18 changed files with 11 additions and 11 deletions
modules/nixos

View file

@ -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;