Initial commit
This commit is contained in:
30
home/modules/shell/default.nix
Normal file
30
home/modules/shell/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user