From 3c6ae47748a550b713a9189692093a301a340440 Mon Sep 17 00:00:00 2001 From: Luna Simons Date: Fri, 27 Sep 2024 14:29:56 +0200 Subject: [PATCH] fix(systems/lavender): added stateVersion --- modules/home/vscode/default.nix | 10 ++++++++++ systems/lavender/default.nix | 3 +++ systems/module.nix | 5 +++-- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 systems/lavender/default.nix diff --git a/modules/home/vscode/default.nix b/modules/home/vscode/default.nix index be247a1..50fc5a2 100644 --- a/modules/home/vscode/default.nix +++ b/modules/home/vscode/default.nix @@ -20,6 +20,16 @@ "workbench.iconTheme" = "catppuccin-macchiato"; "workbench.startupEditor" = "none"; "workbench.tree.indent" = 16; + + "rust-analyzer.lens.implementations.enable" = false; + + "[svelte]" = { + "editor.defaultFormatter" = "esbenp.prettier-vscode"; + }; + + "[typescript]" = { + "editor.defaultFormatter" = "esbenp.prettier-vscode"; + }; }; extensions = with pkgs.vscode-extensions; [ diff --git a/systems/lavender/default.nix b/systems/lavender/default.nix new file mode 100644 index 0000000..40e30cf --- /dev/null +++ b/systems/lavender/default.nix @@ -0,0 +1,3 @@ +{ + system.stateVersion = 5; +} diff --git a/systems/module.nix b/systems/module.nix index 8f8eb06..82ff414 100644 --- a/systems/module.nix +++ b/systems/module.nix @@ -18,8 +18,9 @@ }; mkDarwin = host: system: { - "${host}" = - mkStrappedSystem host system darwinSystem []; + "${host}" = mkStrappedSystem host system darwinSystem [ + ./${host} + ]; }; in { flake = {