feature/ftb-app #14

Open
ahuston-0 wants to merge 8 commits from feature/ftb-app into main
3 changed files with 17 additions and 7 deletions
Showing only changes of commit 343aee5d60 - Show all commits

View File

@ -154,6 +154,7 @@
);
inherit (lib.adev.systems) genSystems getImages;
inherit (self) outputs; # for hydra
in
rec {
inherit lib; # for allowing use of custom functions in nix repl
@ -168,10 +169,7 @@
qcow = getImages nixosConfigurations "qcow";
};
packages.x86_64-linux.lego-latest =
nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/lego-latest/default.nix
{ };
packages = import ./packages { pkgs = nixpkgs.legacyPackages.x86_64-linux; };
checks = import ./checks.nix { inherit inputs forEachSystem formatter; };
devShells = import ./shell.nix { inherit inputs forEachSystem checks; };

View File

@ -149,7 +149,7 @@ rec {
configPath,
hostname,
inputs,
outputs,
outputs ? { },
src,
users,
home ? true,
@ -219,7 +219,7 @@ rec {
;
hostname = name;
}
// import configPath { inherit inputs; }
// import configPath { inherit inputs outputs; }
);
}
) (lib.adev.lsdir path)

View File

@ -1,4 +1,9 @@
{ lib, pkgs, ... }:
{
lib,
pkgs,
outputs,
...
}:
{
nix = {
package = pkgs.nixVersions.latest;
@ -46,4 +51,11 @@
dates = [ "01:00" ];
};
};
nixpkgs.overlays = [
(_: _: {
# bring all packages into a namespace called rad-pkgs
rad-pkgs = lib.genAttrs (lib.attrNames outputs.packages) (pkg: outputs.packages.${pkg});
})
];
}