1
0
Fork 0

flake: add nur as an input
All checks were successful
Build / build-amd64-linux (push) Successful in 29s
Build / build-arm64-linux (push) Successful in 1m22s

This commit is contained in:
Daniel Kempkens 2024-03-05 22:20:01 +01:00
parent 67840ef961
commit 9c038312c0
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 20 additions and 0 deletions

View file

@ -436,6 +436,21 @@
"type": "github" "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": { "pre-commit-hooks-nix": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
@ -474,6 +489,7 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixos-unstable": "nixos-unstable", "nixos-unstable": "nixos-unstable",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nurpkgs": "nurpkgs",
"pre-commit-hooks-nix": "pre-commit-hooks-nix", "pre-commit-hooks-nix": "pre-commit-hooks-nix",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
} }

View file

@ -39,6 +39,8 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nurpkgs.url = "github:nix-community/NUR";
agenix = { agenix = {
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
inputs = { inputs = {

View file

@ -4,6 +4,7 @@ let
default-system = "aarch64-darwin"; default-system = "aarch64-darwin";
overlay-x86 = _: _: { pkgs-x86 = import nixpkgs { system = "x86_64-darwin"; }; }; overlay-x86 = _: _: { pkgs-x86 = import nixpkgs { system = "x86_64-darwin"; }; };
overlay-nur = inputs.nurpkgs.overlay;
overlay-agenix = agenix.overlays.default; overlay-agenix = agenix.overlays.default;
overlay-attic = inputs.attic.overlays.default; overlay-attic = inputs.attic.overlays.default;
overlay-mkalias = _: _: { inherit (inputs.mkalias.packages.${default-system}) mkalias; }; overlay-mkalias = _: _: { inherit (inputs.mkalias.packages.${default-system}) mkalias; };
@ -12,6 +13,7 @@ let
nixpkgsConfig = { nixpkgsConfig = {
overlays = [ overlays = [
overlay-x86 overlay-x86
overlay-nur
overlay-agenix overlay-agenix
overlay-attic overlay-attic
overlay-mkalias overlay-mkalias