treewide: remove config dependency on docs (#7547)

Tested with rebased
https://github.com/nix-community/home-manager/pull/6411 so I could find
all instances of config usage in docs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Robert Helgesson <robert@rycee.net>
This commit is contained in:
Austin Horstman 2025-07-26 17:11:53 -05:00 committed by GitHub
parent 37fec70bd5
commit 2b73c2fcca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 73 additions and 41 deletions

View file

@ -308,6 +308,7 @@ in
mutableExtensionsDir = mkOption {
type = types.bool;
default = allProfilesExceptDefault == { };
defaultText = lib.literalExpression "(removeAttrs config.programs.vscode.profiles [ \"default\" ]) == { }";
example = false;
description = ''
Whether extensions can be installed or updated manually