Moved productive specialisation systemPackages to the correct place
This commit is contained in:
parent
1c43207211
commit
6d01a0c3d0
2 changed files with 6 additions and 3 deletions
|
|
@ -270,8 +270,10 @@ in
|
|||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
# putting environment.systemPackages in specialisation does not work
|
||||
environment.systemPackages = if config.specialisation != {} then basePackages ++ unproductivePackages else basePackages;
|
||||
# configuring this with lib.mkDefault always uses the productive definition and configuring the productive definition with an override value less than a 100 produces a non-working system
|
||||
environment.systemPackages = lib.mkIf (config.specialisation != { }) (
|
||||
basePackages ++ unproductivePackages
|
||||
);
|
||||
|
||||
fonts.packages = with pkgs; [ nerd-fonts.hack ];
|
||||
|
||||
|
|
@ -323,6 +325,7 @@ in
|
|||
productive = {
|
||||
inheritParentConfig = true;
|
||||
configuration = {
|
||||
environment.systemPackages = basePackages;
|
||||
programs.steam.enable = lib.mkOverride 99 false;
|
||||
services.blocky = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue