This commit is contained in:
Sridhar Ratnakumar 2026-05-30 19:44:55 -04:00
parent b4a60aaf3a
commit d246da2f79
4 changed files with 164 additions and 26 deletions

View file

@ -16,6 +16,7 @@ in
"${homeMod}/services/obsidian.nix"
"${homeMod}/services/kolu.nix"
"${homeMod}/services/drishti.nix"
# Remote builders
"${homeMod}/nix/buildMachines"

167
flake.lock generated
View file

@ -69,6 +69,28 @@
}
},
"bun2nix": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_2",
"systems": "systems_3",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1779931262,
"narHash": "sha256-8ypPqVPCxiLD6GAvGjA+cJ3REJzgMJDGkGJLZYuCfGo=",
"owner": "juspay",
"repo": "bun2nix",
"rev": "ce67cc1885e5e28fcc3ff865479be1a19ff396cb",
"type": "github"
},
"original": {
"owner": "juspay",
"ref": "rawflake",
"repo": "bun2nix",
"type": "github"
}
},
"bun2nix_2": {
"inputs": {
"flake-parts": [
"llm-agents",
@ -257,6 +279,24 @@
"type": "github"
}
},
"drishti": {
"inputs": {
"bun2nix": "bun2nix"
},
"locked": {
"lastModified": 1780183172,
"narHash": "sha256-dJVQYqDPJHOSrvFtCSliGEf9FR2aESCT0CRgmoG3RU8=",
"owner": "srid",
"repo": "drishti",
"rev": "17763a9e5669cec6802822388c44a73a616c8e82",
"type": "github"
},
"original": {
"owner": "srid",
"repo": "drishti",
"type": "github"
}
},
"ema": {
"flake": false,
"locked": {
@ -280,14 +320,14 @@
"commonmark-wikilink": "commonmark-wikilink",
"ema": "ema",
"emanote-template": "emanote-template",
"flake-parts": "flake-parts_2",
"flake-parts": "flake-parts_3",
"fourmolu-nix": "fourmolu-nix",
"git-hooks": "git-hooks_2",
"haskell-flake": "haskell-flake",
"heist-extra": "heist-extra",
"lvar": "lvar",
"nixos-unified": "nixos-unified",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"unionmount": "unionmount"
},
"locked": {
@ -342,6 +382,28 @@
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"drishti",
"bun2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1777988971,
"narHash": "sha256-qIoWPDs+0/8JecyYgE3gpKQxW/4bLW/gp45vow9ioCQ=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "0678d8986be1661af6bb555f3489f2fdfc31f6ff",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_3": {
"inputs": {
"nixpkgs-lib": [
"emanote",
@ -362,7 +424,7 @@
"type": "github"
}
},
"flake-parts_3": {
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
@ -380,7 +442,7 @@
"type": "github"
}
},
"flake-parts_4": {
"flake-parts_5": {
"inputs": {
"nixpkgs-lib": [
"imako",
@ -401,7 +463,7 @@
"type": "github"
}
},
"flake-parts_5": {
"flake-parts_6": {
"inputs": {
"nixpkgs-lib": [
"llm-agents",
@ -422,7 +484,7 @@
"type": "github"
}
},
"flake-parts_6": {
"flake-parts_7": {
"inputs": {
"nixpkgs-lib": [
"vira",
@ -445,7 +507,7 @@
},
"flake-utils": {
"inputs": {
"systems": "systems_4"
"systems": "systems_5"
},
"locked": {
"lastModified": 1731533236,
@ -737,12 +799,12 @@
"aeson-typescript": "aeson-typescript",
"commonmark-simple": "commonmark-simple_2",
"commonmark-wikilink": "commonmark-wikilink_2",
"flake-parts": "flake-parts_4",
"flake-parts": "flake-parts_5",
"fourmolu-nix": "fourmolu-nix_2",
"git-hooks": "git-hooks_4",
"haskell-flake": "haskell-flake_2",
"lvar": "lvar_2",
"nixpkgs": "nixpkgs_3",
"nixpkgs": "nixpkgs_4",
"process-compose-flake": "process-compose-flake",
"unionmount": "unionmount_2"
},
@ -793,15 +855,16 @@
},
"kolu": {
"locked": {
"lastModified": 1779931577,
"narHash": "sha256-2oLixiJncNbQY9qCWtuFWIWKvMtPJhDHFqExusa8zeI=",
"lastModified": 1780184001,
"narHash": "sha256-YjQdz3Rw6Nu/6vTYXMnQtc+/jEFm7oXQOsadtvwBaCE=",
"owner": "juspay",
"repo": "kolu",
"rev": "d8c13f72b29be989352a9cfee2a3554e5541a3c9",
"rev": "f36ef03d6f282a6a248b2fde57cbda815c0447b0",
"type": "github"
},
"original": {
"owner": "juspay",
"ref": "r4-a1-pty-host-surface",
"repo": "kolu",
"type": "github"
}
@ -825,13 +888,13 @@
"llm-agents": {
"inputs": {
"blueprint": "blueprint",
"bun2nix": "bun2nix",
"flake-parts": "flake-parts_5",
"bun2nix": "bun2nix_2",
"flake-parts": "flake-parts_6",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_3",
"treefmt-nix": "treefmt-nix"
"systems": "systems_4",
"treefmt-nix": "treefmt-nix_2"
},
"locked": {
"lastModified": 1775790657,
@ -1061,6 +1124,22 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1777954456,
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1752900028,
"narHash": "sha256-dPALCtmik9Wr14MGqVXm+OQcv7vhPBXcWNIOThGnB/Q=",
@ -1076,7 +1155,7 @@
"type": "github"
}
},
"nixpkgs_3": {
"nixpkgs_4": {
"locked": {
"lastModified": 1770169770,
"narHash": "sha256-awR8qIwJxJJiOmcEGgP2KUqYmHG4v/z8XpL9z8FnT1A=",
@ -1092,7 +1171,7 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_5": {
"locked": {
"lastModified": 1778443072,
"narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=",
@ -1108,7 +1187,7 @@
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_6": {
"locked": {
"lastModified": 1765803225,
"narHash": "sha256-xwaZV/UgJ04+ixbZZfoDE8IsOWjtvQZICh9aamzPnrg=",
@ -1124,7 +1203,7 @@
"type": "github"
}
},
"nixpkgs_6": {
"nixpkgs_7": {
"locked": {
"lastModified": 1764635402,
"narHash": "sha256-6rYcajRLe2C5ZYnV1HYskJl+QAkhvseWTzbdQiTN9OI=",
@ -1210,8 +1289,9 @@
"agenix": "agenix",
"disc-scrape": "disc-scrape",
"disko": "disko",
"drishti": "drishti",
"emanote": "emanote",
"flake-parts": "flake-parts_3",
"flake-parts": "flake-parts_4",
"git-hooks": "git-hooks_3",
"github-nix-ci": "github-nix-ci",
"home-manager": "home-manager",
@ -1225,7 +1305,7 @@
"nixos-hardware": "nixos-hardware",
"nixos-unified": "nixos-unified_2",
"nixos-vscode-server": "nixos-vscode-server",
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_5",
"project-unknown": "project-unknown",
"vira": "vira",
"zmx": "zmx"
@ -1352,6 +1432,21 @@
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tabler-icons-hs": {
"flake": false,
"locked": {
@ -1369,6 +1464,28 @@
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"drishti",
"bun2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1775636079,
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_2": {
"inputs": {
"nixpkgs": [
"llm-agents",
@ -1426,7 +1543,7 @@
"inputs": {
"co-log-effectful": "co-log-effectful",
"devour-flake": "devour-flake",
"flake-parts": "flake-parts_6",
"flake-parts": "flake-parts_7",
"fourmolu-nix": "fourmolu-nix_3",
"git-hooks": "git-hooks_5",
"haskell-flake": "haskell-flake_3",
@ -1436,7 +1553,7 @@
"nix-serve-ng": "nix-serve-ng",
"nix-systems": "nix-systems",
"nixos-unified": "nixos-unified_3",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"process-compose-flake": "process-compose-flake_2",
"record-hasfield": "record-hasfield",
"servant-event-stream": "servant-event-stream",
@ -1476,7 +1593,7 @@
"zig2nix": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_6"
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1764678235,

View file

@ -36,7 +36,10 @@
jumphost-nix.flake = false;
# KOLU
kolu.url = "github:juspay/kolu";
kolu.url = "github:juspay/kolu/r4-a1-pty-host-surface";
# drishti remote host monitor (home-manager module)
drishti.url = "github:srid/drishti";
# anywhen is NOT a flake input — it's deployed as an incus-pet
# container, with the flake ref passed at deploy time (see

View file

@ -0,0 +1,17 @@
{ flake, config, pkgs, ... }:
let
inherit (flake) inputs;
in
{
imports = [
inputs.drishti.homeManagerModules.default
];
services.drishti = {
enable = true;
package = inputs.drishti.packages.${pkgs.stdenv.hostPlatform.system}.default;
port = 7720;
hosts = [ "localhost" "sincereintent" "pureintent" "vanjaram.tail12b27.ts.net" "nix-infra@rasam.tail12b27.ts.net" ];
};
}