diff --git a/nixos/common/hm-modules/vscode.nix b/nixos/common/hm-modules/vscode.nix index 6680e213..8a3ce1b5 100644 --- a/nixos/common/hm-modules/vscode.nix +++ b/nixos/common/hm-modules/vscode.nix @@ -56,12 +56,14 @@ in { ms-vscode.cpptools platformio.platformio-ide redhat.vscode-yaml + redhat.vscode-xml tamasfe.even-better-toml valentjn.vscode-ltex vscodevim.vim vadimcn.vscode-lldb xaver.clang-format sumneko.lua + davidlday.languagetool-linter ]; }; diff --git a/nixos/common/modules/gnome/hm.nix b/nixos/common/modules/gnome/hm.nix index 07cc96a8..babdec76 100644 --- a/nixos/common/modules/gnome/hm.nix +++ b/nixos/common/modules/gnome/hm.nix @@ -7,18 +7,15 @@ let generate_custom_keybindings = binds: { "org/gnome/settings-daemon/plugins/media-keys" = { - custom-keybindings = map - (name: - "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}/") + custom-keybindings = map (name: + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}/") (attrNames binds); }; - } // mapAttrs' - (name: - nameValuePair - "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}") - binds; -in -{ + } // mapAttrs' (name: + nameValuePair + "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}") + binds; +in { xdg.mimeApps.enable = true; xdg.mimeApps.defaultApplications = { "text/plain" = "org.gnome.TextEditor.desktop"; @@ -100,12 +97,12 @@ in raise-or-lower = [ "s" ]; switch-applications = [ "Tab" ]; switch-applications-backward = [ "Tab" ]; - move-to-workspace-1 = [ "exclam" ]; - move-to-workspace-2 = [ "at" ]; - move-to-workspace-3 = [ "numbersign" ]; - move-to-workspace-4 = [ "dollar" ]; - move-to-workspace-5 = [ "percent" ]; - move-to-workspace-6 = [ "asciicircum" ]; + move-to-workspace-1 = [ "1" ]; + move-to-workspace-2 = [ "2" ]; + move-to-workspace-3 = [ "3" ]; + move-to-workspace-4 = [ "4" ]; + move-to-workspace-5 = [ "5" ]; + move-to-workspace-6 = [ "6" ]; switch-to-workspace-1 = [ "1" ]; switch-to-workspace-2 = [ "2" ]; switch-to-workspace-3 = [ "3" ]; @@ -114,6 +111,7 @@ in switch-to-workspace-6 = [ "6" ]; toggle-fullscreen = [ "M" ]; toggle-maximized = [ "m" ]; + close = [ "Q" ]; }; "org/gnome/tweaks" = { show-extensions-notice = false; }; diff --git a/nixos/hosts/hades/bastion/configuration.nix b/nixos/hosts/hades/bastion/configuration.nix index 0ca18a7e..ab13ad55 100644 --- a/nixos/hosts/hades/bastion/configuration.nix +++ b/nixos/hosts/hades/bastion/configuration.nix @@ -6,12 +6,14 @@ environment.systemPackages = with pkgs; [ cachix + clang direnv git-crypt nix-update pinentry-curses ripgrep rsync + rustup tmux vault ];