Skip to content

Commit

Permalink
Uninstall some packages from darwin
Browse files Browse the repository at this point in the history
Since GH-911
Especially using unstable packages often makes heavy build
Use lima GH-913
  • Loading branch information
kachick committed Dec 30, 2024
1 parent ae037f5 commit ebe7951
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
17 changes: 17 additions & 0 deletions home-manager/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,30 @@
podman-tui
docker-compose

unstable.ox # modeless editor. Use unstable because of it is active and I'm tracking the changes.

kubectl
stern
unstable.k9s # https://github.com/NixOS/nixpkgs/pull/356238, https://github.com/NixOS/nixpkgs/pull/360993

# Keybindigs: https://git.sr.ht/~bptato/chawan/tree/master/item/res/config.toml
chawan # `cha`

gurk-rs

typos
go-task # Installing for enabling shell completion easy

jnv # interactive jq

pastel

# Alternative candidates
# - deep-translator - not active - https://github.com/nidhaloff/deep-translator/issues/240
# - argos-translate - can be closed in offline, but not yet enough accuracy
# - Apertium - does not support Japanese
translate-shell # `echo "$text" | trans en:ja`

my.renmark # Depend on chawan
];
};
Expand Down
24 changes: 7 additions & 17 deletions home-manager/packages.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
pkgs,
# Don't use unstable for darwin ub this file.
# TODO: Add linter to warn unstable packages
...
}:

Expand Down Expand Up @@ -42,8 +44,10 @@

age # Candidates: rage

# Alt `pass` for password-store. Candidates: gopass, prs. Do not use ripasso-cursive for now. It only provides TUI, not a replacement of CLI. And currently unstable on my NixOS.
unstable.gopass # Use unstable to apply https://github.com/NixOS/nixpkgs/pull/360950
# Alt `pass` for password-store.
# Candidates: gopass, prs.
# Do not use ripasso-cursive for now. It only provides TUI, not a replacement of CLI. And currently unstable on my NixOS.
gopass

# Age fork of `pass`, also supports rage with $PASSAGE_AGE.
passage
Expand All @@ -53,15 +57,14 @@
# - https://github.com/kachick/dotfiles/issues/280
# - https://discourse.nixos.org/t/home-manager-neovim-collision/16963/2

# helix # Do not add here to avoid conflict of helix module
micro
unstable.ox # modeless editor.

tree
eza # alt ls
curl
wget
jq
jnv # interactive jq
ripgrep # `rg`
bat # alt cat
mdcat # pipe friendly markdown viewer rather than glow
Expand All @@ -75,18 +78,14 @@
xh # alt HTTPie
zellij

typos
hyperfine
difftastic # `difft`
riffdiff # `riff`
gnumake
go-task # Installing for enabling shell completion easy
gitleaks
ruby_3_4
_7zz # `7zz` - 7zip. Command is not 7zip.

pastel

rclone

# How to get the installed font names
Expand All @@ -98,15 +97,6 @@
tlrc

fastfetch # active replacement of neofetch

# Alternative candidates
# - deep-translator - not active - https://github.com/nidhaloff/deep-translator/issues/240
# - argos-translate - can be closed in offline, but not yet enough accuracy
# - Apertium - does not support Japanese
translate-shell # `echo "$text" | trans en:ja`
])
++ (with pkgs.unstable; [
gurk-rs # Require https://github.com/NixOS/nixpkgs/pull/356353 to link
])
++ (with pkgs.my; [
la
Expand Down

0 comments on commit ebe7951

Please sign in to comment.