2022-03-02 17:55:44 +00:00
|
|
|
{ self, nixpkgs-unstable, ... }@inputs:
|
2021-12-21 15:26:21 +00:00
|
|
|
let
|
2022-03-02 17:28:05 +00:00
|
|
|
mkTree = import ./tree.nix { inherit (nixpkgs-unstable) lib; };
|
2022-03-02 17:49:49 +00:00
|
|
|
tree = (import ./treeConfig.nix { inherit mkTree; }).tree;
|
2022-01-16 11:22:44 +00:00
|
|
|
|
2022-03-02 17:49:49 +00:00
|
|
|
pkgs-x86_64-linux = nixpkgs-unstable.legacyPackages.x86_64-linux;
|
2022-03-02 17:36:42 +00:00
|
|
|
hosts = import ./hosts ({ inherit tree; } // inputs);
|
2021-12-26 14:07:09 +00:00
|
|
|
in {
|
2022-03-02 17:36:42 +00:00
|
|
|
nixosConfigurations = hosts.nixosConfigurations;
|
2022-03-09 18:53:48 +00:00
|
|
|
darwinConfigurations = hosts.darwinConfigurations;
|
2021-12-26 15:43:53 +00:00
|
|
|
|
2022-07-27 16:47:49 +01:00
|
|
|
deploy.nodes = (import ./deployNodes.nix {
|
2022-03-02 17:55:44 +00:00
|
|
|
nixosConfigurations = self.nixosConfigurations;
|
2022-07-27 16:47:49 +01:00
|
|
|
deploy-rs = inputs.deploy-rs;
|
2022-03-02 17:55:44 +00:00
|
|
|
});
|
|
|
|
|
2022-02-13 16:35:01 +00:00
|
|
|
devShell."x86_64-linux" = pkgs-x86_64-linux.mkShell {
|
|
|
|
packages = with pkgs-x86_64-linux; [
|
|
|
|
git
|
|
|
|
nano
|
|
|
|
bat
|
|
|
|
exa
|
2022-06-01 07:13:31 +01:00
|
|
|
#inputs.deploy-rs.packages."x86_64-linux".deploy-rs
|
2022-02-16 17:04:27 +00:00
|
|
|
(pkgs-x86_64-linux.callPackage ./extras/mk-enc-usb.nix { })
|
|
|
|
(pkgs-x86_64-linux.callPackage ./extras/mk-lappy-ssd.nix { })
|
2022-02-13 16:35:01 +00:00
|
|
|
];
|
|
|
|
};
|
2021-12-20 23:48:26 +00:00
|
|
|
}
|