From 12fa35eeead01d7cc51ee18c8128d8141b4f9ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Tue, 12 Apr 2022 19:29:22 -0600 Subject: [PATCH] mueve settings de codium a un archivo a parte --- home/codium.nix | 8 ++++++++ home/default.nix | 8 +------- 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 home/codium.nix diff --git a/home/codium.nix b/home/codium.nix new file mode 100644 index 0000000..f2f0083 --- /dev/null +++ b/home/codium.nix @@ -0,0 +1,8 @@ +{ + "files.autoSave" = "onFocusChange"; + "explorer.confirmDelete" = false; + "explorer.confirmDragAndDrop" = false; + "security.workspace.trust.enabled" = false; + "workbench.startupEditor" = "none"; + "workbench.colorTheme" = "Default High Contrast"; +} diff --git a/home/default.nix b/home/default.nix index 661328d..c089654 100644 --- a/home/default.nix +++ b/home/default.nix @@ -98,13 +98,7 @@ programs.vscode = { enable = true; package = pkgs.vscodium; - userSettings = { - "files.autoSave" = "onFocusChange"; - "explorer.confirmDelete" = false; - "explorer.confirmDragAndDrop" = false; - "security.workspace.trust.enabled" = false; - "workbench.startupEditor" = "none"; - }; + userSettings = import ./codium.nix; }; programs.git = {