1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Add a package option for quassel (#20159)

This commit is contained in:
uwap 2016-11-04 16:33:47 +01:00 committed by Profpatsch
parent cfab26a768
commit d9134ddb5d

View file

@ -3,8 +3,8 @@
with lib;
let
quassel = pkgs.kde4.quasselDaemon;
cfg = config.services.quassel;
quassel = cfg.package;
user = if cfg.user != null then cfg.user else "quassel";
in
@ -23,6 +23,15 @@ in
'';
};
package = mkOption {
type = types.package;
default = pkgs.kde4.quasselDaemon;
description = ''
The package of the quassel daemon.
'';
example = pkgs.quasselDaemon;
};
interfaces = mkOption {
default = [ "127.0.0.1" ];
description = ''