feat: some more home-manager programs

This commit is contained in:
Sangmin Kim 2026-03-04 22:30:52 +09:00 committed by Poby
parent 54297f94fd
commit 88baae6581
No known key found for this signature in database
8 changed files with 35 additions and 118 deletions

View file

@ -1,58 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# archives
zip
xz
unzip
p7zip
(pkgs.writeShellApplication {
name = "ns";
runtimeInputs = with pkgs; [
fzf
nix-search-tv
];
text = builtins.readFile "${pkgs.nix-search-tv.src}/nixpkgs.sh";
})
# utils
aria2 # A lightweight multi-protocol & multi-source command-line download utility
socat # replacement of openbsd-netcat
nmap # A utility for network discovery and security auditing
# misc
cowsay
file
which
tree
gnused
gnutar
gawk
zstd
caddy
gnupg
# productivity
glow # markdown previewer in terminal
];
programs = {
# terminal file manager
yazi = {
enable = true;
enableZshIntegration = true;
settings = {
manager = {
show_hidden = true;
sort_dir_first = true;
};
};
};
# skim provides a single executable: sk.
# Basically anywhere you would want to use grep, try sk instead.
skim = {
enable = true;
enableBashIntegration = true;
};
};
}

View file

@ -15,6 +15,8 @@
./zsh.nix
./eza.nix
./jq.nix
./lazygit.nix
./mise.nix
];
home = {
@ -22,9 +24,8 @@
homeDirectory = "/Users/${username}";
stateVersion = "25.11";
# packages that are not available via programs
packages = with pkgs; [
tree
yq-go
# nix-search-tv
(writeShellApplication {
name = "ns";

7
home/lazygit.nix Normal file
View file

@ -0,0 +1,7 @@
{
programs.lazygit = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
};
}

18
home/mise.nix Normal file
View file

@ -0,0 +1,18 @@
{
progrmas.mise = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
globalConfig = {
tools = {
node = "lts";
uv = "latest";
};
settings = {
experimental = true;
env_file = ".env";
};
};
};
}

View file

@ -13,9 +13,8 @@
shellAliases = {
poby = "echo my name is poby";
nrs = "sudo nixos-rebuild switch --flake ~/nixos#$(hostname)";
nrt = "sudo nixos-rebuild test --flake ~/nixos#$(hostname)";
hms = "home-manager switch -b backup --flake ~/nixos#$(whoami)";
drs = "sudo darwin-rebuild switch --flake ~/nix-darwin#$(hostname)";
drt = "sudo darwin-rebuild test --flake ~/nix-darwin#$(hostname)";
};
sessionVariables = {