2025-04-24 15:21:13 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
2025-05-16 07:07:59 +00:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2025-05-05 16:04:08 +00:00
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
2025-05-16 07:07:59 +00:00
|
|
|
disko = {
|
|
|
|
url = "github:nix-community/disko";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
facter = {
|
|
|
|
url = "github:nix-community/nixos-facter-modules";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2025-04-24 15:21:13 +00:00
|
|
|
};
|
|
|
|
|
2025-05-15 15:26:11 +00:00
|
|
|
outputs = inputs: {
|
|
|
|
nixosConfigurations.raid1base = import ./setup { inherit inputs; };
|
|
|
|
colmena = {
|
|
|
|
meta = {
|
|
|
|
nixpkgs = import inputs.nixpkgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
overlays = [ ];
|
2025-04-24 15:21:13 +00:00
|
|
|
};
|
2025-05-15 15:26:11 +00:00
|
|
|
};
|
2025-04-24 15:21:13 +00:00
|
|
|
|
2025-05-15 15:26:11 +00:00
|
|
|
git-system =
|
|
|
|
{
|
|
|
|
name,
|
|
|
|
nodes,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
deployment = {
|
2025-05-19 08:35:25 +00:00
|
|
|
targetHost = "188.40.66.217";
|
|
|
|
targetPort = 22;
|
|
|
|
targetUser = "root";
|
2025-04-24 15:21:13 +00:00
|
|
|
};
|
2025-05-15 15:26:11 +00:00
|
|
|
imports = [
|
2025-05-19 08:35:25 +00:00
|
|
|
# ./git_system.nix
|
2025-05-20 07:50:45 +00:00
|
|
|
inputs.disko.nixosModules.disko
|
|
|
|
./setup/disk_conf.nix
|
|
|
|
./setup/mini_conf.nix
|
|
|
|
{
|
|
|
|
networking.hostId = "0a7337de";
|
|
|
|
boot.loader.grub.zfsSupport = true;
|
|
|
|
}
|
2025-05-15 15:26:11 +00:00
|
|
|
];
|
|
|
|
};
|
2025-05-19 08:35:25 +00:00
|
|
|
# runner-system =
|
|
|
|
# {
|
|
|
|
# name,
|
|
|
|
# nodes,
|
|
|
|
# pkgs,
|
|
|
|
# ...
|
|
|
|
# }:
|
|
|
|
# {
|
|
|
|
# imports = [ ./runner_system.nix ];
|
|
|
|
# };
|
|
|
|
# dev-system =
|
|
|
|
# {
|
|
|
|
# name,
|
|
|
|
# nodes,
|
|
|
|
# pkgs,
|
|
|
|
# ...
|
|
|
|
# }:
|
|
|
|
# {
|
|
|
|
# imports = [
|
|
|
|
# ./dev_system.nix
|
|
|
|
# inputs.sops-nix.nixosModules.sops
|
|
|
|
# ];
|
|
|
|
# };
|
2025-04-24 15:21:13 +00:00
|
|
|
};
|
2025-05-15 15:26:11 +00:00
|
|
|
};
|
2025-04-24 15:21:13 +00:00
|
|
|
}
|