Commit 2c95d9e

HPCesia <me@hpcesia.com>
2026-08-11 17:34:50
deps: add nur and nur-hpcesia flake inputs
1 parent 6e82177
Changed files (4)
modules/core/nix/nixpkgs.nix
@@ -0,0 +1,24 @@
+{
+  inputs,
+  den,
+  ...
+}: {
+  den.aspects.core.nix.includes = [den.aspects.core.nix.nixpkgs];
+  den.aspects.core.nix.nixpkgs = {
+    nixos = {
+      nixpkgs = {
+        overlays = [
+          (final: prev: {
+            nur = import inputs.nur {
+              nurpkgs = prev;
+              pkgs = prev;
+              repoOverrides = {
+                hpcesia = import inputs.nur-hpcesia {pkgs = prev;};
+              };
+            };
+          })
+        ];
+      };
+    };
+  };
+}
modules/flake-file.nix
@@ -29,6 +29,17 @@
       den.url = "github:denful/den";
 
       import-tree.url = "github:denful/import-tree";
+
+      # Extras
+      nur = {
+        url = "github:nix-community/NUR";
+        inputs.flake-parts.follows = "flake-parts";
+        inputs.nixpkgs.follows = "nixpkgs";
+      };
+      nur-hpcesia = {
+        url = "https://codeberg.org/HPCesia/nur-packages/archive/main.tar.gz";
+        inputs.nixpkgs.follows = "nixpkgs";
+      };
     };
   };
 }
flake.lock
@@ -215,6 +215,47 @@
         "type": "github"
       }
     },
+    "nur": {
+      "inputs": {
+        "flake-parts": [
+          "flake-parts"
+        ],
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1787025114,
+        "narHash": "sha256-7J8SKwHUGwwycuYdXQpGl+81VF4x0rmngCM1wI0SZDU=",
+        "owner": "nix-community",
+        "repo": "NUR",
+        "rev": "0910732f8fd25c2a57ec3065ea4492069e791c19",
+        "type": "github"
+      },
+      "original": {
+        "owner": "nix-community",
+        "repo": "NUR",
+        "type": "github"
+      }
+    },
+    "nur-hpcesia": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1786180066,
+        "narHash": "sha256-mqHlutsun7WCU/rlPEajYRYRtpI+A8tQxc7yRbnx5Pw=",
+        "rev": "2339de4e3b3ce07a477fda3009486f565bb8266e",
+        "type": "tarball",
+        "url": "https://codeberg.org/api/v1/repos/HPCesia/nur-packages/archive/2339de4e3b3ce07a477fda3009486f565bb8266e.tar.gz"
+      },
+      "original": {
+        "type": "tarball",
+        "url": "https://codeberg.org/HPCesia/nur-packages/archive/main.tar.gz"
+      }
+    },
     "pre-commit-hooks": {
       "inputs": {
         "flake-compat": [
@@ -252,6 +293,8 @@
         "import-tree": "import-tree",
         "ncro": "ncro",
         "nixpkgs": "nixpkgs",
+        "nur": "nur",
+        "nur-hpcesia": "nur-hpcesia",
         "vaultix": "vaultix"
       }
     },
flake.nix
@@ -34,6 +34,17 @@
       inputs.nixpkgs.follows = "nixpkgs";
     };
     nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+    nur = {
+      url = "github:nix-community/NUR";
+      inputs = {
+        flake-parts.follows = "flake-parts";
+        nixpkgs.follows = "nixpkgs";
+      };
+    };
+    nur-hpcesia = {
+      url = "https://codeberg.org/HPCesia/nur-packages/archive/main.tar.gz";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
     vaultix = {
       url = "github:HPCesia/vaultix";
       inputs = {