refactor flake

This commit is contained in:
Vivian 2022-08-21 11:42:17 +02:00
parent df8b91d5f8
commit 7efa62f47d
7 changed files with 75 additions and 69 deletions

View file

@ -6,7 +6,7 @@ let
ipAddress = ip;
};
localDomain = config.networking.domain;
hosts' = hosts.${localDomain};
hosts' = builtins.filter (builtins.hasAttr "ip") hosts.${localDomain};
in {
imports = [ ];