chore: update and Alejandra formatting on devenv

This commit is contained in:
Zhongheng Liu 2024-08-20 16:07:20 +08:00
commit 44565c5139
No known key found for this signature in database
4 changed files with 21 additions and 18 deletions

View file

@ -37,10 +37,14 @@
''; '';
# https://devenv.sh/tests/ # https://devenv.sh/tests/
enterTest = '' enterTest =
echo "Running tests" /*
git --version | grep --color=auto "${pkgs.git.version}" shell
''; */
''
echo "Running tests"
git --version | grep --color=auto "${pkgs.git.version}"
'';
# https://devenv.sh/pre-commit-hooks/ # https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true; # pre-commit.hooks.shellcheck.enable = true;

View file

@ -25,8 +25,7 @@
config.myAutostartCommands config.myAutostartCommands
++ [ ++ [
'' ''
[workspace special silent] ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Fon [workspace special silent] ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=12' -o colors.alpha=0.85 ${config.myShells.defaultShell}''
t:size=12' -o colors.alpha=0.85 ${config.myShells.defaultShell}''
]; ];
misc = { misc = {
disable_hyprland_logo = true; disable_hyprland_logo = true;
@ -46,8 +45,7 @@
"$mod, F, exec, ${pkgs.firefox}/bin/firefox" "$mod, F, exec, ${pkgs.firefox}/bin/firefox"
# foot terminal # foot terminal
'' ''
$mod, Return, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size= $mod, Return, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=12' -o colors.alpha=0.85 ${config.myShells.defaultShell}''
12' -o colors.alpha=0.85 ${config.myShells.defaultShell}''
] ]
++ ( ++ (
# workspaces # workspaces

View file

@ -3,6 +3,7 @@
treesitter = { treesitter = {
enable = true; enable = true;
nixGrammars = true; nixGrammars = true;
nixvimInjections = true; # enables language injection in nixvim
indent = true; indent = true;
}; };
treesitter-context.enable = true; treesitter-context.enable = true;

View file

@ -1,27 +1,27 @@
{pkgs, ...}: { {pkgs, ...}: {
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
#helvetica-neue-lt-std helvetica-neue-lt-std
aileron aileron
corefonts corefonts
#vistafonts vistafonts
#vistafonts-chs vistafonts-chs
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk
noto-fonts-emoji noto-fonts-emoji
liberation_ttf liberation_ttf
#mplus-outline-fonts.githubRelease mplus-outline-fonts.githubRelease
#dina-font dina-font
#proggyfonts #proggyfonts
#glasstty-ttf #glasstty-ttf
( (
nerdfonts.override { nerdfonts.override {
fonts = [ fonts = [
#"FiraCode" "FiraCode"
"IBMPlexMono" "IBMPlexMono"
#"IntelOneMono" "IntelOneMono"
#"CascadiaMono" "CascadiaMono"
#"CommitMono" "CommitMono"
#"JetBrainsMono" "JetBrainsMono"
]; ];
} }
) )