Compare commits

...

6 Commits

Author SHA1 Message Date
thomas d7a82d8801 Merge branch 'main' into bot/handy-0.7.10 2026-03-11 16:36:22 +00:00
thomas 0e854495ff fix zen-browser audio/video codecs with ffmpeg-full 2026-03-11 16:35:46 +00:00
thomas 520177b9a5 update and add some pkgs 2026-03-11 14:56:42 +00:00
gitea actions 56f2da8d22 update handy to 0.7.10 2026-03-11 06:40:25 +00:00
thomas effd3390c3 enable openssh 2026-03-10 11:53:13 +00:00
thomas 59c1dde695 update handy to 0.7.9 (#3)
automated update of handy appimage version and hash

Co-authored-by: gitea actions <actions@localhost>
Reviewed-on: #3
2026-03-09 17:39:54 +00:00
5 changed files with 42 additions and 18 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
+8
View File
@@ -48,6 +48,14 @@ flake.nixosModules.nixos-host = {pkgs, ...}: {
pulse.enable = true;
};
# SSH
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
};
};
# User account
users.users.${config.username} = {
isNormalUser = true;
+2
View File
@@ -20,6 +20,8 @@
feishin
obsidian
self.packages.${pkgs.stdenv.hostPlatform.system}.handy
mpv
ffmpeg
];
};
}
+2 -2
View File
@@ -2,11 +2,11 @@
perSystem = {pkgs, ...}: {
packages.handy = pkgs.appimageTools.wrapType2 rec {
pname = "handy";
version = "0.7.8";
version = "0.7.10";
src = pkgs.fetchurl {
url = "https://github.com/cjpais/Handy/releases/download/v${version}/Handy_${version}_amd64.AppImage";
hash = "sha256-";
hash = "sha256-vBOcXCCJr9D0u0h27nN4XLPPngx4m+toAfi6O6Fuojk=";
};
extraInstallCommands = let
+22 -10
View File
@@ -1,6 +1,5 @@
{ ... }: {
perSystem = { pkgs, ... }: {
packages.zen-browser = pkgs.appimageTools.wrapType2 rec {
{ lib, ... }: {
perSystem = { pkgs, ... }: let
pname = "zen-browser";
version = "1.19.1b";
@@ -9,21 +8,34 @@
hash = "sha256-h3lza2C+SxptpcX897Uf/nM8dNILUBXScSNQZlvSIQg=";
};
extraInstallCommands = let
contents = pkgs.appimageTools.extract { inherit pname version src; };
in ''
desktop_file=$(find ${contents} -name "*.desktop" | head -n1)
appimageContents = pkgs.appimageTools.extract { inherit pname version src; };
in {
packages.zen-browser = pkgs.appimageTools.wrapType2 {
inherit pname version src;
extraPkgs = pkgs: [ pkgs.ffmpeg-full ];
extraInstallCommands = ''
desktop_file=$(find ${appimageContents} -name "*.desktop" | head -n1)
if [ -n "$desktop_file" ]; then
install -m 444 -D "$desktop_file" "$out/share/applications/${pname}.desktop"
# The desktop file uses 'zen' as the binary name
substituteInPlace "$out/share/applications/${pname}.desktop" \
--replace 'Exec=zen' 'Exec=${pname}'
fi
if [ -d ${contents}/usr/share/icons ]; then
cp -r ${contents}/usr/share/icons $out/share
if [ -d ${appimageContents}/usr/share/icons ]; then
cp -r ${appimageContents}/usr/share/icons $out/share
fi
ln -s $out/bin/${pname} $out/bin/zen
'';
meta = {
description = "Experience tranquillity while browsing the web without people tracking you!";
homepage = "https://zen-browser.app";
license = lib.licenses.mpl20;
platforms = [ "x86_64-linux" ];
};
};
};
}