From 9c038312c0fb25e598d8f32657d2c49648e51848 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Tue, 5 Mar 2024 22:20:01 +0100 Subject: [PATCH] flake: add nur as an input --- flake.lock | 16 ++++++++++++++++ flake.nix | 2 ++ system/flakes/Styx.nix | 2 ++ 3 files changed, 20 insertions(+) diff --git a/flake.lock b/flake.lock index c703bd6..1b08f6f 100644 --- a/flake.lock +++ b/flake.lock @@ -436,6 +436,21 @@ "type": "github" } }, + "nurpkgs": { + "locked": { + "lastModified": 1709670325, + "narHash": "sha256-8kaRyki/vK0dQeH6tRxy/xW9Ocq2jF5rwEsH5iLFbzM=", + "owner": "nix-community", + "repo": "NUR", + "rev": "c10daa69f6a06c5743ab07c111ee546ce6698098", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "pre-commit-hooks-nix": { "inputs": { "flake-compat": "flake-compat_2", @@ -474,6 +489,7 @@ "nixos-hardware": "nixos-hardware", "nixos-unstable": "nixos-unstable", "nixpkgs": "nixpkgs", + "nurpkgs": "nurpkgs", "pre-commit-hooks-nix": "pre-commit-hooks-nix", "treefmt-nix": "treefmt-nix" } diff --git a/flake.nix b/flake.nix index c40827a..db22836 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,8 @@ nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + nurpkgs.url = "github:nix-community/NUR"; + agenix = { url = "github:ryantm/agenix"; inputs = { diff --git a/system/flakes/Styx.nix b/system/flakes/Styx.nix index de1a2a1..73d41dd 100644 --- a/system/flakes/Styx.nix +++ b/system/flakes/Styx.nix @@ -4,6 +4,7 @@ let default-system = "aarch64-darwin"; overlay-x86 = _: _: { pkgs-x86 = import nixpkgs { system = "x86_64-darwin"; }; }; + overlay-nur = inputs.nurpkgs.overlay; overlay-agenix = agenix.overlays.default; overlay-attic = inputs.attic.overlays.default; overlay-mkalias = _: _: { inherit (inputs.mkalias.packages.${default-system}) mkalias; }; @@ -12,6 +13,7 @@ let nixpkgsConfig = { overlays = [ overlay-x86 + overlay-nur overlay-agenix overlay-attic overlay-mkalias