chore(aspen/system): Drop alsi

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
This commit is contained in:
Aspen Smith 2024-02-19 15:16:20 -05:00 committed by clbot
parent 79488e4ee1
commit d1055ee841
5 changed files with 1 additions and 119 deletions

View file

@ -1 +0,0 @@
aspen

View file

@ -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
'';
}

View file

@ -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",
}
'';
}

View file

@ -1,26 +0,0 @@
(((((( ###%###### ##%###/
,(((((((/( #%#%#%#%# .#%#%#%#%#
((((((/// %#######%. #####%###/
(((((/(//, /##%###%###%######
(((////// #####%########(
.(((((((((((((((///////////////#%%%######## ((
(((((((((((((((///////////////////######### .((((
((((((((((((((((/(//////////////////########## ((((((((
(######### ######### (((((((((
######### #########/((((((((((
*######### .#######(((((((((
###%################### ####(//((((((((((((((((
####%################## .#////////((((((((((((((
%%%%%%%%%%%%%%#######(( ////////////((((((((((((
###%#######%#######////. ///////////////////((((
###%###%#///////( /////////
.####%#### ///////// /////////,
%#%#%#%#%* /////////( /////////
.#####%# ////////(######################%#######%#####,
%#### (////////#####################%###%###%###%
.# (//////(//((###################%#######%##%
(//((((((((((( #####%%%%(
//(/(((((((((((((( ######%##
((((((((( ((((((((( #####%###/
((((((((( /((((((((( .###%####%
(((((( ((((((((( %#%#%#/

View file

@ -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; };
}