Compare commits

..

3 Commits

Author SHA1 Message Date
thomas 520177b9a5 update and add some pkgs 2026-03-11 14:56:42 +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
4 changed files with 29 additions and 2 deletions
+2
View File
@@ -2,6 +2,7 @@
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
@@ -17,6 +18,7 @@
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
+8
View File
@@ -48,6 +48,14 @@ flake.nixosModules.nixos-host = {pkgs, ...}: {
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;
+2
View File
@@ -20,6 +20,8 @@
feishin feishin
obsidian obsidian
self.packages.${pkgs.stdenv.hostPlatform.system}.handy self.packages.${pkgs.stdenv.hostPlatform.system}.handy
mpv
ffmpeg
]; ];
}; };
} }
+17 -2
View File
@@ -1,6 +1,6 @@
{ ... }: { { ... }: {
perSystem = { pkgs, ... }: { perSystem = { pkgs, ... }: let
packages.zen-browser = pkgs.appimageTools.wrapType2 rec { zen-appimage = pkgs.appimageTools.wrapType2 rec {
pname = "zen-browser"; pname = "zen-browser";
version = "1.19.1b"; version = "1.19.1b";
@@ -23,6 +23,21 @@
if [ -d ${contents}/usr/share/icons ]; then if [ -d ${contents}/usr/share/icons ]; then
cp -r ${contents}/usr/share/icons $out/share cp -r ${contents}/usr/share/icons $out/share
fi 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 ]}
''; '';
}; };
}; };