apply deadnix

This commit is contained in:
Vivian 2023-05-04 13:06:08 +02:00
parent 18527ccbf5
commit f534687f65
55 changed files with 67 additions and 75 deletions

View file

@ -2,7 +2,6 @@
let
inherit (builtins) filter attrValues concatMap mapAttrs;
inherit (nixpkgs.lib.attrsets) mapAttrsToList;
inherit (nixpkgs.lib) nixosSystem;
base_imports = [
home-manager.nixosModules.home-manager
mailserver.nixosModules.mailserver
@ -26,7 +25,7 @@ in {
inherit base_imports type_import resolve_imports;
# Add to whatever realm a host belong to its list of tags
add_realm_to_tags = mapAttrs (realm:
mapAttrs (hostname:
mapAttrs (_hostname:
{ tags ? [ ], ... }@host:
host // {
tags = [ realm ] ++ tags;