fastfetch created
This commit is contained in:
parent
929425ff20
commit
649ebb311a
BIN
config/logo.png
Normal file
BIN
config/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 340 KiB |
@ -35,6 +35,7 @@
|
||||
|
||||
# Configured programs to enable
|
||||
program = {
|
||||
fastfetch.enable = true;
|
||||
kitty.enable = true;
|
||||
tmux.enable = true;
|
||||
zoxide.enable = true;
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
./tools/oh-my-posh.nix
|
||||
./tools/shell.nix
|
||||
./tools/kitty.nix
|
||||
./tools/fastfetch.nix
|
||||
./tools/tmux.nix
|
||||
./tools/zoxide.nix
|
||||
./tools/ranger.nix
|
||||
@ -58,6 +59,7 @@
|
||||
sh.oh-my-posh.enable = lib.mkDefault true;
|
||||
|
||||
program = {
|
||||
fastfetch.enable = lib.mkDefault false;
|
||||
kitty.enable =
|
||||
if userSettings.terminal == "kitty"
|
||||
then lib.mkDefault true
|
||||
|
||||
47
nixos/home/packages/tools/fastfetch.nix
Normal file
47
nixos/home/packages/tools/fastfetch.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
program.fastfetch.enable = lib.mkEnableOption "fastfetch";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.program.fastfetch.enable {
|
||||
home.file = {
|
||||
".config/fastfetch/logo.png".source = ../../../../config/logo.png;
|
||||
};
|
||||
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
|
||||
"logo" = {
|
||||
"source" = "/home/shinya/.config/fastfetch/logo.png";
|
||||
"width" = 30;
|
||||
"height" = 18;
|
||||
};
|
||||
"modules" = [
|
||||
"break"
|
||||
"title"
|
||||
"separator"
|
||||
"os"
|
||||
"host"
|
||||
"kernel"
|
||||
"uptime"
|
||||
"packages"
|
||||
"shell"
|
||||
"de"
|
||||
"wm"
|
||||
"icons"
|
||||
"font"
|
||||
"cursor"
|
||||
"terminalfont"
|
||||
"cpu"
|
||||
"gpu"
|
||||
"disk"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -9,6 +9,7 @@
|
||||
ll = "${pkgs.eza}/bin/eza -alh --icons";
|
||||
l = "${pkgs.eza}/bin/eza -lh --icons=auto";
|
||||
tree = "${pkgs.eza}/bin/eza --tree --icons";
|
||||
neofetch = "${pkgs.fastfetch}/bin/fastfetch";
|
||||
open = "rifle";
|
||||
ip = "ip -c";
|
||||
s = "kitten ssh";
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
sh.oh-my-posh.enable = true;
|
||||
|
||||
program = {
|
||||
fastfetch.enable = true;
|
||||
tmux.enable = true;
|
||||
zoxide.enable = true;
|
||||
git.enable = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user