From c4a0ebe7794b8ab7092cc218d93dbeab7c83d6a4 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sat, 14 Aug 2021 16:37:56 -0400 Subject: [PATCH] add vscode config to etc --- modules/profiles.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/profiles.nix b/modules/profiles.nix index 3769ec0..683a667 100644 --- a/modules/profiles.nix +++ b/modules/profiles.nix @@ -87,6 +87,24 @@ in ]; + environment.etc."vscode-user-settings.json".text = + "//usr/bin/env ln -sf $0 ~/.config/VSCodium/User/settings.json; exit 0" + + "\n" + builtins.toJSON { + "editor.renderFinalNewline" = false; + "editor.scrollBeyondLastLine" = false; + "extensions.autoCheckUpdates" = false; + "extensions.autoUpdate" = false; + "files.insertFinalNewline" = true; + "files.trimFinalNewlines" = true; + "git.confirmSync" = false; + "python.showStartPage" = false; + "terminal.integrated.fontFamily" = "Liberation Mono"; + "update.mode" = "none"; + "update.showReleaseNotes" = false; + "window.menuBarVisibility" = "hidden"; + "workbench.startupEditor" = "none"; + }; + programs.steam.enable = true; virtualisation.docker = { enable = true; enableOnBoot = false; };