Minimize pkgs use, add stable channel for unstable systems, more separation and such
This commit is contained in:
parent
e2c86171a5
commit
9190e09c93
23 changed files with 112 additions and 93 deletions
11
modules/system/settings/nix/channels/default.nix
Normal file
11
modules/system/settings/nix/channels/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, pkgs, stable, unstable, ... }:
|
||||
{
|
||||
_module.args.pkgsStable = import stable {
|
||||
inherit (pkgs.stdenv.hostPlatform) system;
|
||||
inherit (config.nixpkgs) config;
|
||||
};
|
||||
_module.args.pkgsUnstable = import unstable {
|
||||
inherit (pkgs.stdenv.hostPlatform) system;
|
||||
inherit (config.nixpkgs) config;
|
||||
};
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
{ config, lib, pkgs, unstable, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./channels
|
||||
./gc
|
||||
./unfree
|
||||
];
|
||||
|
@ -16,9 +17,4 @@
|
|||
trusted-users = [ "@wheel" ];
|
||||
};
|
||||
};
|
||||
|
||||
_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