···2323 '';
2424 };
25252626- interface = mkOption {
2727- default = "127.0.0.1";
2626+ interfaces = mkOption {
2727+ default = [ "127.0.0.1" ];
2828 description = ''
2929- The interface the Quassel daemon will be listening to. If `127.0.0.1',
3030- only clients on the local host can connect to it; if `0.0.0.0', clients
2929+ The interfaces the Quassel daemon will be listening to. If `[ 127.0.0.1 ]',
3030+ only clients on the local host can connect to it; if `[ 0.0.0.0 ]', clients
3131 can access it from any network interface.
3232 '';
3333 };
···88888989 serviceConfig =
9090 {
9191- ExecStart = "${quassel}/bin/quasselcore --listen=${cfg.interface} --port=${toString cfg.portNumber} --configdir=${cfg.dataDir}";
9191+ ExecStart = "${quassel}/bin/quasselcore --listen=${concatStringsSep '','' cfg.interfaces} --port=${toString cfg.portNumber} --configdir=${cfg.dataDir}";
9292 User = user;
9393 PermissionsStartOnly = true;
9494 };