Flake for my NixOS devices
at ellis-patches 156 lines 5.2 kB view raw
1{pkgs, ...}: { 2 # Because vsc is annoying with not following fallbacks 3 # fonts.packages = with pkgs; [nerd-fonts.fira-code]; 4 # 5 # home-manager.users.bean = { 6 # home.file.".vscode/argv.json".text = builtins.toJSON { 7 # "enable-crash-reporter" = false; 8 # "crash-reporter-id" = ""; 9 # "password-store" = "gnome-libsecret"; 10 # }; 11 # 12 # programs.vscode = { 13 # enable = true; 14 # enableUpdateCheck = false; 15 # enableExtensionUpdateCheck = false; 16 # mutableExtensionsDir = false; 17 # 18 # extensions = with pkgs.vscode-extensions; [ 19 # # Theme 20 # (pkgs.catppuccin-vsc.override { 21 # accent = "green"; 22 # boldKeywords = true; 23 # italicComments = true; 24 # italicKeywords = true; 25 # extraBordersEnabled = false; 26 # workbenchMode = "default"; 27 # bracketMode = "rainbow"; 28 # colorOverrides = {}; 29 # customUIColors = {}; 30 # }) 31 # catppuccin.catppuccin-vsc-icons 32 # 33 # # Nix 34 # bbenoist.nix 35 # kamadorueda.alejandra 36 # 37 # # Markdown 38 # yzhang.markdown-all-in-one 39 # bierner.markdown-mermaid 40 # davidanson.vscode-markdownlint 41 # 42 # # Rust 43 # rust-lang.rust-analyzer 44 # tamasfe.even-better-toml 45 # 46 # # C / C++ 47 # ms-vscode.cpptools 48 # twxs.cmake 49 # 50 # # Java 51 # redhat.java 52 # 53 # # Typescript / Javascript 54 # denoland.vscode-deno 55 # yoavbls.pretty-ts-errors 56 # dbaeumer.vscode-eslint 57 # esbenp.prettier-vscode 58 # 59 # # Astro 60 # astro-build.astro-vscode 61 # unifiedjs.vscode-mdx 62 # 63 # # Misc. Web 64 # bradlc.vscode-tailwindcss 65 # 66 # # .NET 67 # ms-dotnettools.csharp 68 # ms-dotnettools.vscode-dotnet-runtime 69 # 70 # # Python 71 # ms-python.python 72 # ms-python.vscode-pylance 73 # wholroyd.jinja 74 # 75 # # XML 76 # redhat.vscode-xml 77 # 78 # # Spelling / Grammar 79 # yzhang.dictionary-completion 80 # tekumara.typos-vscode 81 # 82 # # GitHub 83 # github.vscode-pull-request-github 84 # github.vscode-github-actions 85 # 86 # # Misc. 87 # skellock.just 88 # thenuprojectcontributors.vscode-nushell-lang 89 # fill-labs.dependi 90 # zhwu95.riscv 91 # redhat.vscode-yaml 92 # ms-vsliveshare.vsliveshare 93 # leonardssh.vscord 94 # ]; 95 # 96 # userSettings = { 97 # "window.zoomLevel" = 2; 98 # "telemetry.telemetryLevel" = "off"; 99 # "update.mode" = "manual"; 100 # "update.showReleaseNotes" = false; 101 # "editor.fontFamily" = "Monospace, FiraCode Nerd Font Mono"; 102 # "terminal.integrated.fontFamily" = "Monospace, FiraCode Nerd Font Mono"; 103 # "editor.fontLigatures" = true; 104 # "editor.detectIndentation" = true; 105 # "editor.multiCursorModifier" = "ctrlCmd"; 106 # "editor.minimap.enabled" = false; 107 # "editor.fontSize" = 16; 108 # "terminal.integrated.fontSize" = 16; 109 # "workbench.colorTheme" = "Catppuccin Mocha"; 110 # "workbench.iconTheme" = "catppuccin-mocha"; 111 # "workbench.startupEditor" = "none"; 112 # "workbench.welcomePage.walkthroughs.openOnInstall" = false; 113 # "terminal.integrated.smoothScrolling" = true; 114 # "explorer.compactFolders" = false; 115 # "explorer.confirmDelete" = false; 116 # "explorer.confirmDragAndDrop" = false; 117 # "git.openRepositoryInParentFolders" = "never"; 118 # "extensions.autoUpdate" = false; 119 # "extensions.ignoreRecommendations" = true; 120 # "javascript.updateImportsOnFileMove.enabled" = "always"; 121 # "typescript.updateImportsOnFileMove.enabled" = "always"; 122 # "githubPullRequests.pullBranch" = "never"; 123 # "vscord.app.name" = "Visual Studio Code"; 124 # "vscord.status.idle.disconnectOnIdle" = true; 125 # "vscord.behaviour.suppressNotifications" = true; 126 # "material-icon-theme.folders.color" = "#546E7B"; 127 # "redhat.telemetry.enabled" = false; 128 # "rust-analyzer.server.path" = "${pkgs.rust-analyzer}/bin/rust-analyzer"; 129 # "prettier.prettierPath" = "${pkgs.nodePackages.prettier}/lib/node_modules/prettier"; 130 # "rust-analyzer.cargo.allTargets" = false; 131 # "rust-analyzer.hover.actions.references.enable" = true; 132 # "dotnetAcquisitionExtension.enableTelemetry" = false; 133 # 134 # "[json][yaml][javascript][typescript][javascriptreact][typescriptreact][css][scss][less][tailwindcss][html][astro]" = { 135 # "editor.defaultFormatter" = "esbenp.prettier-vscode"; 136 # }; 137 # 138 # "[python]" = { 139 # "editor.defaultFormatter" = "ms-python.black-formatter"; 140 # }; 141 # 142 # "[rust]" = { 143 # "editor.defaultFormatter" = "rust-lang.rust-analyzer"; 144 # }; 145 # 146 # "[nix]" = { 147 # "editor.defaultFormatter" = "kamadorueda.alejandra"; 148 # }; 149 # 150 # "[markdown]" = { 151 # "editor.defaultFormatter" = "DavidAnson.vscode-markdownlint"; 152 # }; 153 # }; 154 # }; 155 # }; 156}