From ebe7951fbcc1e99a59259a4a91172c7e33ab4faa Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Mon, 30 Dec 2024 23:18:24 +0900 Subject: [PATCH] Uninstall some packages from darwin Since GH-911 Especially using unstable packages often makes heavy build Use lima GH-913 --- home-manager/linux.nix | 17 +++++++++++++++++ home-manager/packages.nix | 24 +++++++----------------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/home-manager/linux.nix b/home-manager/linux.nix index 4294611e..c0322627 100644 --- a/home-manager/linux.nix +++ b/home-manager/linux.nix @@ -28,6 +28,8 @@ 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 @@ -35,6 +37,21 @@ # 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 ]; }; diff --git a/home-manager/packages.nix b/home-manager/packages.nix index 5313130d..956339e9 100644 --- a/home-manager/packages.nix +++ b/home-manager/packages.nix @@ -1,5 +1,7 @@ { pkgs, + # Don't use unstable for darwin ub this file. + # TODO: Add linter to warn unstable packages ... }: @@ -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 @@ -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 @@ -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 @@ -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