enough styles
This commit is contained in:
parent
f02e292b01
commit
0722c39448
9 changed files with 5 additions and 866 deletions
|
|
@ -27,7 +27,7 @@ in {
|
|||
extraPackages = with pkgs; [ package-version-server ];
|
||||
userKeymaps = [
|
||||
{
|
||||
context = "Editor || vim_mode == normal";
|
||||
context = "vim_mode == normal";
|
||||
bindings = {
|
||||
"tab" = "pane::ActivateNextItem";
|
||||
"shift-tab" = "pane::ActivatePrevItem";
|
||||
|
|
@ -59,117 +59,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
programs.vscode = {
|
||||
package = pkgs.vscodium;
|
||||
userSettings = {
|
||||
"[nix]" = {
|
||||
"editor.formatOnPaste" = true;
|
||||
"editor.formatOnSave" = true;
|
||||
"editor.formatOnType" = false;
|
||||
};
|
||||
|
||||
"window.titleBarStyle" = "custom";
|
||||
|
||||
"files.insertFinalNewline" = true;
|
||||
|
||||
"alejandra.program" = "alejandra";
|
||||
|
||||
"workbench.startupEditor" = "none";
|
||||
|
||||
"editor.bracketPairColorization.enabled" = true;
|
||||
"editor.guides.bracketPairs" = "active";
|
||||
|
||||
"window.menuBarVisibility" = "toggle";
|
||||
|
||||
"workbench.sideBar.location" = "right";
|
||||
|
||||
"vim.overrideCopy" = true;
|
||||
"vim.useSystemClipboard" = true;
|
||||
"vim.easymotion" = true;
|
||||
"vim.sneak" = true;
|
||||
"vim.hlsearch" = true;
|
||||
"vim.ignorecase" = true;
|
||||
"vim.normalModeKeyBindings" = [
|
||||
{
|
||||
before = ["<Tab>"];
|
||||
commands = ["workbench.action.nextEditorInGroup"];
|
||||
}
|
||||
{
|
||||
before = ["<S-Tab>"];
|
||||
commands = ["workbench.action.previousEditorInGroup"];
|
||||
}
|
||||
];
|
||||
|
||||
"nix.formatterPath" = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt";
|
||||
"nix.enableLanguageServer" = true;
|
||||
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
||||
|
||||
"editor.formatOnSave" = true;
|
||||
|
||||
"elmLS.elmReviewDiagnostics" = "warning";
|
||||
|
||||
"elmLS.elmPath" = "${pkgs.elmPackages.elm}/bin/elm";
|
||||
"elmLS.elmReviewPath" = "${pkgs.elmPackages.elm-review}/bin/elm-review";
|
||||
"elmLS.elmFormatPath" = "${pkgs.elmPackages.elm-format}/bin/elm-format";
|
||||
|
||||
"rust-analyzer.diagnostics.disabled" = ["unresolved-proc-macro"];
|
||||
"rust-analyzer.checkOnSave.command" = "clippy";
|
||||
};
|
||||
extensions = with pkgs.vscode-extensions;
|
||||
[
|
||||
illixion.vscode-vibrancy-continued
|
||||
tamasfe.even-better-toml
|
||||
vscodevim.vim
|
||||
jnoortheen.nix-ide
|
||||
haskell.haskell
|
||||
justusadam.language-haskell
|
||||
dhall.dhall-lang
|
||||
dhall.vscode-dhall-lsp-server
|
||||
elmtooling.elm-ls-vscode
|
||||
kamadorueda.alejandra
|
||||
hashicorp.terraform
|
||||
serayuzgur.crates
|
||||
vadimcn.vscode-lldb
|
||||
(rust-lang.rust-analyzer.override {
|
||||
rust-analyzer = pkgs.writeShellScriptBin "rust-analyzer" ''
|
||||
exec rust-analyzer "$@"
|
||||
'';
|
||||
})
|
||||
]
|
||||
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
{
|
||||
name = "ide-purescript";
|
||||
publisher = "nwolverson";
|
||||
version = "0.25.11";
|
||||
sha256 = "sha256-9MgPAVfIdA7frR4EUDqVJB0N/LZY4NQSXtsKhEueNeg=";
|
||||
}
|
||||
{
|
||||
name = "language-purescript";
|
||||
publisher = "nwolverson";
|
||||
version = "0.2.8";
|
||||
sha256 = "sha256-2uOwCHvnlQQM8s8n7dtvIaMgpW8ROeoUraM02rncH9o=";
|
||||
}
|
||||
{
|
||||
name = "direnv";
|
||||
publisher = "mkhl";
|
||||
version = "0.6.1";
|
||||
sha256 = "sha256-5/Tqpn/7byl+z2ATflgKV1+rhdqj+XMEZNbGwDmGwLQ=";
|
||||
}
|
||||
{
|
||||
name = "vscode-test-explorer";
|
||||
publisher = "hbenl";
|
||||
version = "2.21.1";
|
||||
sha256 = "sha256-fHyePd8fYPt7zPHBGiVmd8fRx+IM3/cSBCyiI/C0VAg=";
|
||||
}
|
||||
{
|
||||
name = "test-adapter-converter";
|
||||
publisher = "ms-vscode";
|
||||
version = "0.1.6";
|
||||
sha256 = "sha256-UC8tUe+JJ3r8nb9SsPlvVXw74W75JWjMifk39JClRF4=";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
|
@ -232,42 +121,6 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
ezpcusr.uploadScript = pkgs.writeScript "upload_file.sh" ''
|
||||
#!${pkgs.zsh}/bin/zsh
|
||||
fileid=$(${pkgs.pwgen}/bin/pwgen 16 1)
|
||||
|
||||
extension=$(file "$1" --extension | cut -d' ' -f2 | sed 's/???/txt/')
|
||||
|
||||
ssh wizbos.club "cat > ~/public/uploads/$fileid.$extension" < "$1"
|
||||
echo "https://p.gen2.space/uploads/$fileid.$extension"
|
||||
'';
|
||||
|
||||
stylix.fonts = lib.genAttrs ["monospace" "sansSerif" "serif"] (_: {
|
||||
name = "AnonymicePro Nerd Font";
|
||||
package = pkgs.nerd-fonts.anonymice;
|
||||
}) // {
|
||||
sizes = lib.genAttrs ["applications" "desktop" "popups" "terminal"] (_: 11);
|
||||
};
|
||||
|
||||
stylix.base16Scheme = {
|
||||
base00 = "0b1c2c";
|
||||
base01 = "223b54";
|
||||
base02 = "405c79";
|
||||
base03 = "627e99";
|
||||
base04 = "aabcce";
|
||||
base05 = "cbd6e2";
|
||||
base06 = "e5ebf1";
|
||||
base07 = "f7f9fb";
|
||||
base08 = "bf8b56";
|
||||
base09 = "bfbf56";
|
||||
base0A = "8bbf56";
|
||||
base0B = "56bf8b";
|
||||
base0C = "568bbf";
|
||||
base0D = "8b56bf";
|
||||
base0E = "bf568b";
|
||||
base0F = "bf5656";
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
FZF_DEFAULT_COMMAND = "${pkgs.fd}/bin/fd --type f";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue