MAJOR: add nixpkgs-unstable
WARNING: currently sets allowUnfree since idk how to use allowUnfreePredicate for alternative channels
This commit is contained in:
parent
de67846d56
commit
c5207a5406
2 changed files with 29 additions and 1 deletions
19
flake.lock
generated
19
flake.lock
generated
|
|
@ -128,6 +128,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-unstable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1753939845,
|
||||||
|
"narHash": "sha256-K2ViRJfdVGE8tpJejs8Qpvvejks1+A4GQej/lBk5y7I=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "94def634a20494ee057c76998843c015909d6311",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734119587,
|
"lastModified": 1734119587,
|
||||||
|
|
@ -181,7 +197,8 @@
|
||||||
"ags": "ags",
|
"ags": "ags",
|
||||||
"colmena": "colmena",
|
"colmena": "colmena",
|
||||||
"grub2-themes": "grub2-themes",
|
"grub2-themes": "grub2-themes",
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4",
|
||||||
|
"nixpkgs-unstable": "nixpkgs-unstable"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"stable": {
|
"stable": {
|
||||||
|
|
|
||||||
11
flake.nix
11
flake.nix
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||||
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
#home-manager = {
|
#home-manager = {
|
||||||
# url = "github:nix-community/home-manager";
|
# url = "github:nix-community/home-manager";
|
||||||
|
|
@ -19,6 +20,7 @@
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
nixpkgs-unstable,
|
||||||
grub2-themes,
|
grub2-themes,
|
||||||
colmena,
|
colmena,
|
||||||
...
|
...
|
||||||
|
|
@ -31,6 +33,13 @@
|
||||||
allowUnfree = false; # sanity check
|
allowUnfree = false; # sanity check
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pkgs-unstable = import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
config = {
|
||||||
|
allowUnfree = true; # TODO: bandaid solution... (for minecraft-server)
|
||||||
|
};
|
||||||
|
};
|
||||||
# TODO: come back to this its really cool
|
# TODO: come back to this its really cool
|
||||||
# this is just something I'm experimenting with
|
# this is just something I'm experimenting with
|
||||||
# PROJECT_ROOT = builtins.toString ./.;
|
# PROJECT_ROOT = builtins.toString ./.;
|
||||||
|
|
@ -71,6 +80,8 @@
|
||||||
colmenaHive = colmena.lib.makeHive {
|
colmenaHive = colmena.lib.makeHive {
|
||||||
meta = {
|
meta = {
|
||||||
nixpkgs = pkgs;
|
nixpkgs = pkgs;
|
||||||
|
specialArgs = {inherit pkgs-unstable;};
|
||||||
|
|
||||||
# set nixpkgs per server
|
# set nixpkgs per server
|
||||||
nodeNixpkgs = {
|
nodeNixpkgs = {
|
||||||
hyrule = import nixpkgs {
|
hyrule = import nixpkgs {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue