···
12
-
map (pkg: lib.setPrio ((pkg.meta.priority or lib.meta.defaultPriority) + 3) pkg)
16
-
pkgs.bashInteractive # bash with ncurses support
37
-
config.programs.ssh.package
11
+
corePackageNames = [
14
+
"bashInteractive" # bash with ncurses support
48
+
lib.setPrio ((pkg.meta.priority or lib.meta.defaultPriority) + 3) pkg
50
+
++ [ pkgs.stdenv.cc.libc ];
51
+
corePackagesText = "[ ${lib.concatMapStringsSep " " (n: "pkgs.${n}") corePackageNames} ]";
···
89
+
corePackages = lib.mkOption {
90
+
type = lib.types.listOf lib.types.package;
91
+
defaultText = lib.literalMD ''
92
+
these packages, with their `meta.priority` numerically increased
93
+
(thus lowering their installation priority):
99
+
Set of core packages for a normal interactive system.
101
+
Only change this if you know what you're doing!
103
+
Like with systemPackages, packages are installed to
104
+
{file}`/run/current-system/sw`. They are
105
+
automatically available to all users, and are
106
+
automatically updated every time you rebuild the system
defaultPackages = lib.mkOption {
type = lib.types.listOf lib.types.package;
default = defaultPackages;
···
154
-
environment.systemPackages = requiredPackages ++ config.environment.defaultPackages;
182
+
# Set this here so that it has the right priority and allows ergonomic
184
+
environment.corePackages = corePackages;
186
+
environment.systemPackages = config.environment.corePackages ++ config.environment.defaultPackages;
environment.pathsToLink = [