mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
@@ -144,6 +144,15 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
controlPersist = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "no";
|
||||||
|
example = "10m";
|
||||||
|
description = ''
|
||||||
|
Whether control socket should remain open in the background.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
matchBlocks = mkOption {
|
matchBlocks = mkOption {
|
||||||
type = types.listOf matchBlockModule;
|
type = types.listOf matchBlockModule;
|
||||||
default = [];
|
default = [];
|
||||||
@@ -158,6 +167,7 @@ in
|
|||||||
ForwardAgent ${yn cfg.forwardAgent}
|
ForwardAgent ${yn cfg.forwardAgent}
|
||||||
ControlMaster ${cfg.controlMaster}
|
ControlMaster ${cfg.controlMaster}
|
||||||
ControlPath ${cfg.controlPath}
|
ControlPath ${cfg.controlPath}
|
||||||
|
ControlPersist ${cfg.controlPersist}
|
||||||
|
|
||||||
${concatStringsSep "\n\n" (map matchBlockStr cfg.matchBlocks)}
|
${concatStringsSep "\n\n" (map matchBlockStr cfg.matchBlocks)}
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user