summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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;
+ };
}