asd
This commit is contained in:
parent
a16700a873
commit
0cb4c954eb
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
|
|
||||||
nix.settings.allowed-users = [ "bartvbl" ];
|
nix.settings.allowed-users = [ "bartvbl" ];
|
||||||
nix.settings.trusted-users = [ "bartvbl" ];
|
#nix.settings.trusted-users = [ "bartvbl" ]; # eple
|
||||||
|
|
||||||
users.users."bartvbl" = {
|
users.users."bartvbl" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -108,6 +108,10 @@ in
|
|||||||
|
|
||||||
programs.eza.enable = true;
|
programs.eza.enable = true;
|
||||||
programs.eza.enableAliases = lib.mkIf (lib.versionOlder config.home.version.release "24.05") true;
|
programs.eza.enableAliases = lib.mkIf (lib.versionOlder config.home.version.release "24.05") true;
|
||||||
|
programs.eza.enableBashIntegration = true;
|
||||||
|
programs.eza.enableZshIntegration = true;
|
||||||
|
programs.eza.icons = "auto"; # --icons=auto
|
||||||
|
programs.eza.extraOptions = [ "--group" "--group-directories-first" ];
|
||||||
|
|
||||||
#programs.zoxide.enable = true;
|
#programs.zoxide.enable = true;
|
||||||
#programs.zoxide.options = [ "--cmd cd --cmd dc" ];
|
#programs.zoxide.options = [ "--cmd cd --cmd dc" ];
|
||||||
@ -115,7 +119,7 @@ in
|
|||||||
programs.carapace.enable = true; # completions
|
programs.carapace.enable = true; # completions
|
||||||
|
|
||||||
# i can't type
|
# i can't type
|
||||||
home.shellAliases.sl = "eza";
|
home.shellAliases.sl = "ls";
|
||||||
#home.shellAliases.dc = "cd";
|
#home.shellAliases.dc = "cd";
|
||||||
|
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
@ -124,7 +128,7 @@ in
|
|||||||
programs.tealdeer.enable = true;
|
programs.tealdeer.enable = true;
|
||||||
programs.tealdeer.settings.updates.auto_update = true;
|
programs.tealdeer.settings.updates.auto_update = true;
|
||||||
|
|
||||||
# just use ncdu lol
|
# old alias, just learn to use ncdu lol
|
||||||
home.shellAliases.dush = "du -shc * | sort -h";
|
home.shellAliases.dush = "du -shc * | sort -h";
|
||||||
home.shellAliases.dushd = "du -shc * .[!.]?* | sort -h";
|
home.shellAliases.dushd = "du -shc * .[!.]?* | sort -h";
|
||||||
|
|
||||||
@ -134,12 +138,13 @@ in
|
|||||||
home.shellAliases.diff = "diff -u --color"; # eyo
|
home.shellAliases.diff = "diff -u --color"; # eyo
|
||||||
home.shellAliases.ip = "ip -br -color";
|
home.shellAliases.ip = "ip -br -color";
|
||||||
home.shellAliases.rssh = "ssh -l root";
|
home.shellAliases.rssh = "ssh -l root";
|
||||||
home.shellAliases.sudo = "sudo "; # makes sudo support aliases
|
home.shellAliases.watch = "watch -c "; # colors
|
||||||
home.shellAliases.watch = "watch -c "; # parse colors
|
home.shellAliases.sudo = "sudo "; # support aliases
|
||||||
home.shellAliases.xargs = "xargs ";
|
home.shellAliases.xargs = "xargs "; # support aliases
|
||||||
|
|
||||||
# old -> new
|
# old -> new
|
||||||
home.shellAliases.vimv = "edir";
|
home.shellAliases.vimv = "edir";
|
||||||
|
#home.shellAliases.atom = "pulsar";
|
||||||
|
|
||||||
# Be conservative with files
|
# Be conservative with files
|
||||||
# --preserver-root is for GNU versions, preventing changing perms on /
|
# --preserver-root is for GNU versions, preventing changing perms on /
|
||||||
@ -202,19 +207,20 @@ in
|
|||||||
comby
|
comby
|
||||||
gron
|
gron
|
||||||
jq
|
jq
|
||||||
fx
|
#fx
|
||||||
yq # includes xmlq and tomlq
|
yq # includes xmlq and tomlq
|
||||||
fq # binary jq
|
#fq # binary jq
|
||||||
(pkgs.jnv or unstable.jnv or null)
|
#(pkgs.jnv or unstable.jnv or null)
|
||||||
htmlq
|
htmlq
|
||||||
just # justfile
|
just # justfile
|
||||||
gum
|
gum
|
||||||
sysz
|
sysz
|
||||||
du-dust # du alternative
|
#du-dust # du alternative
|
||||||
duf # df alternative
|
duf # df alternative
|
||||||
ncdu # Disk usage analyzer with an ncurses interface
|
ncdu # Disk usage analyzer with an ncurses interface
|
||||||
xplr # tui file explorer
|
#xplr # tui file explorer
|
||||||
aha (pkgs.colorized-logs or unstable.colorized-logs)
|
aha
|
||||||
|
(pkgs.colorized-logs or unstable.colorized-logs) # ansi2txt, pipetty
|
||||||
]);
|
]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user