nixos: remove redundant services.autossh.enable option

The service is enabled automatically when 'session' is non-empty.
This commit is contained in:
Peter Simons 2015-10-28 19:44:55 +01:00
parent c44a593aa4
commit b8dd60aaa6

View File

@ -16,14 +16,6 @@ in
services.autossh = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable the AutoSSH, the SSH sessions manager
'';
};
sessions = mkOption {
type = types.listOf (types.submodule {
options = {
@ -83,7 +75,7 @@ in
###### implementation
config = mkIf cfg.enable {
config = mkIf (cfg.sessions != []) {
systemd.services =
@ -120,5 +112,3 @@ in
};
}