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
1 changed files with 1 additions and 11 deletions

View File

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