Commit graph

17 commits

Author SHA1 Message Date
bdf7c14c6c
feat(home-manager): add starship prompt and reorganize CLI features
- Move zsh configuration from global/ to features/cli/
- Add starship.nix with custom prompt configuration
  - Left prompt: username@hostname, directory, git status, vi-mode indicator
  - Right prompt: language/environment indicators (C, direnv, Haskell, Bun, Python, Rust)
  - Git status with semantic colors (green=staged, yellow=modified/untracked, red=conflicted/deleted, cyan=stashed/renamed)
  - Vi-mode aware prompt character (red heart in insert, blue in normal)
- Update features/cli to import starship via zsh.nix
- Remove empty imports section from global/default.nix
2025-10-25 23:14:17 +08:00
341d8ecf45
docs: add explanatory comments to global configurations
Add comprehensive inline documentation to both NixOS and Home Manager
global configuration files, explaining the purpose of each section,
overlay usage, unfree package policy, and configuration settings.
2025-10-05 16:40:48 +08:00
d6e648595a
refactor(zsh): use nixpkgs packages for zsh plugins
Replace manual GitHub fetchFromGitHub with packaged versions of zsh plugins and consolidate plugin loading through the plugins list instead of manual sourcing.
2025-10-04 10:25:53 +08:00
591346600f
refactor: centralize unfree package allowlists
Move all allowUnfreePredicate declarations to global configs to prevent
the "last definition wins" merging issue. Unfree packages are now managed
in two central locations:
- NixOS system packages: nixos/common/global/default.nix
- Home Manager packages: home-manager/sajenim/global/default.nix
2025-10-01 10:23:20 +08:00
ed9a836d2d
refactor 2025-06-06 18:35:13 +08:00
e73e614016
chore: refactor 2025-05-01 19:13:56 +08:00
c38f58067a
opt in unfree 2025-04-30 12:18:32 +08:00
9ff256061a
chore: refactor 2025-02-26 00:23:03 +08:00
c1a5ed1d4f
migrate impermanent home to subvolumes 2024-09-07 15:48:27 +08:00
3350d19a45
fmt: alejandra 2024-08-08 09:02:42 +08:00
bede9baa04
Migrate neovim configuration to nixvim 2024-08-05 08:39:56 +08:00
fbf69b086a
Persist flatpak user data 2024-07-27 07:46:48 +08:00
ed05ea6964
Persist flatpaks 2024-07-26 09:25:43 +08:00
7b5f9a5182
Change directory names for git clones and printer data 2024-06-03 21:15:35 +08:00
d4982e7460 fix direnv 2024-04-14 22:03:27 +08:00
7e65c547a8 persist direnv 2024-04-01 10:04:39 +08:00
caed1fc0d4 refactor home-manager 2024-01-21 21:01:42 +08:00