Commit 5736d4704880

Vincent Demeester <vincent@sbr.pm>
2026-02-12 10:26:23
feat: added radian and deduplicated flake-parts input
Added radian (pi session analytics) as flake input with overlay and package for kyushu. Introduced flake-parts as top-level input and set follows on all five consumers (go-org-readwise, radian, chick-group, chapeau-rouge, harmonia) to eliminate duplication in the lock file.
1 parent 18d148e
systems/kyushu/home.nix
@@ -68,6 +68,7 @@ in
     # sbcl # Not using
 
     go-org-readwise
+    radian
     gh-pr
     lazypr
     nixpkgs-pr-watch
systems/default.nix
@@ -32,6 +32,7 @@
       inputs.chapeau-rouge.overlays.openshift
       inputs.chick-group.overlays.default
       inputs.go-org-readwise.overlays.default
+      inputs.radian.overlays.default
       inputs.agenix.overlays.default
 
       # Migrate to "modifications"
flake.lock
@@ -89,7 +89,9 @@
     },
     "chapeau-rouge": {
       "inputs": {
-        "flake-parts": "flake-parts",
+        "flake-parts": [
+          "flake-parts"
+        ],
         "nix-github-actions": "nix-github-actions_2",
         "nixpkgs": [
           "nixpkgs"
@@ -114,7 +116,9 @@
     },
     "chick-group": {
       "inputs": {
-        "flake-parts": "flake-parts_2",
+        "flake-parts": [
+          "flake-parts"
+        ],
         "nix-github-actions": "nix-github-actions_3",
         "nixpkgs": [
           "nixpkgs"
@@ -348,72 +352,9 @@
       }
     },
     "flake-parts": {
-      "inputs": {
-        "nixpkgs-lib": [
-          "chapeau-rouge",
-          "nixpkgs"
-        ]
-      },
-      "locked": {
-        "lastModified": 1769996383,
-        "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
-        "owner": "hercules-ci",
-        "repo": "flake-parts",
-        "rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
-        "type": "github"
-      },
-      "original": {
-        "owner": "hercules-ci",
-        "repo": "flake-parts",
-        "type": "github"
-      }
-    },
-    "flake-parts_2": {
-      "inputs": {
-        "nixpkgs-lib": [
-          "chick-group",
-          "nixpkgs"
-        ]
-      },
-      "locked": {
-        "lastModified": 1769996383,
-        "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
-        "owner": "hercules-ci",
-        "repo": "flake-parts",
-        "rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
-        "type": "github"
-      },
-      "original": {
-        "owner": "hercules-ci",
-        "repo": "flake-parts",
-        "type": "github"
-      }
-    },
-    "flake-parts_3": {
       "inputs": {
         "nixpkgs-lib": "nixpkgs-lib"
       },
-      "locked": {
-        "lastModified": 1762980239,
-        "narHash": "sha256-8oNVE8TrD19ulHinjaqONf9QWCKK+w4url56cdStMpM=",
-        "owner": "hercules-ci",
-        "repo": "flake-parts",
-        "rev": "52a2caecc898d0b46b2b905f058ccc5081f842da",
-        "type": "github"
-      },
-      "original": {
-        "owner": "hercules-ci",
-        "repo": "flake-parts",
-        "type": "github"
-      }
-    },
-    "flake-parts_4": {
-      "inputs": {
-        "nixpkgs-lib": [
-          "harmonia",
-          "nixpkgs"
-        ]
-      },
       "locked": {
         "lastModified": 1769996383,
         "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
@@ -506,7 +447,9 @@
     },
     "go-org-readwise": {
       "inputs": {
-        "flake-parts": "flake-parts_3",
+        "flake-parts": [
+          "flake-parts"
+        ],
         "nixpkgs": [
           "nixpkgs"
         ]
@@ -528,7 +471,9 @@
     "harmonia": {
       "inputs": {
         "crane": "crane",
-        "flake-parts": "flake-parts_4",
+        "flake-parts": [
+          "flake-parts"
+        ],
         "nix": "nix",
         "nixpkgs": [
           "nixpkgs"
@@ -811,11 +756,11 @@
     },
     "nixpkgs-lib": {
       "locked": {
-        "lastModified": 1761765539,
-        "narHash": "sha256-b0yj6kfvO8ApcSE+QmA6mUfu8IYG6/uU28OFn4PaC8M=",
+        "lastModified": 1769909678,
+        "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=",
         "owner": "nix-community",
         "repo": "nixpkgs.lib",
-        "rev": "719359f4562934ae99f5443f20aa06c2ffff91fc",
+        "rev": "72716169fe93074c333e8d0173151350670b824c",
         "type": "github"
       },
       "original": {
@@ -919,6 +864,29 @@
         "type": "github"
       }
     },
+    "radian": {
+      "inputs": {
+        "flake-parts": [
+          "flake-parts"
+        ],
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1770887656,
+        "narHash": "sha256-B29Uo/McrjsgssAUpzcfWntXVhOt6FaHwUsV+PgtQio=",
+        "owner": "vdemeester",
+        "repo": "radian",
+        "rev": "88f55a83b9ff9e65cc036f86cdcea2a017bf4529",
+        "type": "github"
+      },
+      "original": {
+        "owner": "vdemeester",
+        "repo": "radian",
+        "type": "github"
+      }
+    },
     "root": {
       "inputs": {
         "agenix": "agenix",
@@ -932,6 +900,7 @@
         "dns": "dns",
         "emacs-overlay": "emacs-overlay",
         "flake-compat": "flake-compat",
+        "flake-parts": "flake-parts",
         "go-org-readwise": "go-org-readwise",
         "harmonia": "harmonia",
         "home-manager": "home-manager",
@@ -945,6 +914,7 @@
         "nixpkgs-master": "nixpkgs-master",
         "nixpkgs-wip-consolidated": "nixpkgs-wip-consolidated",
         "pre-commit-hooks": "pre-commit-hooks",
+        "radian": "radian",
         "system-manager": "system-manager",
         "voxtype": "voxtype"
       }
flake.nix
@@ -300,9 +300,16 @@
       url = "github:vdemeester/buildkit-tekton";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+    flake-parts.url = "github:hercules-ci/flake-parts";
     go-org-readwise = {
       url = "github:vdemeester/go-org-readwise";
       inputs.nixpkgs.follows = "nixpkgs";
+      inputs.flake-parts.follows = "flake-parts";
+    };
+    radian = {
+      url = "github:vdemeester/radian";
+      inputs.nixpkgs.follows = "nixpkgs";
+      inputs.flake-parts.follows = "flake-parts";
     };
 
     # nixpkgs
@@ -372,6 +379,7 @@
       owner = "vdemeester";
       repo = "chick-group";
       inputs.nixpkgs.follows = "nixpkgs";
+      inputs.flake-parts.follows = "flake-parts";
       inputs.pre-commit-hooks.follows = "pre-commit-hooks";
     };
     # Red Hat
@@ -380,6 +388,7 @@
       owner = "vdemeester";
       repo = "chapeau-rouge";
       inputs.nixpkgs.follows = "nixpkgs";
+      inputs.flake-parts.follows = "flake-parts";
       inputs.pre-commit-hooks.follows = "pre-commit-hooks";
     };
     agenix.url = "github:ryantm/agenix";
@@ -397,6 +406,7 @@
 
     harmonia.url = "github:nix-community/harmonia";
     harmonia.inputs.nixpkgs.follows = "nixpkgs";
+    harmonia.inputs.flake-parts.follows = "flake-parts";
 
     system-manager.url = "github:numtide/system-manager";
     system-manager.inputs.nixpkgs.follows = "nixpkgs";