diff --git a/pkgs/fastfetch/biscuit.nix b/pkgs/fastfetch/biscuit.nix index 39f5b65..a36d993 100644 --- a/pkgs/fastfetch/biscuit.nix +++ b/pkgs/fastfetch/biscuit.nix @@ -1,35 +1,8 @@ {...}: { programs.fastfetch = { enable = true; - settings = { - logo = { - source = "nixos_small"; - padding = { - right = 1; - }; - }; - display = { - size = { - binaryPrefix = "si"; - }; - color = "blue"; - separator = "  "; - }; - modules = [ - { - type = "datetime"; - key = "Date"; - format = "{1}-{3}-{11}"; - } - { - type = "datetime"; - key = "Time"; - format = "{14}:{17}:{20}"; - } - "break" - "player" - "media" - ]; - }; + }; + home.file.".config/fastfetch/config.jsonc" = { + source = builtins.toPath ./small.jsonc; }; } diff --git a/pkgs/fastfetch/small.jsonc b/pkgs/fastfetch/small.jsonc new file mode 100644 index 0000000..34dc9cb --- /dev/null +++ b/pkgs/fastfetch/small.jsonc @@ -0,0 +1,40 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "small", + "padding": { + "right": 13 + } + }, + "modules": [ + { + "key": "\u001b[11D{#31}██ Distro", + "type": "os" + }, + { + "key": "\u001b[11D{#32}██ Kernel", + "type": "kernel" + }, + { + "key": "\u001b[11D{#33}██ Uptime", + "type": "uptime" + }, + { + "key": "\u001b[11D{#35}██ Shell", + "type": "shell" + }, + { + "key": "\u001b[11D{#36}██ Local IP", + "type": "localip" + }, + { + "key": "\u001b[11D{#37}██ Memory", + "type": "memory" + }, + { + "key": "\u001b[11D{#38}██ Home", + "type": "disk", + "folders": "/" + } + ] +}