Compare commits
2 Commits
b452b6b9b0
...
649ebb311a
| Author | SHA1 | Date | |
|---|---|---|---|
| 649ebb311a | |||
| 929425ff20 |
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
|
# Configured programs to enable
|
||||||
program = {
|
program = {
|
||||||
|
fastfetch.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
zoxide.enable = true;
|
zoxide.enable = true;
|
||||||
|
|||||||
@ -253,7 +253,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "$LAYOUT[en, cz, ru] ";
|
text = "$LAYOUT[en, cz, ru] "; # This is blank space to show full emoji
|
||||||
|
|
||||||
color = "$accent";
|
color = "$accent";
|
||||||
font_size = 12;
|
font_size = 12;
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
./tools/oh-my-posh.nix
|
./tools/oh-my-posh.nix
|
||||||
./tools/shell.nix
|
./tools/shell.nix
|
||||||
./tools/kitty.nix
|
./tools/kitty.nix
|
||||||
|
./tools/fastfetch.nix
|
||||||
./tools/tmux.nix
|
./tools/tmux.nix
|
||||||
./tools/zoxide.nix
|
./tools/zoxide.nix
|
||||||
./tools/ranger.nix
|
./tools/ranger.nix
|
||||||
@ -58,6 +59,7 @@
|
|||||||
sh.oh-my-posh.enable = lib.mkDefault true;
|
sh.oh-my-posh.enable = lib.mkDefault true;
|
||||||
|
|
||||||
program = {
|
program = {
|
||||||
|
fastfetch.enable = lib.mkDefault false;
|
||||||
kitty.enable =
|
kitty.enable =
|
||||||
if userSettings.terminal == "kitty"
|
if userSettings.terminal == "kitty"
|
||||||
then lib.mkDefault true
|
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";
|
ll = "${pkgs.eza}/bin/eza -alh --icons";
|
||||||
l = "${pkgs.eza}/bin/eza -lh --icons=auto";
|
l = "${pkgs.eza}/bin/eza -lh --icons=auto";
|
||||||
tree = "${pkgs.eza}/bin/eza --tree --icons";
|
tree = "${pkgs.eza}/bin/eza --tree --icons";
|
||||||
|
neofetch = "${pkgs.fastfetch}/bin/fastfetch";
|
||||||
open = "rifle";
|
open = "rifle";
|
||||||
ip = "ip -c";
|
ip = "ip -c";
|
||||||
s = "kitten ssh";
|
s = "kitten ssh";
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
sh.oh-my-posh.enable = true;
|
sh.oh-my-posh.enable = true;
|
||||||
|
|
||||||
program = {
|
program = {
|
||||||
|
fastfetch.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
zoxide.enable = true;
|
zoxide.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user