programs/tui: remove wtfutil

This commit is contained in:
Charlie Root 2024-11-01 21:00:59 +01:00
commit 01d84f754b
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
2 changed files with 1 additions and 134 deletions

View file

@ -1,3 +1,3 @@
_: {
imports = [./btop.nix ./ncmpcpp.nix ./yazi.nix ./wtfutil.nix];
imports = [./btop.nix ./ncmpcpp.nix ./yazi.nix];
}

View file

@ -1,133 +0,0 @@
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.programs.wtfutil;
inherit (config.modules.other.system) username;
in {
options.modules.programs.wtfutil.enable = mkEnableOption "wtfutil";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wtf
];
home-manager.users.${username}.xdg.configFile."wtf/config.yml".text = builtins.toJSON {
wtf = {
refreshInterval = 1;
colors = {
border = {
focusable = "darkslateblue";
focused = "orange";
normal = "gray";
};
};
grid = {
columns = "[15, 15, 15, 15, 40]";
rows = "[10, 10, 10, 4, 4, 90]";
};
mods = {
clocks_a = {
enabled = true;
locations = {Zurich = "Europe/Zurich";};
position = {
top = 0;
left = 0;
height = 2;
width = 3;
};
refreshInterval = 15;
sort = "alphabetical";
title = "Clock!";
type = "clocks";
colors = {
rows = {
even = "lightblue";
odd = "white";
};
};
};
git = {
enabled = true;
showModuleName = true;
commitCount = 50;
commitFormat = "[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]";
dateFormat = "%H:%M %d %b %y";
position = {
top = 0;
left = 5;
height = 4;
width = 4;
};
refreshInterval = 10;
repositories = [
"/home/${username}/repos/nichts"
"/home/${username}/repos/analysis-1-cheatsheet"
];
};
ipapi = {
enabled = true;
refreshInterval = 300;
position = {
top = 6;
left = 0;
height = 3;
width = 3;
};
colors = {
name = "red";
value = "white";
};
};
lunarphase = {
enabled = false;
refreshInterval = "5h";
language = "en";
position = {
top = 3;
left = 5;
height = 7;
width = 3;
};
};
power = {
enabled = false;
refreshInterval = 15;
position = {
top = 5;
left = 0;
height = 2;
width = 1;
};
};
resourceusage = {
enabled = true;
showModuleName = false;
refreshInterval = 1;
showCPU = true;
showMem = true;
showSwp = true;
cpuCombined = true;
position = {
top = 2;
left = 0;
height = 2;
width = 3;
};
};
security = {
enabled = true;
refreshInterval = "1h";
position = {
top = 0;
left = 3;
height = 3;
width = 2;
};
};
};
};
};
};
}