2023-12-08 15:52:59 +00:00
|
|
|
{
|
|
|
|
description = "Configuration of all remote NixOS machines.";
|
|
|
|
|
|
|
|
inputs = {
|
2023-12-08 16:39:14 +00:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
2023-12-08 15:52:59 +00:00
|
|
|
phobos = {
|
|
|
|
url = "path:./phobos";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-12-08 16:39:14 +00:00
|
|
|
sops-nix = {
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-12-08 15:52:59 +00:00
|
|
|
};
|
|
|
|
|
2023-12-08 16:39:14 +00:00
|
|
|
outputs = { nixpkgs, phobos, sops-nix, ... }:
|
2023-12-08 15:52:59 +00:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
colmena = {
|
|
|
|
meta = {
|
|
|
|
nixpkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
specialArgs = { inherit system; };
|
|
|
|
};
|
|
|
|
|
|
|
|
# Remote machines
|
|
|
|
phobos = phobos.nixosModules.default;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|