Files
nix-config/home/default.nix
T
imbytecat 1e78149a4f fix(1password): move env template out of ~/.config/op to avoid permission conflict
HM creating ~/.config/op/ with 755 prevents op CLI from running (requires 700).
Move template to ~/.config/1password/, use nix-darwin programs._1password module.
2026-04-13 18:48:12 +08:00

65 lines
1.1 KiB
Nix

{
inputs,
lib,
username,
pkgs,
...
}:
{
imports = [
inputs.catppuccin.homeModules.catppuccin
./shell
./dev
./theme.nix
];
home = {
username = username;
homeDirectory = if pkgs.stdenv.isDarwin then "/Users/${username}" else "/home/${username}";
stateVersion = "24.11";
};
# ── User-level packages ────────────────────────────
home.packages =
with pkgs;
[
# Modern CLI replacements
dust # du
duf # df
procs # ps
sd # sed
xh # curl/httpie
jq # JSON
yq # YAML
wget
# System info
fastfetch
tealdeer # tldr
# File management
gomi
# Nix tools
nix-output-monitor # nom
nvd # nix version diff
nh # nix helper
just
# Secrets management (WSL uses Windows op.exe via interop)
]
++ (with pkgs; [
# AI coding agent
opencode
comment-checker
# Misc
ffmpeg
pandoc
]);
# XDG directories
xdg.enable = true;
}