Add the NUR to the flake inputs

I'm going to use it mostly for its extra packages (and maybe some of its
modules).
This commit is contained in:
foo-dogsquared 2022-01-02 08:48:15 +08:00
parent 9fd7213200
commit 0b2b336560
2 changed files with 32 additions and 0 deletions

16
flake.lock generated
View File

@ -220,6 +220,21 @@
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1641066357,
"narHash": "sha256-KEbe1qYOtY2hrz8U2LBop9qceMXV1+qs4C+KqTPTj5M=",
"owner": "nix-community",
"repo": "NUR",
"rev": "a1e9882968e76de886e35bedf7e4ec905b19347b",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": {
"inputs": {
"agenix": "agenix",
@ -229,6 +244,7 @@
"home-manager": "home-manager",
"neovim-nightly-overlay": "neovim-nightly-overlay",
"nixpkgs": "nixpkgs_3",
"nur": "nur",
"rust-overlay": "rust-overlay"
}
},

View File

@ -10,6 +10,10 @@
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# This is what AUR strives to be.
nur.url = "github:nix-community/NUR";
nur.inputs.nixpkgs.follows = "nixpkgs";
# Managing your secrets.
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
@ -39,6 +43,9 @@
# Rust overlay for them ease of setting up Rust toolchains.
inputs.rust-overlay.overlay
# Access to NUR.
inputs.nur.overlay
];
forAllSystems = f:
@ -66,6 +73,15 @@
nixpkgs.flake = nixpkgs;
home-manager.flake = home-manager;
agenix.flake = inputs.agenix;
nur.flake = inputs.nur;
};
# Set several binary caches.
nix = {
binaryCaches = [ "https://nix-community.cachix.org" ];
binaryCachePublicKeys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
# Stallman-senpai will be disappointed.