This commit is contained in:
2026-07-27 20:55:05 +09:00
parent a8e9a4dce5
commit fcd0d75537
46 changed files with 226 additions and 112 deletions
+35
View File
@@ -0,0 +1,35 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
bat
duf
dust
eza
fd
fastfetch
fzf
htop
jq
nurl
ripgrep
tio
unrar
unzip
wget
];
home.activation.generateSshKey = {
after = [ "writeBoundary" ];
before = [ ];
data = ''
key="$HOME/.ssh/id_ed25519"
if [ ! -f "$key" ]; then
umask 077
mkdir -p "$HOME/.ssh"
${pkgs.openssh}/bin/ssh-keygen -t ed25519 -N "" -f "$key" \
-C "moons@$(${pkgs.hostname}/bin/hostname || echo host)"
echo "Generated SSH key at $key"
fi
'';
};
}
+18
View File
@@ -0,0 +1,18 @@
{
description = "Cross-platform interactive command-line environment";
includes = [
"applications.btop"
"applications.direnv"
"applications.git"
"applications.gnupg"
"applications.nh"
"applications.nix-index"
"applications.ssh"
"applications.vim"
"applications.yazi"
"applications.zellij"
"applications.zoxide"
"applications.zsh"
];
}