feat: upgrade to nixos-23.11

This commit is contained in:
Ryan Yin
2023-12-09 22:57:52 +08:00
parent 5237bf31c5
commit 82b65f7753
10 changed files with 53 additions and 239 deletions
+17 -12
View File
@@ -1,4 +1,9 @@
{pkgs, ...}: {
{
lib,
pkgs,
catppuccin-bat,
...
}: {
home.packages = with pkgs; [
# archives
zip
@@ -7,7 +12,7 @@
# utils
ripgrep
yq-go # https://github.com/mikefarah/yq
yq-go # https://github.com/mikefarah/yq
htop
# misc
@@ -26,7 +31,6 @@
docker-compose
kubectl
nodejs
nodePackages.npm
nodePackages.pnpm
@@ -50,19 +54,20 @@
enable = true;
config = {
pager = "less -FR";
theme = "Catppuccin-mocha";
theme = "catppuccin-mocha";
};
themes = {
Catppuccin-mocha = builtins.readFile (pkgs.fetchurl {
url = "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme";
hash = "sha256-qMQNJGZImmjrqzy7IiEkY5IhvPAMZpq0W6skLLsng/w=";
});
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
catppuccin-mocha = {
src = catppuccin-bat;
file = "Catppuccin-mocha.tmTheme";
};
};
};
btop.enable = true; # replacement of htop/nmon
exa.enable = true; # A modern replacement for ls
jq.enable = true; # A lightweight and flexible command-line JSON processor
btop.enable = true; # replacement of htop/nmon
eza.enable = true; # A modern replacement for ls
jq.enable = true; # A lightweight and flexible command-line JSON processor
ssh.enable = true;
aria2.enable = true;
@@ -83,4 +88,4 @@
# auto mount usb drives
udiskie.enable = true;
};
}
}