revert(zsh): re-add suffix aliases

This reverts commit de69d1253b.
This commit is contained in:
Oliver Davies 2023-09-14 19:07:01 +01:00
parent e649eb98bf
commit 944e5d7911
2 changed files with 16 additions and 26 deletions

View file

@ -84,20 +84,22 @@ in
services.avahi.openFirewall = true;
services.printing.enable = true;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.cron = {
enable = true;
systemCronJobs = [
"0 18 * * 5 ${pkgs.bash}/bin/bash -c 'rm -rf /home/${username}/Downloads/*'"
];
};
# services.pipewire = {
# enable = true;
# alsa.enable = true;
# alsa.support32Bit = true;
# pulse.enable = true;
# # If you want to use JACK applications, uncomment this
# #jack.enable = true;
#
# # use the example session manager (no others are packaged yet so this is enabled by default,
# # no need to redefine it in your config for now)
# #media-session.enable = true;
# };
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
@ -105,7 +107,7 @@ in
users.users.${username} = {
isNormalUser = true;
description = "Oliver Davies";
extraGroups = [ "docker" "networkmanager" "wheel" "audio" ];
extraGroups = [ "docker" "networkmanager" "wheel" ];
packages = with pkgs; [ ];
};

View file

@ -367,18 +367,6 @@ in
ialias build-configs="~/Code/Personal/build-configs/bin/build-configs run"
ialias update-build-configs="~/Code/Personal/build-configs-updater/update.sh"
alias -g A1="| awk '{print \$1}'"
alias -g Fj='| jq .'
alias -g Fy='| yq .'
alias -g G='| grep'
alias -g GH='| grep HTTP'
alias -g Gi='| grep -i'
alias -g H2='| head -n 20'
alias -g H='| head'
alias -g L='| less'
alias -g V='| vim -'
alias -g X='| xargs -I1'
setopt auto_cd
setopt auto_pushd
setopt pushd_ignore_dups