Merge branch 'main' of https://git.thomasfmly.org/michael/nix-dots
This commit is contained in:
commit
ec6cceb9ae
@ -55,7 +55,7 @@
|
|||||||
users.users.michael = {
|
users.users.michael = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Michael Thomas";
|
description = "Michael Thomas";
|
||||||
extraGroups = ["wheel" "docker" "podman" "adbusers" "dialout" "libvirtd"];
|
extraGroups = ["wheel" "docker" "podman" "adbusers" "dialout" "libvirtd" "networkmanager"];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
# Neptune
|
# Neptune
|
||||||
@ -72,6 +72,7 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
obs-studio
|
obs-studio
|
||||||
kdenlive
|
kdenlive
|
||||||
|
inkscape
|
||||||
|
|
||||||
virt-manager
|
virt-manager
|
||||||
virtiofsd
|
virtiofsd
|
||||||
|
@ -28,7 +28,6 @@ in {
|
|||||||
wl-clipboard
|
wl-clipboard
|
||||||
wayshot
|
wayshot
|
||||||
swappy
|
swappy
|
||||||
hyprpicker
|
|
||||||
pavucontrol
|
pavucontrol
|
||||||
networkmanager
|
networkmanager
|
||||||
gtk3
|
gtk3
|
||||||
@ -39,6 +38,7 @@ in {
|
|||||||
brightnessctl
|
brightnessctl
|
||||||
fd
|
fd
|
||||||
dart-sass
|
dart-sass
|
||||||
|
hyprpicker
|
||||||
swww
|
swww
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
./languages/treesitter/treesitter-textobjects.nix
|
./languages/treesitter/treesitter-textobjects.nix
|
||||||
./languages/treesitter/ts-autotag.nix
|
./languages/treesitter/ts-autotag.nix
|
||||||
./languages/treesitter/ts-context-commentstring.nix
|
./languages/treesitter/ts-context-commentstring.nix
|
||||||
|
./languages/latex
|
||||||
|
|
||||||
./lsp/conform.nix
|
./lsp/conform.nix
|
||||||
./lsp/fidget.nix
|
./lsp/fidget.nix
|
||||||
@ -55,6 +56,7 @@
|
|||||||
|
|
||||||
# ./utils/better-escape.nix
|
# ./utils/better-escape.nix
|
||||||
./utils/flash.nix # better search labels
|
./utils/flash.nix # better search labels
|
||||||
|
./utils/flutter-tools.nix
|
||||||
./utils/hardtime.nix # hints to get better at vim
|
./utils/hardtime.nix # hints to get better at vim
|
||||||
# ./utils/harpoon.nix # better navigation between files & terminals
|
# ./utils/harpoon.nix # better navigation between files & terminals
|
||||||
./utils/illuminate.nix # highlight other uses of current word
|
./utils/illuminate.nix # highlight other uses of current word
|
||||||
|
6
pkgs/nvim/config/languages/latex/default.nix
Normal file
6
pkgs/nvim/config/languages/latex/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
plugins.vimtex = {
|
||||||
|
enable = true;
|
||||||
|
texlivePackage = null;
|
||||||
|
};
|
||||||
|
}
|
@ -4,13 +4,16 @@
|
|||||||
plugins.treesitter.languageRegister.markdown = ["mdx"];
|
plugins.treesitter.languageRegister.markdown = ["mdx"];
|
||||||
|
|
||||||
# Tree Sitter Grammar
|
# Tree Sitter Grammar
|
||||||
extraFiles."queries/markdown/injections.scm" = ''
|
extraFiles."queries/markdown/injections.scm" = {
|
||||||
; extends
|
enable = true;
|
||||||
((inline) @injection.content
|
text = ''
|
||||||
(#lua-match? @injection.content "^%s*import")
|
; extends
|
||||||
(#set! injection.language "typescript"))
|
((inline) @injection.content
|
||||||
((inline) @injection.content
|
(#lua-match? @injection.content "^%s*import")
|
||||||
(#lua-match? @injection.content "^%s*export")
|
(#set! injection.language "typescript"))
|
||||||
(#set! injection.language "typescript"))
|
((inline) @injection.content
|
||||||
'';
|
(#lua-match? @injection.content "^%s*export")
|
||||||
|
(#set! injection.language "typescript"))
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -99,6 +99,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dartls.enable = true;
|
||||||
};
|
};
|
||||||
# keymaps = {
|
# keymaps = {
|
||||||
# silent = true;
|
# silent = true;
|
||||||
|
11
pkgs/nvim/config/utils/flutter-tools.nix
Normal file
11
pkgs/nvim/config/utils/flutter-tools.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
extraPlugins = with pkgs.vimPlugins; [flutter-tools-nvim];
|
||||||
|
|
||||||
|
extraConfigLua = ''
|
||||||
|
require("flutter-tools").setup {
|
||||||
|
debugger = {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
@ -2,7 +2,7 @@
|
|||||||
plugins.markdown-preview = {
|
plugins.markdown-preview = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
browser = "floorp";
|
browser = "firefox";
|
||||||
theme = "dark";
|
theme = "dark";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
../../modules/git.nix
|
../../modules/git.nix
|
||||||
../../modules/fonts.nix
|
../../modules/fonts.nix
|
||||||
../../modules/latex.nix
|
../../modules/latex.nix
|
||||||
../../modules/nvim.nix
|
|
||||||
# ../../modules/sketchybar.nix
|
|
||||||
../../modules/vscode.nix
|
../../modules/vscode.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -18,6 +16,7 @@
|
|||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
firebird-emu
|
firebird-emu
|
||||||
git-credential-oauth
|
git-credential-oauth
|
||||||
|
nvim-custom
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
package = pkgs.vscodium;
|
package = pkgs.unstable.vscodium;
|
||||||
|
|
||||||
vscodePname = package.pname;
|
vscodePname = package.pname;
|
||||||
|
|
||||||
@ -78,6 +78,10 @@ in {
|
|||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
rust-lang.rust-analyzer
|
rust-lang.rust-analyzer
|
||||||
|
|
||||||
|
# R
|
||||||
|
reditorsupport.r
|
||||||
|
quarto.quarto
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
},
|
},
|
||||||
"editor.lineHeight": 20,
|
"editor.lineHeight": 20,
|
||||||
"editor.suggestSelection": "first",
|
"editor.suggestSelection": "first",
|
||||||
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
|
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/.classpath": true,
|
"**/.classpath": true,
|
||||||
"**/.project": true,
|
"**/.project": true,
|
||||||
@ -18,80 +17,6 @@
|
|||||||
"**/.factorypath": true
|
"**/.factorypath": true
|
||||||
},
|
},
|
||||||
"explorer.confirmDragAndDrop": false,
|
"explorer.confirmDragAndDrop": false,
|
||||||
"intelephense.stubs": [
|
|
||||||
"apache",
|
|
||||||
"bcmath",
|
|
||||||
"bz2",
|
|
||||||
"calendar",
|
|
||||||
"com_dotnet",
|
|
||||||
"Core",
|
|
||||||
"ctype",
|
|
||||||
"curl",
|
|
||||||
"date",
|
|
||||||
"dba",
|
|
||||||
"dom",
|
|
||||||
"enchant",
|
|
||||||
"exif",
|
|
||||||
"FFI",
|
|
||||||
"fileinfo",
|
|
||||||
"filter",
|
|
||||||
"fpm",
|
|
||||||
"ftp",
|
|
||||||
"gd",
|
|
||||||
"gettext",
|
|
||||||
"gmp",
|
|
||||||
"hash",
|
|
||||||
"iconv",
|
|
||||||
"imap",
|
|
||||||
"intl",
|
|
||||||
"json",
|
|
||||||
"ldap",
|
|
||||||
"libxml",
|
|
||||||
"mbstring",
|
|
||||||
"meta",
|
|
||||||
"mysqli",
|
|
||||||
"oci8",
|
|
||||||
"odbc",
|
|
||||||
"openssl",
|
|
||||||
"pcntl",
|
|
||||||
"pcre",
|
|
||||||
"PDO",
|
|
||||||
"pdo_ibm",
|
|
||||||
"pdo_mysql",
|
|
||||||
"pdo_pgsql",
|
|
||||||
"pdo_sqlite",
|
|
||||||
"pgsql",
|
|
||||||
"Phar",
|
|
||||||
"posix",
|
|
||||||
"pspell",
|
|
||||||
"readline",
|
|
||||||
"Reflection",
|
|
||||||
"session",
|
|
||||||
"shmop",
|
|
||||||
"SimpleXML",
|
|
||||||
"snmp",
|
|
||||||
"soap",
|
|
||||||
"sockets",
|
|
||||||
"sodium",
|
|
||||||
"SPL",
|
|
||||||
"sqlite3",
|
|
||||||
"standard",
|
|
||||||
"superglobals",
|
|
||||||
"sysvmsg",
|
|
||||||
"sysvsem",
|
|
||||||
"sysvshm",
|
|
||||||
"tidy",
|
|
||||||
"tokenizer",
|
|
||||||
"xml",
|
|
||||||
"xmlreader",
|
|
||||||
"xmlrpc",
|
|
||||||
"xmlwriter",
|
|
||||||
"xsl",
|
|
||||||
"Zend OPcache",
|
|
||||||
"zip",
|
|
||||||
"zlib",
|
|
||||||
"wordpress"
|
|
||||||
],
|
|
||||||
"terminal.integrated.fontFamily": "'CaskaydiaCove Nerd Font Mono', 'Cascadia Mono PL'",
|
"terminal.integrated.fontFamily": "'CaskaydiaCove Nerd Font Mono', 'Cascadia Mono PL'",
|
||||||
"terminal.integrated.fontSize": 13,
|
"terminal.integrated.fontSize": 13,
|
||||||
"[javascript]": {
|
"[javascript]": {
|
||||||
@ -104,7 +29,6 @@
|
|||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
"svelte.enable-ts-plugin": true,
|
"svelte.enable-ts-plugin": true,
|
||||||
"svelte.plugin.svelte.note-new-transformation": false,
|
|
||||||
"editor.accessibilitySupport": "off",
|
"editor.accessibilitySupport": "off",
|
||||||
"editor.smoothScrolling": true,
|
"editor.smoothScrolling": true,
|
||||||
"workbench.list.smoothScrolling": true,
|
"workbench.list.smoothScrolling": true,
|
||||||
@ -159,5 +83,6 @@
|
|||||||
"nix.enableLanguageServer": true,
|
"nix.enableLanguageServer": true,
|
||||||
"nix.serverPath": "nil",
|
"nix.serverPath": "nil",
|
||||||
"cSpell.userWords": ["typecheck"],
|
"cSpell.userWords": ["typecheck"],
|
||||||
"workbench.colorTheme": "Min Dark"
|
"workbench.colorTheme": "Min Dark",
|
||||||
|
"r.plot.useHttpgd": true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user