mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Revert "vscode: switch settings file from tmpfile to symlink"
This reverts commit 2e1a707c5e.
This commit is contained in:
parent
942fe21b1d
commit
a77cf818d1
1 changed files with 49 additions and 41 deletions
|
|
@ -13,8 +13,7 @@
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.vscodium;
|
package = pkgs-unstable.vscodium;
|
||||||
profiles.default = {
|
profiles.default.extensions =
|
||||||
extensions =
|
|
||||||
let
|
let
|
||||||
inherit (inputs.nix-vscode-extensions.extensions.${pkgs.system}) open-vsx;
|
inherit (inputs.nix-vscode-extensions.extensions.${pkgs.system}) open-vsx;
|
||||||
in
|
in
|
||||||
|
|
@ -27,7 +26,12 @@
|
||||||
open-vsx.github.github-vscode-theme
|
open-vsx.github.github-vscode-theme
|
||||||
open-vsx.pkief.material-icon-theme
|
open-vsx.pkief.material-icon-theme
|
||||||
];
|
];
|
||||||
userSettings = {
|
};
|
||||||
|
|
||||||
|
systemd.user.tmpfiles.rules =
|
||||||
|
let
|
||||||
|
settings = builtins.replaceStrings [ "," ] [ ",\\n" ] (
|
||||||
|
builtins.toJSON {
|
||||||
"workbench.colorTheme" =
|
"workbench.colorTheme" =
|
||||||
{
|
{
|
||||||
dark = "GitHub Dark";
|
dark = "GitHub Dark";
|
||||||
|
|
@ -53,8 +57,12 @@
|
||||||
"workbench.editor.decorations.colors" = false;
|
"workbench.editor.decorations.colors" = false;
|
||||||
"window.titleBarStyle" = "native";
|
"window.titleBarStyle" = "native";
|
||||||
"window.customTitleBarVisibility" = "never";
|
"window.customTitleBarVisibility" = "never";
|
||||||
};
|
}
|
||||||
};
|
);
|
||||||
};
|
in
|
||||||
|
[
|
||||||
|
"f+ %h/.config/VSCodium/User/settings.json - - - - ${settings}"
|
||||||
|
"f+ %h/.config/VSCodium/User/settings-default.json - - - - ${settings}"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue