monorepo lab stuff, init zen
This commit is contained in:
parent
cfc15bba89
commit
645e09f9dd
54 changed files with 67498 additions and 406 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
pkgs-stable,
|
||||
attrs,
|
||||
system,
|
||||
...
|
||||
|
|
@ -11,7 +12,10 @@ let
|
|||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
# inputs.determinate.nixosModules.default # https://github.com/serokell/deploy-rs/issues/340
|
||||
];
|
||||
] ++ builtins.attrValues
|
||||
(builtins.mapAttrs
|
||||
(name: _: ./modules/${name})
|
||||
(builtins.readDir ./modules));
|
||||
in
|
||||
{
|
||||
t14 = inputs.nixpkgs.lib.nixosSystem {
|
||||
|
|
@ -28,9 +32,10 @@ in
|
|||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
|
||||
];
|
||||
};
|
||||
consensus = inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit pkgs;
|
||||
consensus = inputs.nixpkgs-stable.lib.nixosSystem {
|
||||
pkgs = pkgs-stable;
|
||||
specialArgs = {
|
||||
pkgs-unstable = pkgs;
|
||||
inherit inputs system attrs;
|
||||
host = {
|
||||
hostName = "consensus";
|
||||
|
|
@ -38,12 +43,24 @@ in
|
|||
};
|
||||
};
|
||||
modules = defaultModules ++ [
|
||||
inputs.microvm.nixosModules.host
|
||||
./consensus/configuration.nix
|
||||
];
|
||||
};
|
||||
oracle1 = inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit pkgs;
|
||||
zen = inputs.nixpkgs-stable.lib.nixosSystem {
|
||||
pkgs = pkgs-stable;
|
||||
specialArgs = {
|
||||
inherit inputs system attrs;
|
||||
host = {
|
||||
hostName = "zen";
|
||||
inherit (attrs) username;
|
||||
};
|
||||
};
|
||||
modules = defaultModules ++ [
|
||||
./zen/configuration.nix
|
||||
];
|
||||
};
|
||||
oracle1 = inputs.nixpkgs-stable.lib.nixosSystem {
|
||||
pkgs = pkgs-stable;
|
||||
specialArgs = {
|
||||
inherit inputs system attrs;
|
||||
host = {
|
||||
|
|
@ -51,20 +68,6 @@ in
|
|||
inherit (attrs) username;
|
||||
};
|
||||
};
|
||||
modules = defaultModules ++ [
|
||||
./oracle/configuration.nix
|
||||
./oracle/forgejo.nix
|
||||
];
|
||||
};
|
||||
oracle2 = inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit pkgs;
|
||||
specialArgs = {
|
||||
inherit inputs system attrs;
|
||||
host = {
|
||||
hostName = "oracle2";
|
||||
inherit (attrs) username;
|
||||
};
|
||||
};
|
||||
modules = defaultModules ++ [
|
||||
./oracle/configuration.nix
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue