added nur but still not idea how to use it Xddd

This commit is contained in:
jacekpoz 2023-07-22 00:14:37 +02:00
parent 9367fcb152
commit 2ab78e1a0f
2 changed files with 20 additions and 1 deletions

View file

@ -479,6 +479,21 @@
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1689968828,
"narHash": "sha256-5qA6R/cBeLsS09ZMRKzhJq74nOGWEgGYpjdbKXDnCow=",
"owner": "nix-community",
"repo": "NUR",
"rev": "876b9498f36a394fcf8472f62ecf6685585c0509",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": {
"inputs": {
"conduit": "conduit",
@ -488,6 +503,7 @@
"hyprland-plugins": "hyprland-plugins",
"nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_5",
"nur": "nur",
"shadower": "shadower",
"split-monitor-workspaces": "split-monitor-workspaces"
}

View file

@ -4,12 +4,13 @@
outputs = {
self,
nixpkgs,
nur,
...
} @ inputs: let
inherit (nixpkgs) lib; # we isolate lib from nixpkgs to be able to pass it to specific flake options, alternatively use nixpkgs.lib
in {
# instead of cluttering flake.nix, import all nixosConfigurations from their own dedicated file
nixosConfigurations = import ./hosts {inherit nixpkgs inputs lib;};
nixosConfigurations = import ./hosts {inherit nixpkgs inputs lib nur;};
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
@ -31,5 +32,7 @@
conduit.url = "gitlab:famedly/conduit/next";
nix-gaming.url = "github:fufexan/nix-gaming";
nur.url = "github:nix-community/NUR";
};
}