mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
added optional gui checks for bash prompt
This commit is contained in:
parent
df6e65c534
commit
6ac3d1b33a
3 changed files with 26 additions and 4 deletions
|
|
@ -3,6 +3,7 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.modules.user.bash;
|
||||
gui = config.modules.user.gui.sway;
|
||||
|
||||
in
|
||||
{ options.modules.user.bash = { enable = mkEnableOption "user.bash"; };
|
||||
|
|
@ -18,9 +19,11 @@ in
|
|||
|
||||
programs = {
|
||||
ripgrep.enable = true;
|
||||
lsd = {
|
||||
eza = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
} // optionalAttrs gui.enable {
|
||||
icons = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue