Compare commits
2 commits
8632688d6c
...
173f6e446b
Author | SHA1 | Date | |
---|---|---|---|
173f6e446b | |||
4338cea425 |
5 changed files with 99 additions and 107 deletions
|
@ -2,103 +2,91 @@
|
|||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
jdinhlife.gruvbox
|
||||
vscodevim.vim
|
||||
bbenoist.nix
|
||||
yzhang.markdown-all-in-one
|
||||
haskell.haskell
|
||||
justusadam.language-haskell
|
||||
maximedenes.vscoq
|
||||
james-yu.latex-workshop
|
||||
bbenoist.nix
|
||||
mkhl.direnv
|
||||
catppuccin.catppuccin-vsc
|
||||
valentjn.vscode-ltex
|
||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
{
|
||||
name = "theme-panda";
|
||||
publisher = "tinkertrain";
|
||||
version = "1.3.0";
|
||||
sha256 = "sha256-ijOXoby3FHgDhF2sibXnGpkldKNPCoEXCY0Iw0ndUtw=";
|
||||
}
|
||||
{
|
||||
name = "agda-mode";
|
||||
publisher = "banacorn";
|
||||
version = "0.4.7";
|
||||
sha256 = "sha256-gNa3n16lP3ooBRvGaugTua4IXcIzpMk7jBYMJDQsY00=";
|
||||
}
|
||||
{
|
||||
name = "yuck";
|
||||
publisher = "eww-yuck";
|
||||
version = "0.0.3";
|
||||
sha256 = "sha256-DITgLedaO0Ifrttu+ZXkiaVA7Ua5RXc4jXQHPYLqrcM=";
|
||||
}
|
||||
];
|
||||
userSettings = {
|
||||
"agdaMode.connection.agdaLanguageServer" = false;
|
||||
"agdaMode.highlighting.getHighlightWithThemeColors" = false;
|
||||
"editor.unicodeHighlight.ambiguousCharacters" = false;
|
||||
"editor.semanticHighlighting.enabled" = true;
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
# "workbench.iconTheme" = "catppuccin-mocha";
|
||||
"haskell.manageHLS" = "PATH";
|
||||
"editor.fontFamily" = "Berkeley Mono, DejaVu Sans Mono, monospace, Unifont";
|
||||
"terminal.integrated.minimumContrastRatio" = 1;
|
||||
"terminal.integrated.shellIntegration.enabled" = false;
|
||||
"terminal.integrated.profiles.linux" = {
|
||||
bash = null;
|
||||
zsh = {
|
||||
path = "/run/current-system/sw/bin/zsh";
|
||||
icon = "terminal-linux";
|
||||
};
|
||||
};
|
||||
"terminal.integrated.defaultProfile.linux" = "zsh";
|
||||
"vim.handleKeys" = {
|
||||
"<C-c>" = false;
|
||||
"<C-x>" = false;
|
||||
"<C-s>" = false;
|
||||
"<C-v>" = false;
|
||||
"<C-a>" = false;
|
||||
"<C-d>" = false;
|
||||
};
|
||||
"vim.overrideCopy" = false;
|
||||
"window.titleBarStyle" = "custom";
|
||||
"window.customMenuBarAltFocus" = false;
|
||||
"window.enableMenuBarMnemonics" = false;
|
||||
#"ltex.additionalRules.motherTongue" = "de-DE";
|
||||
#"ltex.language" = "de-DE";
|
||||
#"ltex.ltex-ls.path" = "/etc/profiles/per-user/leonv/";
|
||||
"ltex.java.path" = "/etc/profiles/per-user/leonv/";
|
||||
#"ltex.sentenceCacheSize" = 50000;
|
||||
#"ltex.java.maximumHeapSize" = 8192;
|
||||
"editor.tabSize" = 2;
|
||||
"explorer.excludeGitIgnore" = true;
|
||||
"files.exclude" = {
|
||||
"**/*.agdai" = true;
|
||||
};
|
||||
# try to fix agda suggestions:
|
||||
"editor.acceptSuggestionOnCommitCharacter" = false;
|
||||
"editor.minimap.enabled" = false;
|
||||
"editor.autoClosingOvertype" = "never";
|
||||
"editor.autoClosingBrackets" = "never";
|
||||
"editor.accessibilitySupport" = "off";
|
||||
};
|
||||
keybindings = [
|
||||
{
|
||||
key = "ctrl+shift+v";
|
||||
command = "extension.vim_ctrl+v";
|
||||
when = "editorTextFocus && vim.active && !inDebugRepl";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+=";
|
||||
command = "editor.action.fontZoomIn";
|
||||
when = "";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+-";
|
||||
command = "editor.action.fontZoomOut";
|
||||
when = "";
|
||||
}
|
||||
{
|
||||
name = "agda-mode";
|
||||
publisher = "banacorn";
|
||||
version = "0.4.7";
|
||||
sha256 = "sha256-gNa3n16lP3ooBRvGaugTua4IXcIzpMk7jBYMJDQsY00=";
|
||||
}
|
||||
{
|
||||
name = "yuck";
|
||||
publisher = "eww-yuck";
|
||||
version = "0.0.3";
|
||||
sha256 = "sha256-DITgLedaO0Ifrttu+ZXkiaVA7Ua5RXc4jXQHPYLqrcM=";
|
||||
}
|
||||
];
|
||||
userSettings = {
|
||||
"agdaMode.connection.agdaLanguageServer" = false;
|
||||
"agdaMode.highlighting.getHighlightWithThemeColors" = false;
|
||||
"editor.unicodeHighlight.ambiguousCharacters" = false;
|
||||
"editor.semanticHighlighting.enabled" = true;
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"haskell.manageHLS" = "PATH";
|
||||
"editor.fontFamily" = "Berkeley Mono, DejaVu Sans Mono, monospace, Unifont";
|
||||
"terminal.integrated.minimumContrastRatio" = 1;
|
||||
"terminal.integrated.shellIntegration.enabled" = false;
|
||||
"terminal.integrated.profiles.linux" = {
|
||||
bash = null;
|
||||
zsh = {
|
||||
path = "/run/current-system/sw/bin/zsh";
|
||||
icon = "terminal-linux";
|
||||
};
|
||||
};
|
||||
"terminal.integrated.defaultProfile.linux" = "zsh";
|
||||
"vim.handleKeys" = {
|
||||
"<C-c>" = false;
|
||||
"<C-x>" = false;
|
||||
"<C-s>" = false;
|
||||
"<C-v>" = false;
|
||||
"<C-a>" = false;
|
||||
"<C-d>" = false;
|
||||
};
|
||||
"vim.overrideCopy" = false;
|
||||
"window.titleBarStyle" = "custom";
|
||||
"window.customMenuBarAltFocus" = false;
|
||||
"window.enableMenuBarMnemonics" = false;
|
||||
"ltex.sentenceCacheSize" = 50000;
|
||||
"ltex.java.maximumHeapSize" = 8192;
|
||||
"editor.tabSize" = 2;
|
||||
"explorer.excludeGitIgnore" = true;
|
||||
"files.exclude" = {
|
||||
"**/*.agdai" = true;
|
||||
};
|
||||
# try to fix agda suggestions:
|
||||
"editor.acceptSuggestionOnCommitCharacter" = false;
|
||||
"editor.minimap.enabled" = false;
|
||||
"editor.autoClosingOvertype" = "never";
|
||||
"editor.autoClosingBrackets" = "never";
|
||||
"editor.accessibilitySupport" = "off";
|
||||
};
|
||||
keybindings = [
|
||||
{
|
||||
key = "ctrl+shift+v";
|
||||
command = "extension.vim_ctrl+v";
|
||||
when = "editorTextFocus && vim.active && !inDebugRepl";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+=";
|
||||
command = "editor.action.fontZoomIn";
|
||||
when = "";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+-";
|
||||
command = "editor.action.fontZoomOut";
|
||||
when = "";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
36
flake.lock
36
flake.lock
|
@ -20,11 +20,11 @@
|
|||
"cask-fonts": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1708274562,
|
||||
"narHash": "sha256-YVdflhd8BgKRs/rKlRx3D3hOhO5c1vs1DHDGOxfY4bE=",
|
||||
"lastModified": 1708820650,
|
||||
"narHash": "sha256-EUVDLH/H2osewsZvJs+1Z0BEQvJnqTNCZ1h1eZepCMg=",
|
||||
"owner": "homebrew",
|
||||
"repo": "homebrew-cask-fonts",
|
||||
"rev": "16aa7909152e49d7016c8811d98cf70c83d46cb0",
|
||||
"rev": "ad27d786cde117b31c0d79aa260759703af1fa61",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -55,11 +55,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1708231718,
|
||||
"narHash": "sha256-IZdieFWvhBkxoOFMDejqLUYqD94WN6k0YSpw0DFy+4g=",
|
||||
"lastModified": 1708737761,
|
||||
"narHash": "sha256-sR/1cYjpgr71ZSrt6Kp5Dg4Ul3mo6pZIG400tuzYks8=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "0e6857fa1d632637488666c08e7b02c08e3178f8",
|
||||
"rev": "bbde06bed1b72eddff063fa42f18644e90a0121e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -128,11 +128,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1708451036,
|
||||
"narHash": "sha256-tgZ38NummEdnXvxj4D0StHBzXgceAw8CptytHljH790=",
|
||||
"lastModified": 1708806879,
|
||||
"narHash": "sha256-MSbxtF3RThI8ANs/G4o1zIqF5/XlShHvwjl9Ws0QAbI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "517601b37c6d495274454f63c5a483c8e3ca6be1",
|
||||
"rev": "4ee704cb13a5a7645436f400b9acc89a67b9c08a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -144,11 +144,11 @@
|
|||
"homebrew-cask": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1708497918,
|
||||
"narHash": "sha256-qd/VOBCZ4OCzO8uJ5ijOkR3LLkEOMhNySpTtAHubHNI=",
|
||||
"lastModified": 1708886352,
|
||||
"narHash": "sha256-MOdmmrm8Ay225cMJrfYdlEIeRhzuOTsokGmiUjzjjy4=",
|
||||
"owner": "homebrew",
|
||||
"repo": "homebrew-cask",
|
||||
"rev": "f745777bfa3e7c6033d98f651f02a39f54eb939d",
|
||||
"rev": "e6791a3e7c5bef5f3b073736246047a845558d4c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -160,11 +160,11 @@
|
|||
"homebrew-core": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1708501733,
|
||||
"narHash": "sha256-B+r/5SugXdw6+y3CejQdgI2qZLDQB3ROicoKOZX0RVE=",
|
||||
"lastModified": 1708884294,
|
||||
"narHash": "sha256-tyitjFC8C+QZpwIVf2kF3GGP3nQ1vMkQcpQZBGNgUUg=",
|
||||
"owner": "homebrew",
|
||||
"repo": "homebrew-core",
|
||||
"rev": "a99f1e03226b7c72cbf5d62b56364999be0a764f",
|
||||
"rev": "80e175640fb8f432d91bf520a7b37eb3433fbfc9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -341,11 +341,11 @@
|
|||
},
|
||||
"unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1708296515,
|
||||
"narHash": "sha256-FyF489fYNAUy7b6dkYV6rGPyzp+4tThhr80KNAaF/yY=",
|
||||
"lastModified": 1708807242,
|
||||
"narHash": "sha256-sRTRkhMD4delO/hPxxi+XwLqPn8BuUq6nnj4JqLwOu0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b98a4e1746acceb92c509bc496ef3d0e5ad8d4aa",
|
||||
"rev": "73de017ef2d18a04ac4bfd0c02650007ccb31c2a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
socat
|
||||
];
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
# NFS setup
|
||||
services.rpcbind.enable = true; # needed for NFS
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
./../common/eww
|
||||
];
|
||||
/* The home.stateVersion option does not have a default and must be set */
|
||||
home.stateVersion = "23.11";
|
||||
home.stateVersion = "24.05";
|
||||
home.username = "leonv";
|
||||
home.homeDirectory = "/home/leonv";
|
||||
|
||||
|
@ -97,6 +97,7 @@
|
|||
ls = "eza";
|
||||
ll = "eza -l";
|
||||
l = "eza -lah";
|
||||
code = "codium";
|
||||
};
|
||||
initExtra = ''
|
||||
function rebuild () {
|
||||
|
|
|
@ -58,6 +58,9 @@
|
|||
};
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
code = "codium";
|
||||
};
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
|
|
Loading…
Reference in a new issue