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:
parent
6e451214b5
commit
f596ba43f5
3 changed files with 1 additions and 5 deletions
|
@ -13,5 +13,6 @@ in {
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.zsh
|
pkgs.zsh
|
||||||
pkgs.home-manager
|
pkgs.home-manager
|
||||||
|
pkgs.zoxide
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,14 +30,10 @@
|
||||||
pkgs.coreutils-full
|
pkgs.coreutils-full
|
||||||
pkgs.rclone
|
pkgs.rclone
|
||||||
(pkgs.yt-dlp.override { withAlias = true; })
|
(pkgs.yt-dlp.override { withAlias = true; })
|
||||||
pkgs.zoxide
|
|
||||||
# >> For macOS only
|
|
||||||
] ++ pkgs.lib.optionals (pkgs.stdenv.isDarwin) [
|
|
||||||
pkgs.duti
|
pkgs.duti
|
||||||
pkgs.pinentry_mac
|
pkgs.pinentry_mac
|
||||||
pkgs.iina
|
pkgs.iina
|
||||||
];
|
];
|
||||||
# << For macOS only
|
|
||||||
|
|
||||||
# Auto upgrade nix package and the daemon service.
|
# Auto upgrade nix package and the daemon service.
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
};
|
};
|
||||||
systemPackages =
|
systemPackages =
|
||||||
common.packages ++ [
|
common.packages ++ [
|
||||||
pkgs.zoxide
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue