mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
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:
parent
9fd7213200
commit
0b2b336560
16
flake.lock
generated
16
flake.lock
generated
@ -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"
|
||||
}
|
||||
},
|
||||
|
16
flake.nix
16
flake.nix
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user