forked from Shinonome/omarchy-nix
Format project with official nixfmt formatter (#21)
* Set nix official formatter for the flake * format the entire project
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user