summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2025-02-09 18:25:15 +0100
committerMel <einebeere@gmail.com>2025-02-09 18:25:15 +0100
commitb23a868f8f7b3303363acd89e987dc448a445626 (patch)
tree01ce4bb5e7139cc0f432e00c0bc0e4cc474f3469 /modules/home
parente5cac4cde47a4b351bd0919b25a391ad7184616f (diff)
downloadminerals-b23a868f8f7b3303363acd89e987dc448a445626.tar.zst
minerals-b23a868f8f7b3303363acd89e987dc448a445626.zip
Make VSCodium settings.json file mutable
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/code.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/home/code.nix b/modules/home/code.nix
index 7580246..e736c11 100644
--- a/modules/home/code.nix
+++ b/modules/home/code.nix
@@ -1,4 +1,5 @@
{
+ config,
pkgs,
unstablePkgs,
lib,
@@ -70,4 +71,11 @@ in
keybindings = keybindings;
userSettings = settings;
};
+
+ # also make the user-settings file mutable, since most
+ # vscode extensions don't like read-only configuration files.
+ home.file."${config.xdg.configHome}/VSCodium/User/settings.json" = {
+ mutable = true;
+ force = true;
+ };
}