ugggGGGG
This commit is contained in:
parent
ef4d27f82c
commit
b4f2f69598
1 changed files with 6 additions and 10 deletions
|
@ -9,13 +9,13 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
libExt = import ./. lib;
|
# libExt = import ./. lib;
|
||||||
|
|
||||||
inherit (inputs.home-manager.lib) homeManagerConfiguration;
|
inherit (inputs.home-manager.lib) homeManagerConfiguration;
|
||||||
inherit (lib) nixosSystem;
|
inherit (lib) nixosSystem;
|
||||||
inherit (lib.strings) optionalString;
|
inherit (lib.strings) optionalString;
|
||||||
inherit (lib.attrsets) nameValuePair;
|
inherit (lib.attrsets) nameValuePair;
|
||||||
inherit (libExt) right;
|
# inherit (libExt) right;
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
toPartialNixosConfig =
|
toPartialNixosConfig =
|
||||||
|
@ -34,10 +34,8 @@ rec {
|
||||||
});
|
});
|
||||||
compileSystems =
|
compileSystems =
|
||||||
systems:
|
systems:
|
||||||
right
|
(builtins.listToAttrs
|
||||||
builtins.listToAttrs
|
(map toPartialNixosConfig systems));
|
||||||
(map toPartialNixosConfig)
|
|
||||||
systems;
|
|
||||||
|
|
||||||
toPartialHomeManagerConfig =
|
toPartialHomeManagerConfig =
|
||||||
{ user, system, hostname ? "", configHostname ? "" }:
|
{ user, system, hostname ? "", configHostname ? "" }:
|
||||||
|
@ -58,8 +56,6 @@ rec {
|
||||||
});
|
});
|
||||||
compileHomes =
|
compileHomes =
|
||||||
systems:
|
systems:
|
||||||
right
|
(builtins.listToAttrs
|
||||||
builtins.listToAttrs
|
(map toPartialHomeManagerConfig systems));
|
||||||
(map toPartialHomeManagerConfig)
|
|
||||||
systems;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue