223 lines
7.6 KiB
Nix
223 lines
7.6 KiB
Nix
{ pkgs, lib, config, ... }:
|
|
let
|
|
thmFile = config.lib.base16.templateFile;
|
|
thm = config.lib.base16.theme;
|
|
in
|
|
{
|
|
home-manager.users.alukard = {
|
|
programs.vscode = {
|
|
enable = true;
|
|
package = pkgs.vscode;
|
|
extensions = pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
|
{
|
|
name = "better-comments";
|
|
publisher = "aaron-bond";
|
|
version = "2.1.0";
|
|
sha256 = "0kmmk6bpsdrvbb7dqf0d3annpg41n9g6ljzc1dh0akjzpbchdcwp";
|
|
} {
|
|
name = "Bookmarks";
|
|
publisher = "alefragnani";
|
|
version = "13.2.2";
|
|
sha256 = "17fyk8hr9ml0fx6qfyrkd0hbsb9r9s4s95w3yzly2glbwpwn5mm5";
|
|
} {
|
|
name = "project-manager";
|
|
publisher = "alefragnani";
|
|
version = "12.4.0";
|
|
sha256 = "0q6zkz7pqz2prmr01h17h9a5q6cn6bjgcxggy69c84j8h2w905wy";
|
|
} {
|
|
name = "nix-env-selector";
|
|
publisher = "arrterian";
|
|
version = "1.0.7";
|
|
sha256 = "0mralimyzhyp4x9q98x3ck64ifbjqdp8cxcami7clvdvkmf8hxhf";
|
|
} {
|
|
name = "Nix";
|
|
publisher = "bbenoist";
|
|
version = "1.0.1";
|
|
sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b";
|
|
} {
|
|
name = "better-toml";
|
|
publisher = "bungcip";
|
|
version = "0.3.2";
|
|
sha256 = "08lhzhrn6p0xwi0hcyp6lj9bvpfj87vr99klzsiy8ji7621dzql3";
|
|
} {
|
|
name = "path-intellisense";
|
|
publisher = "christian-kohler";
|
|
version = "2.7.0";
|
|
sha256 = "11jbaz8dlr9zmamikgii6pvbncsm61bhkipfarlqrisgfk99im9w";
|
|
} {
|
|
name = "gitignore";
|
|
publisher = "codezombiech";
|
|
version = "0.7.0";
|
|
sha256 = "0fm4sxx1cb679vn4v85dw8dfp5x0p74m9p2b56gqkvdap0f2q351";
|
|
} {
|
|
name = "dart-code";
|
|
publisher = "Dart-Code";
|
|
version = "3.33.20220111";
|
|
sha256 = "14jc0vh7swn2ijmgc496wjfrk5mbv4yrjpzxq3n9z1l5390sz30x";
|
|
} {
|
|
name = "flutter";
|
|
publisher = "Dart-Code";
|
|
version = "3.32.0";
|
|
sha256 = "02zk6889n9m4s44ygnid28mg9bghrdcj0wg8ma1g1yqx7jv554l6";
|
|
} {
|
|
name = "wal-theme";
|
|
publisher = "dlasagno";
|
|
version = "1.2.0";
|
|
sha256 = "17130z04jg8hhj1k62q3d3lni10hajrckf1y95bbnm2d57j8spjz";
|
|
} {
|
|
name = "gitlens";
|
|
publisher = "eamodio";
|
|
version = "11.7.0";
|
|
sha256 = "0apjjlfdwljqih394ggz2d8m599pyyjrb0b4cfcz83601b7hk3x6";
|
|
} {
|
|
name = "tokyo-night";
|
|
publisher = "enkia";
|
|
version = "0.8.4";
|
|
sha256 = "15ab2k0xs8kvws8zq0irch4cvq1dc0zr3xynj0qn78zzbgwq92c7";
|
|
} {
|
|
name = "vscode-pull-request-github";
|
|
publisher = "GitHub";
|
|
version = "0.35.2022012009";
|
|
sha256 = "0rbky4cy6r0nw32pqfjj854nj9kf3f5dc6v38mf4wvzmxd5nb6bj";
|
|
} {
|
|
name = "vscode-env";
|
|
publisher = "IronGeek";
|
|
version = "0.1.0";
|
|
sha256 = "1ygfx1p38dqpk032n3x0591i274a63axh992gn6z1d45ag9bs6ji";
|
|
} {
|
|
name = "plantuml";
|
|
publisher = "jebbs";
|
|
version = "2.17.2";
|
|
sha256 = "0yxnfq34g563w96dwfirqscjfclhzr48yb9cwfjjf0c0l638x9vv";
|
|
} {
|
|
name = "codeacejumper";
|
|
publisher = "lucax88x";
|
|
version = "3.3.2";
|
|
sha256 = "02a5f0lg0rmrjjf52z30mk19ii71pcdxjmbcb4v6haw1pkm6anqn";
|
|
} {
|
|
name = "flutter-tree";
|
|
publisher = "marcelovelasquez";
|
|
version = "1.0.0";
|
|
sha256 = "08glv02b5d5f4jfdfddg62jvdzscinl2jhsb7gpz36rxrbp0f17s";
|
|
} {
|
|
name = "git-graph";
|
|
publisher = "mhutchie";
|
|
version = "1.30.0";
|
|
sha256 = "000zhgzijf3h6abhv4p3cz99ykj6489wfn81j0s691prr8q9lxxh";
|
|
} {
|
|
name = "remote-ssh";
|
|
publisher = "ms-vscode-remote";
|
|
version = "0.71.2021121615";
|
|
sha256 = "1lh08157z7lialb0dxls9fhahmf5l9wz6x2anwrnycvs512lpr1p";
|
|
} {
|
|
name = "awesome-flutter-snippets";
|
|
publisher = "Nash";
|
|
version = "3.0.2";
|
|
sha256 = "009z6k719w0sypzsk53wiard3j3d8bq9b0g9s82vw3wc4jvkc3hr";
|
|
} {
|
|
name = "color-highlight";
|
|
publisher = "naumovs";
|
|
version = "2.5.0";
|
|
sha256 = "0ri1rylg0r9r1kdc67815gjlq5fwnb26xpyziva6a40brrbh70vm";
|
|
} {
|
|
name = "material-icon-theme";
|
|
publisher = "PKief";
|
|
version = "4.11.0";
|
|
sha256 = "1l2s8j645riqjmj09i3v71s8ycin5vd6brdp35z472fnk6wyi1y6";
|
|
} {
|
|
name = "gruvbox-material";
|
|
publisher = "sainnhe";
|
|
version = "6.5.0";
|
|
sha256 = "1r9kgwrh6jjp8i6aa07prhrb398d5isf9ics4wmdbvd6k0gnzf8n";
|
|
}
|
|
];
|
|
userSettings = {
|
|
"update.mode" = "none";
|
|
"telemetry.telemetryLevel" = "off";
|
|
"editor.fontFamily" = "'Victor Mono', 'Fira Code', 'Font Awesome 5 Free', 'Font Awesome 5 Free Solid', 'Material Icons'";
|
|
"editor.fontLigatures" = true;
|
|
"editor.fontWeight" = "600";
|
|
"editor.fontSize" = 16;
|
|
"workbench.iconTheme" = "material-icon-theme";
|
|
"workbench.colorTheme" = "Tokyo Night";
|
|
"files.autoSave" = "afterDelay";
|
|
"cSpell.language" = "en,ru";
|
|
"editor.quickSuggestions" = {
|
|
"other" = true;
|
|
"comments" = false;
|
|
"strings" = true;
|
|
};
|
|
"hexdump.littleEndian" = true;
|
|
"files.trimTrailingWhitespace" = true;
|
|
"[dart]" = {
|
|
"editor.formatOnSave" = true;
|
|
"editor.formatOnType" = true;
|
|
"editor.rulers" = [
|
|
80
|
|
];
|
|
"editor.selectionHighlight" = false;
|
|
"editor.suggest.snippetsPreventQuickSuggestions" = false;
|
|
"editor.suggestSelection" = "first";
|
|
"editor.tabCompletion" = "onlySnippets";
|
|
"editor.wordBasedSuggestions" = false;
|
|
};
|
|
"[nix]" = {
|
|
"editor.tabSize" = 2;
|
|
"editor.detectIndentation" = true;
|
|
};
|
|
"dart.allowAnalytics" = false;
|
|
"dart.flutterCreateOrganization" = "com.ataraxiadev";
|
|
"files.exclude" = {
|
|
"**/.classpath" = true;
|
|
"**/.project" = true;
|
|
"**/.settings" = true;
|
|
"**/.factorypath" = true;
|
|
"**/.direnv" = true;
|
|
};
|
|
"gruvboxMaterial.darkContrast" = "medium";
|
|
"dart.debugSdkLibraries" = true;
|
|
"dart.checkForSdkUpdates" = false;
|
|
"window.menuBarVisibility" = "toggle";
|
|
"terminal.integrated.fontFamily" = "IBM Plex Mono for Powerline";
|
|
"terminal.integrated.fontWeight" = "500";
|
|
"files.watcherExclude" = {
|
|
"**/.direnv" = true;
|
|
};
|
|
"search.exclude" = {
|
|
"**/.direnv" = true;
|
|
};
|
|
"git.enableCommitSigning" = true;
|
|
"git-graph.repository.sign.commits" = true;
|
|
"git-graph.repository.sign.tags" = true;
|
|
"remote.SSH.configFile" = "/home/alukard/.ssh/remote_config";
|
|
"editor.bracketPairColorization.enabled" = true;
|
|
"editor.guides.bracketPairs" = "active";
|
|
};
|
|
};
|
|
|
|
home.file.".cache/wal/colors".text = ''
|
|
#${thm.base00-hex}
|
|
#${thm.base08-hex}
|
|
#${thm.base0B-hex}
|
|
#${thm.base0A-hex}
|
|
#${thm.base0D-hex}
|
|
#${thm.base0E-hex}
|
|
#${thm.base0C-hex}
|
|
#${thm.base05-hex}
|
|
#${thm.base03-hex}
|
|
#${thm.base08-hex}
|
|
#${thm.base0B-hex}
|
|
#${thm.base0A-hex}
|
|
#${thm.base0D-hex}
|
|
#${thm.base0E-hex}
|
|
#${thm.base0C-hex}
|
|
#${thm.base07-hex}
|
|
'';
|
|
};
|
|
|
|
defaultApplications.editor = {
|
|
cmd = "${pkgs.vscode}/bin/code";
|
|
desktop = "code";
|
|
};
|
|
}
|