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/
enterTest = ''
echo "Running tests"
git --version | grep --color=auto "${pkgs.git.version}"
'';
enterTest =
/*
shell
*/
''
echo "Running tests"
git --version | grep --color=auto "${pkgs.git.version}"
'';
# https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true;

View file

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

View file

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

View file

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