mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 16:31:54 -05:00
Aly Raffauf
c112fcd6c5
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* flake: add stylix modules * yank enough to make hosts build with stylix enabled * add initial common stylix theme * waybar: remove custom colors * rofi: reimplement theme * rofi: transparency fix * rofi: remove old theme * swayosd: use stylix colors * remove theme.colors * remove remaining theme config outside icons + gtk settings * remove darkMode toggle * restore fuzzel module * randomWallpaper: disable * configs in sway * randomWallpaper: disable hyprpaper stylix config * swaylock: restore non-theme settings * hosts: fix wallpaper * waybar: restore colors * rofi: restore theme * rofi: use proper border color * harmonize font sizes * rofi: use borderRadius setting * tmux: remove theming * hosts: add preliminary stylix configs * randomWallpaper: force hyprpaper off * fallarbor: set correct wallpaper * rofi: fix transparency issues on hyprland * sway: override stylix indicator colors
104 lines
2.8 KiB
Nix
104 lines
2.8 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.ar.home;
|
|
in {
|
|
config = lib.mkIf cfg.apps.vsCodium.enable {
|
|
programs.vscode = {
|
|
enable = true;
|
|
package = pkgs.vscodium;
|
|
enableUpdateCheck = false;
|
|
enableExtensionUpdateCheck = false;
|
|
|
|
keybindings = [
|
|
{
|
|
"key" = "alt+e";
|
|
"command" = "workbench.action.quickOpen";
|
|
}
|
|
{
|
|
"key" = "ctrl+p";
|
|
"command" = "-workbench.action.quickOpen";
|
|
}
|
|
{
|
|
"key" = "ctrl+p";
|
|
"command" = "workbench.action.showCommands";
|
|
}
|
|
{
|
|
"key" = "ctrl+shift+p";
|
|
"command" = "-workbench.action.showCommands";
|
|
}
|
|
];
|
|
|
|
userSettings = {
|
|
"diffEditor.ignoreTrimWhitespace" = false;
|
|
"editor.fontSize" = config.stylix.fonts.sizes.applications + 3;
|
|
"editor.formatOnPaste" = true;
|
|
"editor.formatOnSave" = true;
|
|
"editor.formatOnType" = true;
|
|
"editor.rulers" = [80];
|
|
"editor.wordWrap" = "wordWrapColumn";
|
|
"editor.wordWrapColumn" = 80;
|
|
"explorer.confirmDelete" = false;
|
|
"files.autoSave" = "afterDelay";
|
|
"git.autofetch" = true;
|
|
"git.confirmSync" = false;
|
|
|
|
"nix" = {
|
|
"enableLanguageServer" = true;
|
|
"formatterPath" = lib.getExe pkgs.alejandra;
|
|
"serverPath" = lib.getExe pkgs.nixd;
|
|
|
|
"serverSettings" = {
|
|
"nil" = {
|
|
"diagnostics" = {
|
|
"ignored" = ["unused_binding" "unused_with"];
|
|
};
|
|
|
|
"formatting" = {
|
|
"command" = ["${lib.getExe pkgs.alejandra}"];
|
|
};
|
|
};
|
|
|
|
"nixd" = {
|
|
"formatting" = {
|
|
"command" = ["${lib.getExe pkgs.alejandra}"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
"[shellscript]" = {
|
|
"editor.defaultFormatter" = "foxundermoon.shell-format";
|
|
};
|
|
|
|
"shellformat.flag" = "-i 4";
|
|
|
|
"terminal.external.linuxExec" = lib.getExe cfg.defaultApps.terminal;
|
|
"terminal.integrated.fontSize" = config.stylix.fonts.sizes.terminal + 3;
|
|
"update.mode" = "none";
|
|
"window.menuBarVisibility" = "hidden";
|
|
"window.titleBarStyle" = lib.mkDefault "native";
|
|
"window.zoomPerWindow" = false;
|
|
};
|
|
|
|
extensions = with pkgs.vscode-extensions; [
|
|
coolbear.systemd-unit-file
|
|
foxundermoon.shell-format
|
|
github.vscode-github-actions
|
|
github.vscode-pull-request-github
|
|
jnoortheen.nix-ide
|
|
justusadam.language-haskell
|
|
ms-python.python
|
|
ms-vscode.cpptools-extension-pack
|
|
oderwat.indent-rainbow
|
|
rubymaniac.vscode-paste-and-indent
|
|
rust-lang.rust-analyzer
|
|
tomoki1207.pdf
|
|
];
|
|
};
|
|
};
|
|
}
|