Format project with official nixfmt formatter (#21)

* Set nix official formatter for the flake

* format the entire project
This commit is contained in:
Gaétan Lepage
2025-10-15 22:09:51 +02:00
committed by GitHub
parent 98b3c63572
commit fba993c589
34 changed files with 375 additions and 281 deletions
+14 -11
View File
@@ -2,28 +2,31 @@
config,
pkgs,
...
}: let
}:
let
cfg = config.omarchy;
themes = import ../themes.nix;
theme = themes.${cfg.theme};
in {
in
{
programs.vscode = {
enable = true;
profiles.default = {
# This is actually turning out to be super annoying whenever I need
# This is actually turning out to be super annoying whenever I need
# to change settings on the fly. Disabling until I have time to research.
# In the meantime themes are broken
# userSettings =
# {
# "workbench.colorTheme" = theme.vscode-theme;
# "vim.useCtrlKeys" = false;
# "editor.minimap.enabled" = false;
# }
# // cfg.vscode_settings;
# {
# "workbench.colorTheme" = theme.vscode-theme;
# "vim.useCtrlKeys" = false;
# "editor.minimap.enabled" = false;
# }
extensions = with pkgs.vscode-extensions;
# // cfg.vscode_settings;
extensions =
with pkgs.vscode-extensions;
[
bbenoist.nix
vscodevim.vim