Move to flake based unstable import
This commit is contained in:
parent
611eaab26c
commit
2c4749f2cc
18 changed files with 17 additions and 29 deletions
|
@ -7,7 +7,7 @@
|
|||
./settings
|
||||
./wms
|
||||
./user
|
||||
../extras
|
||||
../variables
|
||||
|
||||
# Imports
|
||||
nur.modules.homeManager.default
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue