36 lines
988 B
Nix
36 lines
988 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
checker.url = "git+https://codeberg.org/oibot/checker.git";
|
|
hermes-agent.url = "github:NousResearch/hermes-agent";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, sops-nix, checker, hermes-agent, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations.tobserver = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
|
|
specialArgs = {
|
|
inherit checker;
|
|
};
|
|
|
|
modules = [
|
|
sops-nix.nixosModules.sops
|
|
./hardware-configuration.nix
|
|
./configuration.nix
|
|
./modules/bitcoin.nix
|
|
./modules/electrs.nix
|
|
./modules/mempool.nix
|
|
./modules/nextcloud.nix
|
|
./modules/totap.nix
|
|
./modules/checker.nix
|
|
hermes-agent.nixosModules.default
|
|
./modules/hermes-agent.nix
|
|
];
|
|
};
|
|
};
|
|
}
|