aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/apps/fastfetch/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/modules/home/apps/fastfetch/default.nix')
-rw-r--r--snowfall/modules/home/apps/fastfetch/default.nix81
1 files changed, 0 insertions, 81 deletions
diff --git a/snowfall/modules/home/apps/fastfetch/default.nix b/snowfall/modules/home/apps/fastfetch/default.nix
deleted file mode 100644
index aa901e6..0000000
--- a/snowfall/modules/home/apps/fastfetch/default.nix
+++ /dev/null
@@ -1,81 +0,0 @@
-{ options, config, lib, pkgs, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.apps.fastfetch;
-in {
- options.${namespace}.apps.fastfetch = with types; {
- enable = mkEnableOption "fastfetch";
- };
-
- config = mkIf cfg.enable {
- programs.fastfetch = {
- enable = true;
- package = (pkgs.fastfetch.overrideAttrs (finalAttrs: previousAttrs: {
- cmakeFlags = [(cmakeBool "ENABLE_IMAGEMAGICK6" true)];
- }));
-
- settings = {
- logo = {
- type = "kitty-direct";
- source = "$(ls ${./assets}/*.png | shuf -n 1)";
-
- width = 36;
- height = 32;
-
- padding = {
- left = 4;
- right = 4;
- };
- };
-
- display = {
- separator = "";
- };
-
- modules = [
- { type = "custom"; format = " ハードウェア "; }
- { type = "custom"; format = "┌──────────────────────────────────────────────────┐"; }
-
- { type = "cpu"; key = " CPU "; }
- { type = "gpu"; key = " GPU "; format = "{2} [{6}]"; }
- { type = "memory"; key = " MEM "; }
- "break"
- {
- type = "disk";
- folders = "/nix:/persist";
- key = " 󰋊 ";
- }
-
- { type = "custom"; format = "└──────────────────────────────────────────────────┘"; }
- "break"
-
- { type = "custom"; format = " ソフトウェア "; }
- { type = "custom"; format = "┌──────────────────────────────────────────────────┐"; }
-
- { type = "title"; key = " 󰁥 "; format = "{1}@{2}"; }
- "break"
- { type = "os"; key = "  "; }
- { type = "kernel"; key = " 󰌽 "; format = "{1} {2}"; }
- { type = "packages"; key = " 󰆧 "; }
- "break"
- { type = "terminal"; key = "  "; }
- { type = "shell"; key = " 󱆃 "; }
- # { type = "font"; key = " 󰬈 "; }
- { type = "font"; key = " 󰬈 "; format = "Caskaydia Mono (8pt)"; }
- "break"
- { type = "wm"; key = "  "; }
- # { type = "theme"; key = " 󰏘 "; }
- { type = "theme"; key = " 󰏘 "; format = "gruvbox"; }
- "break"
- { type = "media"; key = " 󰝚 "; }
- { type = "datetime"; key = " 󰃰 "; }
-
- { type = "custom"; format = "└──────────────────────────────────────────────────┘"; }
- "break"
-
- "colors"
- ];
- };
- };
- };
-}