summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-18 18:35:48 +0200
committerAlan Pearce2024-05-18 18:35:48 +0200
commit8cb26779249953cc7882bc11135779de035fa2bc (patch)
tree3bd4eb8c1235c895d2b10455d34d303ecc324bf3
parentcd9c6b3a5930e366fbdd982e7e37829dfedbcb4e (diff)
downloadnixfiles-8cb26779249953cc7882bc11135779de035fa2bc.tar.lz
nixfiles-8cb26779249953cc7882bc11135779de035fa2bc.tar.zst
nixfiles-8cb26779249953cc7882bc11135779de035fa2bc.zip
add nur overlay
-rw-r--r--nix/sources.json12
-rw-r--r--overlays/nur.nix3
2 files changed, 15 insertions, 0 deletions
diff --git a/nix/sources.json b/nix/sources.json
index 280881e6..2a3f37c6 100644
--- a/nix/sources.json
+++ b/nix/sources.json
@@ -1,4 +1,16 @@
 {
+    "nur": {
+        "branch": "master",
+        "description": "Nix User Repository: User contributed nix packages [maintainer=@Mic92]",
+        "homepage": "https://nur.nix-community.org/",
+        "owner": "nix-community",
+        "repo": "NUR",
+        "rev": "a0994b379a309930565f13cafef0f7daa31420d5",
+        "sha256": "1x8bha3i34qxpakbp1cxq36klnxsa6v2inrn8jhhfkzybbwfyncx",
+        "type": "tarball",
+        "url": "https://github.com/nix-community/NUR/archive/a0994b379a309930565f13cafef0f7daa31420d5.tar.gz",
+        "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+    },
     "agenix": {
         "branch": "main",
         "description": "age-encrypted secrets for NixOS and Home manager",
diff --git a/overlays/nur.nix b/overlays/nur.nix
new file mode 100644
index 00000000..6f34f2aa
--- /dev/null
+++ b/overlays/nur.nix
@@ -0,0 +1,3 @@
+self: super: {
+  nur = import <nur> { pkgs = self; };
+}