parent
81227e34c8
commit
9dda3c5bd2
8 changed files with 51 additions and 48 deletions
nixosModules
|
@ -4,8 +4,9 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) all any attrValues findSingle length mapAttrs mkIf mkOption types;
|
||||
inherit (builtins) filter hasAttr listToAttrs removeAttrs;
|
||||
inherit (lib) mkIf mkOption types;
|
||||
inherit (lib.lists) all any filter findSingle length;
|
||||
inherit (lib.attrsets) attrValues hasAttr listToAttrs mapAttrs removeAttrs;
|
||||
|
||||
inherit (config.sops) secrets;
|
||||
inherit (config.vars) hostName;
|
||||
|
|
|
@ -4,22 +4,11 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit
|
||||
(lib)
|
||||
concatMapStringsSep
|
||||
converge
|
||||
elem
|
||||
filterAttrsRecursive
|
||||
getExe
|
||||
mapAttrsToList
|
||||
mkForce
|
||||
mkIf
|
||||
mkOption
|
||||
optionalAttrs
|
||||
optionals
|
||||
optionalString
|
||||
types
|
||||
;
|
||||
inherit (lib) converge getExe mkOption types;
|
||||
inherit (lib.modules) mkForce mkIf;
|
||||
inherit (lib.lists) elem optionals;
|
||||
inherit (lib.strings) concatMapStringsSep optionalString;
|
||||
inherit (lib.attrsets) mapAttrsToList filterAttrsRecursive optionalAttrs;
|
||||
|
||||
cfg = config.services.esphome;
|
||||
|
||||
|
|
|
@ -4,20 +4,10 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit
|
||||
(lib)
|
||||
attrNames
|
||||
concatMapStringsSep
|
||||
concatStringsSep
|
||||
filterAttrs
|
||||
listToAttrs
|
||||
map
|
||||
mkForce
|
||||
mkIf
|
||||
mkOverride
|
||||
nameValuePair
|
||||
optionalString
|
||||
;
|
||||
inherit (lib.lists) map;
|
||||
inherit (lib.modules) mkForce mkIf mkOverride;
|
||||
inherit (lib.strings) concatMapStringsSep concatStringsSep optionalString;
|
||||
inherit (lib.attrsets) attrNames nameValuePair filterAttrs listToAttrs;
|
||||
|
||||
cfg = config.services.wyoming;
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue