Init
Initial commit, nodes are mostly done, panel is WIP
This commit is contained in:
commit
c11e41669b
71 files changed
+3256
No files matched your search
@@ -0,0 +1,81 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
sops-nix = {
|
||||
url = "github:mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs;
|
||||
customLib = pkgs.lib.extend (
|
||||
self: super: {
|
||||
custom = (
|
||||
import ./lib {
|
||||
inherit (pkgs) lib;
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
f1-msk-node = pkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit (inputs) disko;
|
||||
lib = customLib;
|
||||
};
|
||||
modules = [
|
||||
./hosts/f1-msk-node/configuration.nix
|
||||
];
|
||||
};
|
||||
im-che-node = pkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit (inputs) disko;
|
||||
lib = customLib;
|
||||
};
|
||||
modules = [
|
||||
./hosts/im-che-node/configuration.nix
|
||||
];
|
||||
};
|
||||
im-che-panel = pkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit (inputs) disko;
|
||||
lib = customLib;
|
||||
};
|
||||
modules = [
|
||||
./hosts/im-che-panel/configuration.nix
|
||||
];
|
||||
};
|
||||
ve-swe-node = pkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit (inputs) disko;
|
||||
lib = customLib;
|
||||
};
|
||||
modules = [
|
||||
./hosts/ve-swe-node/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
devShells.${system}.default = import ./shell {
|
||||
inherit nixpkgs system;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user