diff --git a/modules/programs/tui/module.nix b/modules/programs/tui/module.nix index 76c2a09..6670806 100644 --- a/modules/programs/tui/module.nix +++ b/modules/programs/tui/module.nix @@ -1,3 +1,3 @@ _: { - imports = [./btop.nix ./ncmpcpp.nix ./yazi.nix ./wtfutil.nix]; + imports = [./btop.nix ./ncmpcpp.nix ./yazi.nix]; } diff --git a/modules/programs/tui/wtfutil.nix b/modules/programs/tui/wtfutil.nix deleted file mode 100644 index 34b1484..0000000 --- a/modules/programs/tui/wtfutil.nix +++ /dev/null @@ -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; - }; - }; - }; - }; - }; - }; -}