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
11
flake.nix
11
flake.nix
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
#home-manager = {
|
||||
# url = "github:nix-community/home-manager";
|
||||
|
|
@ -19,6 +20,7 @@
|
|||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-unstable,
|
||||
grub2-themes,
|
||||
colmena,
|
||||
...
|
||||
|
|
@ -31,6 +33,13 @@
|
|||
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
|
||||
# this is just something I'm experimenting with
|
||||
# PROJECT_ROOT = builtins.toString ./.;
|
||||
|
|
@ -71,6 +80,8 @@
|
|||
colmenaHive = colmena.lib.makeHive {
|
||||
meta = {
|
||||
nixpkgs = pkgs;
|
||||
specialArgs = {inherit pkgs-unstable;};
|
||||
|
||||
# set nixpkgs per server
|
||||
nodeNixpkgs = {
|
||||
hyrule = import nixpkgs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue