2025-07-16 09:32:19 -07:00
|
|
|
{
|
|
|
|
|
description = "Multi-host NixOS configuration";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2025-09-09 13:01:14 +00:00
|
|
|
authentik-nix = {
|
2026-01-13 04:42:12 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2026-04-28 08:22:31 +00:00
|
|
|
url = "github:nix-community/authentik-nix";
|
2025-09-09 13:01:14 +00:00
|
|
|
};
|
2025-09-08 20:36:59 +00:00
|
|
|
disko = {
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
url = "github:nix-community/disko";
|
|
|
|
|
};
|
2025-10-07 18:24:58 +00:00
|
|
|
fieldseeker-sync = {
|
|
|
|
|
type = "github";
|
|
|
|
|
owner = "Gleipnir-Technology";
|
|
|
|
|
repo = "fieldseeker-sync";
|
2025-10-31 16:22:24 +00:00
|
|
|
rev = "e250e0abbb35f6d64851305d3b59c4ed1d968bc8";
|
2025-10-07 18:24:58 +00:00
|
|
|
};
|
2025-07-16 09:32:19 -07:00
|
|
|
home-manager = {
|
2026-01-07 03:24:26 +00:00
|
|
|
url = "github:nix-community/home-manager/release-25.11";
|
2025-07-16 09:32:19 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2025-11-11 17:24:07 +00:00
|
|
|
nidus-sync = {
|
|
|
|
|
type = "github";
|
|
|
|
|
owner = "Gleipnir-Technology";
|
|
|
|
|
repo = "nidus-sync";
|
2026-05-08 16:32:40 +00:00
|
|
|
rev = "4bd62b3567b94c9c0ba7b13f2547a0a4d38979d4";
|
2025-11-11 17:24:07 +00:00
|
|
|
};
|
2026-01-05 00:27:37 +00:00
|
|
|
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
2026-01-07 03:24:26 +00:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
2025-07-16 09:32:19 -07:00
|
|
|
nixvim = {
|
2026-01-07 03:24:26 +00:00
|
|
|
url = "github:nix-community/nixvim/nixos-25.11";
|
2025-07-16 09:32:19 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2025-07-16 09:55:20 -07:00
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
2025-09-26 19:08:26 +00:00
|
|
|
timecard-bot.url = "github:Gleipnir-Technology/timecard-bot?rev=8c81b6683f97aa2712323836e629adf102be58ac";
|
2025-07-16 09:32:19 -07:00
|
|
|
};
|
|
|
|
|
|
2026-05-08 18:13:42 +00:00
|
|
|
outputs = inputs@{ self, disko, home-manager, nixpkgs, nixvim, sops-nix, ...}:
|
2025-07-16 09:32:19 -07:00
|
|
|
let
|
|
|
|
|
configFiles = pkgs.stdenv.mkDerivation {
|
|
|
|
|
installPhase = ''
|
|
|
|
|
mkdir -p $out
|
|
|
|
|
cp -r * $out/
|
|
|
|
|
'';
|
2026-01-05 00:27:37 +00:00
|
|
|
name = "config-files";
|
|
|
|
|
src = ./configs;
|
2025-07-16 09:32:19 -07:00
|
|
|
};
|
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
in {
|
|
|
|
|
nixosConfigurations = {
|
2025-10-22 18:02:33 +00:00
|
|
|
"nocix-amd-legacy-octacore" = import ./system.nix {
|
|
|
|
|
configuration = ./host/nocix/amd-legacy-octacore;
|
|
|
|
|
roles = [
|
|
|
|
|
./roles/corp.nix
|
|
|
|
|
];
|
2026-05-08 18:13:42 +00:00
|
|
|
inherit configFiles disko home-manager inputs nixpkgs nixvim sops-nix system;
|
2025-08-15 00:34:21 +00:00
|
|
|
};
|
2026-02-17 15:11:46 +00:00
|
|
|
"nocix-amd-legacy-quadcore" = import ./system.nix {
|
|
|
|
|
configuration = ./host/nocix/amd-legacy-quadcore;
|
|
|
|
|
roles = [
|
|
|
|
|
./roles/nidus-sync.nix
|
|
|
|
|
];
|
2026-05-08 18:13:42 +00:00
|
|
|
inherit configFiles disko home-manager inputs nixpkgs nixvim sops-nix system;
|
2026-02-17 15:11:46 +00:00
|
|
|
};
|
2026-05-08 16:31:43 +00:00
|
|
|
"nocix-amd-legacy-quadcore-292465" = import ./system.nix {
|
|
|
|
|
configuration = ./host/nocix/amd-legacy-quadcore-292465;
|
|
|
|
|
roles = [ ];
|
2026-05-08 18:13:42 +00:00
|
|
|
inherit configFiles disko home-manager inputs nixpkgs nixvim sops-nix system;
|
2026-05-08 16:31:43 +00:00
|
|
|
};
|
2025-10-10 01:36:45 +00:00
|
|
|
"nocix-amd-legacy-sexcore" = import ./system.nix {
|
|
|
|
|
configuration = ./host/nocix/amd-legacy-sexcore;
|
2025-10-13 17:06:15 +00:00
|
|
|
roles = [
|
2026-01-21 16:36:53 +00:00
|
|
|
./roles/nidus-marketing.nix
|
2025-10-13 17:06:15 +00:00
|
|
|
./roles/nidus-sync.nix
|
|
|
|
|
./roles/sovr.nix
|
|
|
|
|
];
|
2026-05-08 18:13:42 +00:00
|
|
|
inherit configFiles disko home-manager inputs nixpkgs nixvim sops-nix system;
|
2025-10-07 16:35:12 +00:00
|
|
|
};
|
2025-07-16 09:32:19 -07:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|