update: fixed issues and update flake inputs

This commit is contained in:
danny 2025-12-29 16:03:31 +08:00
parent 4b6183f0ec
commit b3c5ad2880
80 changed files with 3307 additions and 2059 deletions

View file

@ -1,17 +1,9 @@
{
pkgs,
inputs,
...
}:
let
inherit (pkgs.stdenv.hostPlatform) system;
md2html = pkgs.callPackage ../scripts/md2html.nix { };
ghosttyShaders = pkgs.fetchFromGitHub {
owner = "sahaj-b";
repo = "ghostty-cursor-shaders";
rev = "main";
hash = "sha256-ruhEqXnWRCYdX5mRczpY3rj1DTdxyY3BoN9pdlDOKrE=";
};
in
{
programs.btop = {
@ -22,61 +14,12 @@ in
};
};
programs.ghostty = {
enable = true;
installBatSyntax = true;
enableFishIntegration = true;
package = inputs.ghostty.packages.${system}.default;
settings = {
custom-shader = [
"${ghosttyShaders}/cursor_sweep.glsl"
"${ghosttyShaders}/ripple_cursor.glsl"
];
unfocused-split-opacity = 0.85;
desktop-notifications = false;
background-opacity = 0.4;
background-blur = false;
wait-after-command = false;
shell-integration = "detect";
window-theme = "dark";
confirm-close-surface = false;
window-decoration = false;
mouse-hide-while-typing = true;
keybind = [
"ctrl+shift+zero=toggle_tab_overview"
"ctrl+shift+e=unbind"
"ctrl+shift+o=unbind"
];
clipboard-read = "allow";
clipboard-write = "allow";
};
};
home.packages = with pkgs; [
obsidian
# Discord
# vesktop
discord
# Dev stuff
(python3.withPackages (python-pkgs: [
python-pkgs.pip
python-pkgs.requests
]))
# Work stuff
libreoffice-qt
pandoc
# Bluetooth
blueberry
# Downloads
qbittorrent
@ -85,9 +28,6 @@ in
cava
papirus-folders
inkscape
# PDF Preview
poppler
trash-cli
# File Manager