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:
parent
cfab26a768
commit
d9134ddb5d
|
@ -3,8 +3,8 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
quassel = pkgs.kde4.quasselDaemon;
|
|
||||||
cfg = config.services.quassel;
|
cfg = config.services.quassel;
|
||||||
|
quassel = cfg.package;
|
||||||
user = if cfg.user != null then cfg.user else "quassel";
|
user = if cfg.user != null then cfg.user else "quassel";
|
||||||
in
|
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 {
|
interfaces = mkOption {
|
||||||
default = [ "127.0.0.1" ];
|
default = [ "127.0.0.1" ];
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Reference in a new issue