mirror of
https://github.com/nix-community/home-manager
synced 2024-06-01 04:23:34 +02:00
Merge 714a5a68a3
into 0c5704ecee
This commit is contained in:
commit
671e43e8fd
|
@ -50,6 +50,9 @@ let
|
|||
// optionalAttrs (!cfg.enableUpdateCheck) { "update.mode" = "none"; }
|
||||
// optionalAttrs (!cfg.enableExtensionUpdateCheck) {
|
||||
"extensions.autoCheckUpdates" = false;
|
||||
} // optionalAttrs (!cfg.enableExtensionUpdate) {
|
||||
"extensions.autoUpdate" = false;
|
||||
"extensions.autoCheckUpdates" = false;
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
|
@ -82,6 +85,15 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
enableExtensionUpdate = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable automatic extension updates.
|
||||
Disabling this also disables update checks.
|
||||
'';
|
||||
};
|
||||
|
||||
enableExtensionUpdateCheck = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user