mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
move deploy library
This commit is contained in:
parent
9d60e4c195
commit
7a3fa19df1
1 changed files with 4 additions and 3 deletions
|
@ -19,8 +19,6 @@
|
||||||
})
|
})
|
||||||
(builtins.readDir ./pkgs));
|
(builtins.readDir ./pkgs));
|
||||||
|
|
||||||
deploy = import lib/deploy.nix;
|
|
||||||
|
|
||||||
forAllSystems = f: nixpkgs.lib.genAttrs
|
forAllSystems = f: nixpkgs.lib.genAttrs
|
||||||
[ "x86_64-linux" "aarch64-linux" ]
|
[ "x86_64-linux" "aarch64-linux" ]
|
||||||
(system: f system);
|
(system: f system);
|
||||||
|
@ -53,7 +51,10 @@
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
lib = { inherit forAllSystems deploy; };
|
lib = {
|
||||||
|
inherit forAllSystems;
|
||||||
|
deploy = import lib/deploy.nix;
|
||||||
|
};
|
||||||
|
|
||||||
nixosModules = mods // { default.imports = builtins.attrValues mods; };
|
nixosModules = mods // { default.imports = builtins.attrValues mods; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue