diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-07 22:49:30 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:49 -0700 |
| commit | e11a0658b3c47459767ba49ccfe319a2b8c73456 (patch) | |
| tree | f7f3919b71715adee6477dd7bfcaa93b3cc8bf0c /roles/home | |
| parent | bb80a276f5bc23c884fe8af922d371b216bc5b4b (diff) | |
migration: fastfetch
Diffstat (limited to 'roles/home')
| -rw-r--r-- | roles/home/desktop/default.nix | 4 | ||||
| -rw-r--r-- | roles/home/desktop/fastfetch.nix | 72 |
2 files changed, 0 insertions, 76 deletions
diff --git a/roles/home/desktop/default.nix b/roles/home/desktop/default.nix index 43f0467..8e411ba 100644 --- a/roles/home/desktop/default.nix +++ b/roles/home/desktop/default.nix @@ -59,10 +59,6 @@ let cfg = config.home.roles.desktop; in { config = mkIf cfg.enable { gtk.enable = true; - programs = { - fastfetch.enable = cfg.fetch; - }; - home = { packages = with pkgs; [ (writeShellScriptBin "switch-theme" '' diff --git a/roles/home/desktop/fastfetch.nix b/roles/home/desktop/fastfetch.nix deleted file mode 100644 index dd8b082..0000000 --- a/roles/home/desktop/fastfetch.nix +++ /dev/null @@ -1,72 +0,0 @@ -{ lib, pkgs, ... }: - -{ - programs.fastfetch = { - package = (pkgs.fastfetch.overrideAttrs (finalAttrs: previousAttrs: { - cmakeFlags = [(lib.cmakeBool "ENABLE_IMAGEMAGICK6" true)]; - })); - - settings = { - logo = { - type = "kitty-direct"; - source = "$(ls ${../../../assets/fastfetch}/*.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" - ]; - }; - }; -} |