about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2024-02-19T20·16-0500
committerclbot <clbot@tvl.fyi>2024-02-19T20·58+0000
commitd1055ee841fac4e4d0647af6ea6536f89ff6a3d9 (patch)
treecfe4ad4aa2edf5dd5d555eae781b05694b691a31
parent79488e4ee110048d99bc4f4affe27f499ff4d5d9 (diff)
chore(aspen/system): Drop alsi r/7562
Change-Id: Ia1f6c4569df9f5467b1bbb5e6bd5e9ec4a5c8720
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10978
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--third_party/alsi/OWNERS1
-rw-r--r--third_party/alsi/default.nix25
-rw-r--r--users/aspen/system/home/modules/alsi.nix58
-rw-r--r--users/aspen/system/home/modules/nixos-logo.txt26
-rw-r--r--users/aspen/system/home/platforms/linux.nix10
5 files changed, 1 insertions, 119 deletions
diff --git a/third_party/alsi/OWNERS b/third_party/alsi/OWNERS
deleted file mode 100644
index b381c4e660..0000000000
--- a/third_party/alsi/OWNERS
+++ /dev/null
@@ -1 +0,0 @@
-aspen
diff --git a/third_party/alsi/default.nix b/third_party/alsi/default.nix
deleted file mode 100644
index 8969374176..0000000000
--- a/third_party/alsi/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ pkgs, ... }:
-
-with pkgs;
-
-stdenv.mkDerivation {
-  name = "alsi";
-  pname = "alsi";
-  version = "0.4.8";
-
-  src = fetchFromGitHub {
-    owner = "trizen";
-    repo = "alsi";
-    rev = "fe2a925caad38d4cc7afe10d74ba60c5db09ee66";
-    sha256 = "060xlalfclrda5f1h3svj4v2gr19mdrsc62vrg7hgii0f3lib7j5";
-  };
-
-  buildInputs = [
-    (perl.withPackages (ps: with ps; [ DataDump ]))
-  ];
-
-  installPhase = ''
-    mkdir -p $out/bin
-    cp alsi $out/bin/alsi
-  '';
-}
diff --git a/users/aspen/system/home/modules/alsi.nix b/users/aspen/system/home/modules/alsi.nix
deleted file mode 100644
index 204f9c8e14..0000000000
--- a/users/aspen/system/home/modules/alsi.nix
+++ /dev/null
@@ -1,58 +0,0 @@
-{ config, lib, pkgs, ... }:
-{
-  home.packages = [ config.lib.depot.third_party.alsi ];
-
-  xdg.configFile."alsi/alsi.logo" = {
-    source = ./nixos-logo.txt;
-    force = true;
-  };
-
-  xdg.configFile."alsi/alsi.conf" = {
-    force = true;
-    text = ''
-      #!${pkgs.perl}/bin/perl
-
-      scalar {
-        ALSI_VERSION         => "0.4.8",
-        COLORS_FILE          => "/home/grfn/.config/alsi/alsi.colors",
-        DE_FILE              => "/home/grfn/.config/alsi/alsi.de",
-        DEFAULT_COLOR_BOLD   => "blue",
-        DEFAULT_COLOR_NORMAL => "blue",
-        DF_COMMAND           => "df -Th -x sys -x tmpfs -x devtmpfs &>/dev/stdout",
-        GTK2_RC_FILE         => "/home/grfn/.gtkrc-2.0",
-        GTK3_RC_FILE         => "/home/grfn/.config/gtk-3.0/settings.ini",
-        LOGO_FILE            => "/home/grfn/.config/alsi/alsi.logo",
-        OUTPUT_FILE          => "/home/grfn/.config/alsi/alsi.output",
-        # PACKAGES_PATH      => "/var/lib/pacman/local/",
-        PS_COMMAND           => "ps -A",
-        USAGE_COLORS         => 0,
-        USAGE_COLORS_BOLD    => 0,
-        USAGE_PRECENT_GREEN  => 50,
-        USAGE_PRECENT_RED    => 100,
-        USAGE_PRECENT_YELLOW => 85,
-        USE_LOGO_FROM_FILE   => 1,
-        USE_VALUES_COLOR     => 0,
-        WM_FILE              => "/home/grfn/.config/alsi/alsi.wm",
-      }
-    '';
-  };
-
-  xdg.configFile."alsi/alsi.colors".text = ''
-    #!${pkgs.perl}/bin/perl
-
-    # Colors for alsi
-
-    scalar {
-       black   => {normal => "\e[0;30m", bold => "\e[1;30m"},
-       red     => {normal => "\e[0;31m", bold => "\e[1;31m"},
-       green   => {normal => "\e[0;32m", bold => "\e[1;32m"},
-       yellow  => {normal => "\e[0;33m", bold => "\e[1;33m"},
-       default => {normal => "\e[0;34m", bold => "\e[1;34m"},
-       blue    => {normal => "\e[0;34m", bold => "\e[1;34m"},
-       purple  => {normal => "\e[0;35m", bold => "\e[1;35m"},
-       cyan    => {normal => "\e[0;36m", bold => "\e[1;36m"},
-       white   => {normal => "\e[0;37m", bold => "\e[1;37m"},
-       reset   => "\e[0m",
-    }
-  '';
-}
diff --git a/users/aspen/system/home/modules/nixos-logo.txt b/users/aspen/system/home/modules/nixos-logo.txt
deleted file mode 100644
index d4b16b44f0..0000000000
--- a/users/aspen/system/home/modules/nixos-logo.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-                 ((((((          ###%######       ##%###/
-               ,(((((((/(          #%#%#%#%#    .#%#%#%#%#
-                 ((((((///          %#######%. #####%###/
-                  (((((/(//,         /##%###%###%######
-                    (((//////          #####%########(
-         .(((((((((((((((///////////////#%%%########          ((
-        (((((((((((((((///////////////////#########         .((((
-       ((((((((((((((((/(//////////////////##########      ((((((((
-                   (#########                #########    (((((((((
-                  #########                   #########/((((((((((
-                *#########                     .#######(((((((((
- ###%###################                         ####(//((((((((((((((((
-####%##################                           .#////////((((((((((((((
-%%%%%%%%%%%%%%#######((                           ////////////((((((((((((
- ###%#######%#######////.                        ///////////////////((((
-         ###%###%#///////(                      /////////
-       .####%#### /////////                   /////////,
-      %#%#%#%#%*   /////////(                /////////
-      .#####%#       ////////(######################%#######%#####,
-        %####         (////////#####################%###%###%###%
-         .#          (//////(//((###################%#######%##%
-                    (//(((((((((((          #####%%%%(
-                  //(/((((((((((((((          ######%##
-                 (((((((((  (((((((((          #####%###/
-                (((((((((    /(((((((((         .###%####%
-                 ((((((        (((((((((          %#%#%#/
diff --git a/users/aspen/system/home/platforms/linux.nix b/users/aspen/system/home/platforms/linux.nix
index 4e4e02b451..6ad0d13d24 100644
--- a/users/aspen/system/home/platforms/linux.nix
+++ b/users/aspen/system/home/platforms/linux.nix
@@ -5,11 +5,9 @@ let
   depot = config.lib.depot;
 
 in
-
 {
   imports = [
     ../modules/alacritty.nix
-    ../modules/alsi.nix
     ../modules/development.nix
     ../modules/emacs.nix
     ../modules/email.nix
@@ -78,13 +76,7 @@ in
     pinentryFlavor = "qt";
   };
 
-  programs.zsh.initExtra = ''
-    [[ ! $IN_NIX_SHELL && "$TERM" != "dumb" ]] && alsi -l
-  '';
-
   services.lorri.enable = true;
 
-  services.dropbox = {
-    enable = true;
-  };
+  services.dropbox = { enable = true; };
 }