Add nixpkgs-unstable input

This commit is contained in:
NullBite 2023-12-30 14:15:51 -05:00
parent 63eb331469
commit 49ed929fdb
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 21 additions and 2 deletions

19
flake.lock generated
View File

@ -16,9 +16,26 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1703499205,
"narHash": "sha256-lF9rK5mSUfIZJgZxC3ge40tp1gmyyOXZ+lRY3P8bfbg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
},

View File

@ -4,11 +4,13 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
# ^^^^^^^^^^^^^ this part is optional
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }:
outputs = { self, nixpkgs, nixpkgs-unstable }:
let
lib = nixpkgs.lib;
lib-unstable = nixpkgs-unstable.lib;
in {
nixosConfigurations = {
slab = lib.nixosSystem {