mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 21:49:48 +01:00
parent
31655a1621
commit
bea9daabeb
1 changed files with 10 additions and 0 deletions
|
@ -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 {
|
||||
type = types.listOf matchBlockModule;
|
||||
default = [];
|
||||
|
@ -158,6 +167,7 @@ in
|
|||
ForwardAgent ${yn cfg.forwardAgent}
|
||||
ControlMaster ${cfg.controlMaster}
|
||||
ControlPath ${cfg.controlPath}
|
||||
ControlPersist ${cfg.controlPersist}
|
||||
|
||||
${concatStringsSep "\n\n" (map matchBlockStr cfg.matchBlocks)}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue