update and add some pkgs

This commit is contained in:
2026-03-11 14:56:42 +00:00
parent effd3390c3
commit 520177b9a5
3 changed files with 21 additions and 2 deletions
+2
View File
@@ -2,6 +2,7 @@
flake.nixosModules.development = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
nodejs_24
go
nixfmt
zellij
@@ -17,6 +18,7 @@
vscode-langservers-extracted # includes css-lsp, eslint-lsp, html-lsp, json-lsp
tailwindcss-language-server
biome
typescript-go
# Treesitter CLI + C compiler for building grammars
tree-sitter
+2
View File
@@ -20,6 +20,8 @@
feishin
obsidian
self.packages.${pkgs.stdenv.hostPlatform.system}.handy
mpv
ffmpeg
];
};
}
+17 -2
View File
@@ -1,6 +1,6 @@
{ ... }: {
perSystem = { pkgs, ... }: {
packages.zen-browser = pkgs.appimageTools.wrapType2 rec {
perSystem = { pkgs, ... }: let
zen-appimage = pkgs.appimageTools.wrapType2 rec {
pname = "zen-browser";
version = "1.19.1b";
@@ -23,6 +23,21 @@
if [ -d ${contents}/usr/share/icons ]; then
cp -r ${contents}/usr/share/icons $out/share
fi
# Also provide 'zen' binary since some apps expect it
ln -s $out/bin/${pname} $out/bin/zen
'';
};
in {
packages.zen-browser = pkgs.symlinkJoin {
name = "zen-browser";
paths = [ zen-appimage ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/zen-browser \
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.ffmpeg ]}
wrapProgram $out/bin/zen \
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.ffmpeg ]}
'';
};
};