Files
samfelag/home/modules/shell/default.nix
2022-10-02 20:33:40 +02:00

31 lines
432 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.samfelag.modules.shell;
in
{
imports = [
./zsh.nix
];
options.samfelag.modules.shell = {
enable = mkEnableOption "Basic shell config";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
bat
exa
fd
fzf
jq
ripgrep
tldr
];
xdg.configFile."shell".source = ../../../config/.config/shell;
};
}