modules: refactor common
move common into directory
This commit is contained in:
parent
f8a2457154
commit
1441015937
7 changed files with 1 additions and 1 deletions
modules/nixos
|
@ -1,7 +0,0 @@
|
|||
{ config, inputs, lib, ... }:
|
||||
let
|
||||
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