From 944e5d791129eedbbc9083a085bf0310c4617518 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Thu, 14 Sep 2023 19:07:01 +0100
Subject: [PATCH] revert(zsh): re-add suffix aliases

This reverts commit de69d1253b937c1cba3b90f7516599ff7db2b4cc.
---
 system/nixos/configuration.nix | 30 ++++++++++++++++--------------
 system/shared/home-manager.nix | 12 ------------
 2 files changed, 16 insertions(+), 26 deletions(-)

diff --git a/system/nixos/configuration.nix b/system/nixos/configuration.nix
index b9085ec..73607ba 100644
--- a/system/nixos/configuration.nix
+++ b/system/nixos/configuration.nix
@@ -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; [ ];
   };
 
diff --git a/system/shared/home-manager.nix b/system/shared/home-manager.nix
index 57dedfa..6ae83cd 100644
--- a/system/shared/home-manager.nix
+++ b/system/shared/home-manager.nix
@@ -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