refactor(nix): Clean up

* Remove optionals in darwin configuration since it's now a darwin-only
  config
* Move zoxide to common
This commit is contained in:
Ahmad Ansori Palembani 2024-10-23 09:39:23 +07:00
parent 6e451214b5
commit f596ba43f5
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 1 additions and 5 deletions

View file

@ -30,14 +30,10 @@
pkgs.coreutils-full
pkgs.rclone
(pkgs.yt-dlp.override { withAlias = true; })
pkgs.zoxide
# >> For macOS only
] ++ pkgs.lib.optionals (pkgs.stdenv.isDarwin) [
pkgs.duti
pkgs.pinentry_mac
pkgs.iina
];
# << For macOS only
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;