Move to flake based unstable import

This commit is contained in:
Jimbo 2025-02-25 02:14:16 -05:00
parent 611eaab26c
commit 2c4749f2cc
18 changed files with 17 additions and 29 deletions

View file

@ -1,11 +1,16 @@
{ unstable, lib, pkgs, ... }:
{ config, lib, pkgs, unstable, ... }:
{
nix = {
package = lib.mkForce pkgs.nix;
registry.unstable.flake = unstable;
settings.experimental-features = [
"nix-command"
"flakes"
];
registry.unstable.flake = unstable;
};
_module.args.pkgsUnstable = import unstable {
inherit (pkgs.stdenv.hostPlatform) system;
inherit (config.nixpkgs) config;
};
}