refactored system

This commit is contained in:
Till 2026-01-22 00:13:33 +01:00
parent 6a62e2f23f
commit 386d889455
55 changed files with 336 additions and 580 deletions

View file

@ -1,7 +1,10 @@
{ config, pkgs, ... }:
{ config, ... }:
{
home.shellAliases = {
top = "btm --battery";
top = "btm --battery";
du = "dust";
ymd = "date +'%Y-%m-%d'";
dmy = "date +'%-d.-%-m.%Y'";
v = "nvim";
@ -9,12 +12,13 @@
R = "R --no-save --no-restore";
cdg = "cd \$(git rev-parse --show-toplevel)";
};
programs.fish = {
enable = true;
interactiveShellInit = "fish_add_path ${config.xdg.dataHome}/npm/packages/bin";
shellAbbrs = {
openconnect = "openconnect --config=/home/till/.config/openconnect/config";
};
shellInit = ''
set -gx EDITOR "nvim"
set -gx VISUAL "nvim"