From 2efa77d29162a69d9e9c8e3916822437486e8545 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 18 Nov 2024 16:49:06 -0500 Subject: [PATCH] add`fastfetch` configuration --- config/fastfetch.jsonc | 24 ++++++++++++++++++++++++ home-manager/cswimr.nix | 24 +++++++++++------------- 2 files changed, 35 insertions(+), 13 deletions(-) create mode 100644 config/fastfetch.jsonc diff --git a/config/fastfetch.jsonc b/config/fastfetch.jsonc new file mode 100644 index 0000000..194d557 --- /dev/null +++ b/config/fastfetch.jsonc @@ -0,0 +1,24 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "modules": [ + "title", + "separator", + "os", + "host", + "kernel", + "uptime", + "packages", + "shell", + "display", + "de", + "wm", + "terminal", + "cpu", + "gpu", + "memory", + "swap", + "disk", + "break", + "colors" + ] +} diff --git a/home-manager/cswimr.nix b/home-manager/cswimr.nix index 0813e31..2c81a29 100755 --- a/home-manager/cswimr.nix +++ b/home-manager/cswimr.nix @@ -2,8 +2,10 @@ home.username = "cswimr"; home.homeDirectory = "/home/cswimr"; - home.file = { - ".face.icon".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/assets/img/clownfish.png"; + home.file = { + ".face.icon".source = + config.lib.file.mkOutOfStoreSymlink "/etc/nixos/assets/img/clownfish.png"; + ".config/fastfetch/config.jsonc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/fastfetch.jsonc"; }; # link the configuration file in current directory to the specified location in home directory @@ -38,23 +40,19 @@ extraConfig = { user = { signingkey = "0EC431A8DA8F8087"; }; commit = { gpgsign = true; }; - signing = { signByDefault = true; key = "0EC431A8DA8F8087"; }; + signing = { + signByDefault = true; + key = "0EC431A8DA8F8087"; + }; init = { defaultBranch = "master"; }; safe = { directory = "/etc/nixos"; }; url = { "git@coastalcommits.com:" = { - insteadOf = [ - "https://www.coastalcommits.com/" - "cc:" - "coastalcommits:" - ]; + insteadOf = + [ "https://www.coastalcommits.com/" "cc:" "coastalcommits:" ]; }; "git@github.com:" = { - insteadOf = [ - "https://github.com/" - "gh:" - "github:" - ]; + insteadOf = [ "https://github.com/" "gh:" "github:" ]; }; }; };