feat(netd): standardize version of netdaemon in project

This commit is contained in:
matt1432 2024-10-10 13:11:11 -04:00
parent 81227e34c8
commit 9dda3c5bd2
8 changed files with 51 additions and 48 deletions
nixosModules
borgbackup
esphome-plus
wyoming-plus

View file

@ -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;

View file

@ -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;

View file

@ -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 {