fix eval
This commit is contained in:
parent
8a3ece60e4
commit
5d3d19bf7c
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
hostDir = lib.head (builtins.match "nix-community-(.*)" config.networking.hostName);
|
||||
defaultSopsPath = ../. + "/${hostDir}/secrets.yaml";
|
||||
defaultSopsPath = ../. + "/${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