1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 16:44:52 +03:00

lint: remove //, replace with recursiveUpdate

This commit is contained in:
Timothy DeHerrera 2020-07-30 23:32:53 -06:00
parent 10171142e5
commit 068be3f5bf
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -9,7 +9,7 @@
let let
inherit (builtins) attrNames attrValues readDir; inherit (builtins) attrNames attrValues readDir;
inherit (nixpkgs) lib; inherit (nixpkgs) lib;
inherit (lib) removeSuffix; inherit (lib) removeSuffix recursiveUpdate;
inherit (utils) pathsToImportedAttrs; inherit (utils) pathsToImportedAttrs;
utils = import ./lib/utils.nix { inherit lib; }; utils = import ./lib/utils.nix { inherit lib; };
@ -29,7 +29,11 @@
in in
{ {
nixosConfigurations = nixosConfigurations =
import ./hosts (inputs // { inherit system pkgs unstablePkgs utils; }); import ./hosts (recursiveUpdate inputs {
inherit system pkgs
unstablePkgs utils;
}
);
devShell."${system}" = import ./shell.nix { inherit pkgs; }; devShell."${system}" = import ./shell.nix { inherit pkgs; };
@ -60,6 +64,8 @@
profilesAttrs = { profiles = pathsToImportedAttrs profilesList; }; profilesAttrs = { profiles = pathsToImportedAttrs profilesList; };
in in
cachixAttrs // modulesAttrs // profilesAttrs; recursiveUpdate
(recursiveUpdate cachixAttrs modulesAttrs)
profilesAttrs;
}; };
} }