mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
* An option to activate additional KDE packages.
svn path=/nixos/trunk/; revision=14888
This commit is contained in:
parent
d5e97ab056
commit
4be528a72c
@ -3083,6 +3083,22 @@ root ALL=(ALL) SETENV: ALL
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
kde = {
|
||||
|
||||
extraPackages = mkOption {
|
||||
default = [];
|
||||
merge = backwardPkgsFunListMerge;
|
||||
description = ''
|
||||
Additional KDE packages to be used when
|
||||
<option>services.xserver.sessionType</option> is
|
||||
<literal>"kde"</literal> or <literal>"kde4"</literal>.
|
||||
By default, you only get the KDE base packages.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
passthru = mkOption {
|
||||
default = {};
|
||||
@ -3093,6 +3109,7 @@ root ALL=(ALL) SETENV: ALL
|
||||
";
|
||||
};
|
||||
|
||||
|
||||
require = [
|
||||
# newtworking
|
||||
(import ../upstart-jobs/dhclient.nix)
|
||||
|
@ -280,7 +280,8 @@ rec {
|
||||
++ pkgs.lib.optionals (config.services.xserver.sessionType == "kde")
|
||||
[ pkgs.kdebase
|
||||
pkgs.kdelibs
|
||||
];
|
||||
]
|
||||
++ config.kde.extraPackages;
|
||||
|
||||
|
||||
usersGroups = import ./users-groups.nix { inherit pkgs config upstartJobs defaultShell; };
|
||||
|
Loading…
Reference in New Issue
Block a user