Unified home and system modules!
This commit is contained in:
22
modules/shell/utils.nix
Normal file
22
modules/shell/utils.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ 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 {
|
||||
environment.systemPackages = with pkgs; [
|
||||
bat
|
||||
exa
|
||||
fd
|
||||
fzf
|
||||
jq
|
||||
ripgrep
|
||||
tldr
|
||||
];
|
||||
hm.xdg.configFile."shell".source = ../../config/.config/shell;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user