Compare commits

..

1 Commits

Author SHA1 Message Date
gitea actions b133a7833c update handy to 0.7.9 2026-03-09 17:39:00 +00:00
6 changed files with 96 additions and 123 deletions
-2
View File
@@ -2,7 +2,6 @@
flake.nixosModules.development = {pkgs, ...}: { flake.nixosModules.development = {pkgs, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nodejs_24 nodejs_24
go
nixfmt nixfmt
zellij zellij
@@ -18,7 +17,6 @@
vscode-langservers-extracted # includes css-lsp, eslint-lsp, html-lsp, json-lsp vscode-langservers-extracted # includes css-lsp, eslint-lsp, html-lsp, json-lsp
tailwindcss-language-server tailwindcss-language-server
biome biome
typescript-go
# Treesitter CLI + C compiler for building grammars # Treesitter CLI + C compiler for building grammars
tree-sitter tree-sitter
+2 -14
View File
@@ -1,9 +1,5 @@
{ { inputs, self, config, ... }: {
inputs,
self,
config,
...
}: {
flake.nixosModules.nixos-host = {pkgs, ...}: { flake.nixosModules.nixos-host = {pkgs, ...}: {
imports = [ imports = [
../../hardware-configuration.nix ../../hardware-configuration.nix
@@ -52,14 +48,6 @@
pulse.enable = true; pulse.enable = true;
}; };
# SSH
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
};
};
# User account # User account
users.users.${config.username} = { users.users.${config.username} = {
isNormalUser = true; isNormalUser = true;
+5 -6
View File
@@ -1,4 +1,8 @@
{self, ...}: { {
inputs,
self,
...
}: {
flake.nixosModules.packages = {pkgs, ...}: { flake.nixosModules.packages = {pkgs, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
fd fd
@@ -8,7 +12,6 @@
alacritty alacritty
fzf fzf
autojump autojump
wl-clipboard
pulseaudio pulseaudio
legcord legcord
quickshell quickshell
@@ -17,10 +20,6 @@
feishin feishin
obsidian obsidian
self.packages.${pkgs.stdenv.hostPlatform.system}.handy self.packages.${pkgs.stdenv.hostPlatform.system}.handy
mpv
ffmpeg
tmux
obs-studio
]; ];
}; };
} }
+2 -2
View File
@@ -2,11 +2,11 @@
perSystem = {pkgs, ...}: { perSystem = {pkgs, ...}: {
packages.handy = pkgs.appimageTools.wrapType2 rec { packages.handy = pkgs.appimageTools.wrapType2 rec {
pname = "handy"; pname = "handy";
version = "0.7.10"; version = "0.7.9";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/cjpais/Handy/releases/download/v${version}/Handy_${version}_amd64.AppImage"; url = "https://github.com/cjpais/Handy/releases/download/v${version}/Handy_${version}_amd64.AppImage";
hash = "sha256-vBOcXCCJr9D0u0h27nN4XLPPngx4m+toAfi6O6Fuojk="; hash = "sha256-iSibRpme8xJfumhjJ2LzkrtFwV8j9nHajMnBygBFLz4=";
}; };
extraInstallCommands = let extraInstallCommands = let
+2 -2
View File
@@ -2,11 +2,11 @@
perSystem = { pkgs, ... }: { perSystem = { pkgs, ... }: {
packages.helium = pkgs.appimageTools.wrapType2 rec { packages.helium = pkgs.appimageTools.wrapType2 rec {
pname = "helium"; pname = "helium";
version = "0.10.2.1"; version = "0.9.4.1";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/${pname}-${version}-x86_64.AppImage"; url = "https://github.com/imputnet/helium-linux/releases/download/${version}/${pname}-${version}-x86_64.AppImage";
hash = "sha256-Kh6UgdleK+L+G4LNiQL2DkQIwS43cyzX+Jo6K0/fX1M="; hash = "sha256-N5gdWuxOrIudJx/4nYo4/SKSxakpTFvL4zzByv6Cnug=";
}; };
extraInstallCommands = let extraInstallCommands = let
+10 -22
View File
@@ -1,5 +1,6 @@
{ lib, ... }: { { ... }: {
perSystem = { pkgs, ... }: let perSystem = { pkgs, ... }: {
packages.zen-browser = pkgs.appimageTools.wrapType2 rec {
pname = "zen-browser"; pname = "zen-browser";
version = "1.19.1b"; version = "1.19.1b";
@@ -8,34 +9,21 @@
hash = "sha256-h3lza2C+SxptpcX897Uf/nM8dNILUBXScSNQZlvSIQg="; hash = "sha256-h3lza2C+SxptpcX897Uf/nM8dNILUBXScSNQZlvSIQg=";
}; };
appimageContents = pkgs.appimageTools.extract { inherit pname version src; }; extraInstallCommands = let
in { contents = pkgs.appimageTools.extract { inherit pname version src; };
packages.zen-browser = pkgs.appimageTools.wrapType2 { in ''
inherit pname version src; desktop_file=$(find ${contents} -name "*.desktop" | head -n1)
extraPkgs = pkgs: [ pkgs.ffmpeg-full ];
extraInstallCommands = ''
desktop_file=$(find ${appimageContents} -name "*.desktop" | head -n1)
if [ -n "$desktop_file" ]; then if [ -n "$desktop_file" ]; then
install -m 444 -D "$desktop_file" "$out/share/applications/${pname}.desktop" 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" \ substituteInPlace "$out/share/applications/${pname}.desktop" \
--replace 'Exec=zen' 'Exec=${pname}' --replace 'Exec=zen' 'Exec=${pname}'
fi fi
if [ -d ${appimageContents}/usr/share/icons ]; then if [ -d ${contents}/usr/share/icons ]; then
cp -r ${appimageContents}/usr/share/icons $out/share cp -r ${contents}/usr/share/icons $out/share
fi 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" ];
};
}; };
}; };
} }