From d323092582eb2b9a161a2923d9cc7bf3115e43e9 Mon Sep 17 00:00:00 2001 From: reo101 Date: Thu, 23 Mar 2023 08:17:20 +0200 Subject: [PATCH] feat(flake): add `nur` to inputs --- flake.lock | 16 ++++++++++++++++ flake.nix | 5 +++++ lib/default.nix | 1 + 3 files changed, 22 insertions(+) diff --git a/flake.lock b/flake.lock index a917787..081d154 100644 --- a/flake.lock +++ b/flake.lock @@ -475,6 +475,21 @@ "type": "gitlab" } }, + "nur": { + "locked": { + "lastModified": 1679168785, + "narHash": "sha256-DQ79Ih7qhXdoePmLtf1pXVc+JZwpm+SVBkpsPkY8Y9k=", + "owner": "nix-community", + "repo": "NUR", + "rev": "04277085ab26a094f5eee2c0303e473bd1bc2ee0", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "root": { "inputs": { "hardware": "hardware", @@ -484,6 +499,7 @@ "nix-darwin": "nix-darwin", "nix-on-droid": "nix-on-droid", "nixpkgs": "nixpkgs", + "nur": "nur", "wired": "wired", "zig-overlay": "zig-overlay", "zls-overlay": "zls-overlay" diff --git a/flake.nix b/flake.nix index 6d77471..378ebac 100644 --- a/flake.nix +++ b/flake.nix @@ -27,6 +27,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + # Nix User Repository + nur = { + url = "github:nix-community/NUR"; + }; + hardware = { url = "github:nixos/nixos-hardware"; }; diff --git a/lib/default.nix b/lib/default.nix index 5a1e3cc..3e2f357 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -71,6 +71,7 @@ rec { modules = [ (root + "/configuration.nix") inputs.home-manager.nixosModules.home-manager + inputs.nur.nixosModules.nur { home-manager = { useGlobalPkgs = false;