Files
samfelag/modules/shell/utils.nix
2026-03-14 18:43:58 +01:00

34 lines
597 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.samfelag.modules.shell.utils;
in
{
options.samfelag.modules.shell.utils = {
enable = lib.mkEnableOption "Basic shell utils";
};
config = lib.mkIf cfg.enable {
hm.programs = {
fzf = {
enable = true;
enableZshIntegration = true;
};
eza = {
enable = true;
enableZshIntegration = true;
};
};
environment.systemPackages = with pkgs; [
bat
fd
jq
ripgrep
tldr
zoxide
];
hm.xdg.configFile."shell".source = ../../config/shell;
};
}