2025-08-03 15:42:02 -04:00
|
|
|
{
|
2025-08-08 17:00:47 -04:00
|
|
|
description = "Gortium infra flake";
|
2025-08-03 15:42:02 -04:00
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
2025-08-08 17:00:47 -04:00
|
|
|
agenix = {
|
|
|
|
|
url = "github:ryantm/agenix";
|
|
|
|
|
inputs.darwin.follows = "";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-04-04 16:26:33 -04:00
|
|
|
lix = {
|
|
|
|
|
url = "git+https://git.lix.systems/lix-project/lix?ref=main";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
feat: add uConsole CM5 host configuration with Reticulum mesh stack
- New NixOS host 'uConsole' for ClockworkPi CM5 portable terminal
- flake.nix: add nixos-uconsole and nixos-raspberrypi inputs
- Imports: nixos-uconsole.nixosModules.uconsole-cm5,
nixos-raspberrypi.nixosModules.raspberry-pi-5.base
- Full package list: base tools, HAM radio, SDR/RF, mesh/LoRa,
security tools, GPS/maps
- Reticulum stack (rns 1.2.9, lxmf 0.9.8, nomadnet 1.1.1) built
from PyPI via overlays/reticulum.nix
- systemd services: rnsd (Reticulum daemon), kismet (Wi-Fi IDS)
- Kernel modules for SDR (rtl-sdr, dvb) and USB WiFi
- Follows existing host config conventions (cyt-pi as template)
2026-05-20 14:34:15 -04:00
|
|
|
nixos-uconsole = {
|
|
|
|
|
url = "github:nixos-uconsole/nixos-uconsole";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
nixos-raspberrypi = {
|
|
|
|
|
url = "github:nvmd/nixos-raspberrypi/v1.20260317.0";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2025-08-08 19:11:29 -04:00
|
|
|
self.submodules = true;
|
2025-08-03 15:42:02 -04:00
|
|
|
};
|
|
|
|
|
|
feat: add uConsole CM5 host configuration with Reticulum mesh stack
- New NixOS host 'uConsole' for ClockworkPi CM5 portable terminal
- flake.nix: add nixos-uconsole and nixos-raspberrypi inputs
- Imports: nixos-uconsole.nixosModules.uconsole-cm5,
nixos-raspberrypi.nixosModules.raspberry-pi-5.base
- Full package list: base tools, HAM radio, SDR/RF, mesh/LoRa,
security tools, GPS/maps
- Reticulum stack (rns 1.2.9, lxmf 0.9.8, nomadnet 1.1.1) built
from PyPI via overlays/reticulum.nix
- systemd services: rnsd (Reticulum daemon), kismet (Wi-Fi IDS)
- Kernel modules for SDR (rtl-sdr, dvb) and USB WiFi
- Follows existing host config conventions (cyt-pi as template)
2026-05-20 14:34:15 -04:00
|
|
|
outputs = { self, nixpkgs, agenix, lix, nixos-uconsole, nixos-raspberrypi, ... }@inputs:
|
2025-08-03 15:42:02 -04:00
|
|
|
let
|
|
|
|
|
system = "x86_64-linux";
|
2025-08-08 17:00:47 -04:00
|
|
|
keys = import ./lib/keys.nix;
|
|
|
|
|
paths = {
|
|
|
|
|
flake = "/home/gortium/infra";
|
2025-08-24 19:02:42 -04:00
|
|
|
identities = [
|
|
|
|
|
"/home/gortium/.ssh/gortium_ssh_key"
|
|
|
|
|
"/etc/ssh/ssh_host_ed25519_key"
|
|
|
|
|
"/root/.age/bootstrap.key" ];
|
2025-08-08 17:00:47 -04:00
|
|
|
};
|
feat: add uConsole CM5 host configuration with Reticulum mesh stack
- New NixOS host 'uConsole' for ClockworkPi CM5 portable terminal
- flake.nix: add nixos-uconsole and nixos-raspberrypi inputs
- Imports: nixos-uconsole.nixosModules.uconsole-cm5,
nixos-raspberrypi.nixosModules.raspberry-pi-5.base
- Full package list: base tools, HAM radio, SDR/RF, mesh/LoRa,
security tools, GPS/maps
- Reticulum stack (rns 1.2.9, lxmf 0.9.8, nomadnet 1.1.1) built
from PyPI via overlays/reticulum.nix
- systemd services: rnsd (Reticulum daemon), kismet (Wi-Fi IDS)
- Kernel modules for SDR (rtl-sdr, dvb) and USB WiFi
- Follows existing host config conventions (cyt-pi as template)
2026-05-20 14:34:15 -04:00
|
|
|
overlays = [ agenix.overlays.default (import ./overlays/reticulum.nix) ];
|
2025-08-04 22:15:59 -04:00
|
|
|
pkgs = import nixpkgs {
|
2025-08-08 17:00:47 -04:00
|
|
|
inherit system overlays;
|
|
|
|
|
config.allowUnfree = true;
|
2026-04-04 16:26:33 -04:00
|
|
|
config.permittedInsecurePackages = [
|
|
|
|
|
"openclaw-2026.3.12"
|
|
|
|
|
];
|
2025-08-08 17:00:47 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
devShell = import ./shells/nix_dev.nix {
|
|
|
|
|
inherit pkgs system agenix;
|
2025-08-04 22:15:59 -04:00
|
|
|
};
|
2025-08-03 15:42:02 -04:00
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
|
lazyworkhorse = nixpkgs.lib.nixosSystem {
|
2026-04-04 16:26:33 -04:00
|
|
|
specialArgs = { inherit system self keys paths inputs; };
|
2025-08-03 15:42:02 -04:00
|
|
|
modules = [
|
2026-04-04 04:57:47 -04:00
|
|
|
{
|
|
|
|
|
nixpkgs.overlays = overlays;
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
nixpkgs.config.rocmSupport = true;
|
2026-04-04 16:26:33 -04:00
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
|
"openclaw-2026.3.12"
|
|
|
|
|
];
|
|
|
|
|
nix.package = lix.packages.${system}.default;
|
2026-04-04 04:57:47 -04:00
|
|
|
}
|
2025-08-08 17:00:47 -04:00
|
|
|
agenix.nixosModules.default
|
2025-08-03 15:42:02 -04:00
|
|
|
./hosts/lazyworkhorse/configuration.nix
|
2025-08-08 17:00:47 -04:00
|
|
|
./hosts/lazyworkhorse/hardware-configuration.nix
|
2026-01-01 02:25:40 -05:00
|
|
|
./modules/nixos/filesystem/hoardingcow-mount.nix
|
|
|
|
|
./modules/nixos/services/docker_manager.nix
|
|
|
|
|
./modules/nixos/services/open_code_server.nix
|
|
|
|
|
./modules/nixos/services/ollama_init_custom_models.nix
|
2026-04-04 16:26:33 -04:00
|
|
|
./modules/nixos/services/openclaw_node.nix
|
2026-05-25 00:08:39 -04:00
|
|
|
./modules/nixos/services/rollback-sentinel.nix
|
2026-04-28 15:34:38 +00:00
|
|
|
./modules/nixos/security/ai-worker-restricted.nix
|
2025-08-08 17:00:47 -04:00
|
|
|
./users/gortium.nix
|
2026-04-06 19:14:57 -04:00
|
|
|
./users/ai-worker.nix
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
cyt-pi = nixpkgs.lib.nixosSystem {
|
|
|
|
|
specialArgs = { inherit self keys paths inputs; };
|
|
|
|
|
modules = [
|
|
|
|
|
{
|
|
|
|
|
nixpkgs.overlays = overlays;
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
|
nix.package = lix.packages."aarch64-linux".default;
|
|
|
|
|
}
|
|
|
|
|
./hosts/cyt-pi/configuration.nix
|
|
|
|
|
./hosts/cyt-pi/hardware-configuration.nix
|
2025-08-03 15:42:02 -04:00
|
|
|
];
|
|
|
|
|
};
|
feat: add uConsole CM5 host configuration with Reticulum mesh stack
- New NixOS host 'uConsole' for ClockworkPi CM5 portable terminal
- flake.nix: add nixos-uconsole and nixos-raspberrypi inputs
- Imports: nixos-uconsole.nixosModules.uconsole-cm5,
nixos-raspberrypi.nixosModules.raspberry-pi-5.base
- Full package list: base tools, HAM radio, SDR/RF, mesh/LoRa,
security tools, GPS/maps
- Reticulum stack (rns 1.2.9, lxmf 0.9.8, nomadnet 1.1.1) built
from PyPI via overlays/reticulum.nix
- systemd services: rnsd (Reticulum daemon), kismet (Wi-Fi IDS)
- Kernel modules for SDR (rtl-sdr, dvb) and USB WiFi
- Follows existing host config conventions (cyt-pi as template)
2026-05-20 14:34:15 -04:00
|
|
|
|
|
|
|
|
uConsole = nixos-raspberrypi.lib.nixosSystem {
|
|
|
|
|
specialArgs = { inherit self keys paths inputs nixos-raspberrypi; };
|
|
|
|
|
modules = [
|
|
|
|
|
{
|
|
|
|
|
nixpkgs.overlays = overlays;
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
|
nix.package = lix.packages."aarch64-linux".default;
|
|
|
|
|
}
|
|
|
|
|
nixos-raspberrypi.nixosModules.raspberry-pi-5.base
|
|
|
|
|
nixos-uconsole.nixosModules.uconsole-cm5
|
|
|
|
|
./hosts/uConsole/configuration.nix
|
|
|
|
|
./hosts/uConsole/hardware-configuration.nix
|
|
|
|
|
];
|
|
|
|
|
};
|
2025-08-03 15:42:02 -04:00
|
|
|
};
|
2025-08-08 17:00:47 -04:00
|
|
|
devShells.${system}.default = devShell;
|
2025-08-03 15:42:02 -04:00
|
|
|
};
|
|
|
|
|
}
|