✨ (home) flakify catppuccin themes
This commit is contained in:
parent
b34b57082e
commit
7206511382
69
flake.lock
69
flake.lock
|
@ -65,6 +65,71 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"catppuccin-alacritty": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1664239314,
|
||||||
|
"narHash": "sha256-w9XVtEe7TqzxxGUCDUR9BFkzLZjG8XrplXJ3lX6f+x0=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "alacritty",
|
||||||
|
"rev": "3c808cbb4f9c87be43ba5241bc57373c793d2f17",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"ref": "yaml",
|
||||||
|
"repo": "alacritty",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"catppuccin-bat": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1668065083,
|
||||||
|
"narHash": "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "bat",
|
||||||
|
"rev": "ba4d16880d63e656acced2b7d4e034e4a93f74b1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "bat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"catppuccin-btop": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696688295,
|
||||||
|
"narHash": "sha256-jodJl4f2T9ViNqsY9fk8IV62CrpC5hy7WK3aRpu70Cs=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "btop",
|
||||||
|
"rev": "c6469190f2ecf25f017d6120bf4e050e6b1d17af",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "btop",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"catppuccin-mako": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1691845483,
|
||||||
|
"narHash": "sha256-nUzWkQVsIH4rrCFSP87mXAka6P+Td2ifNbTuP7NM/SQ=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "mako",
|
||||||
|
"rev": "9dd088aa5f4529a3dd4d9760415e340664cb86df",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "mako",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
|
@ -1269,6 +1334,10 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"TP-calcul-parallele": "TP-calcul-parallele",
|
"TP-calcul-parallele": "TP-calcul-parallele",
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
"catppuccin-alacritty": "catppuccin-alacritty",
|
||||||
|
"catppuccin-bat": "catppuccin-bat",
|
||||||
|
"catppuccin-btop": "catppuccin-btop",
|
||||||
|
"catppuccin-mako": "catppuccin-mako",
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
|
16
flake.nix
16
flake.nix
|
@ -34,6 +34,22 @@
|
||||||
url = "https://images.unsplash.com/photo-1482686115713-0fbcaced6e28";
|
url = "https://images.unsplash.com/photo-1482686115713-0fbcaced6e28";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
catppuccin-alacritty = {
|
||||||
|
url = "github:catppuccin/alacritty/yaml";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
catppuccin-bat = {
|
||||||
|
url = "github:catppuccin/bat";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
catppuccin-btop = {
|
||||||
|
url = "github:catppuccin/btop";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
catppuccin-mako = {
|
||||||
|
url = "github:catppuccin/mako";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
# hydrogen nginx sites
|
# hydrogen nginx sites
|
||||||
resume.url = "git+https://git.fainsin.bzh/Laurent/resume";
|
resume.url = "git+https://git.fainsin.bzh/Laurent/resume";
|
||||||
|
|
|
@ -1,15 +1,8 @@
|
||||||
{pkgs, ...}: let
|
{inputs, ...}: {
|
||||||
catppuccin-alacritty = pkgs.fetchFromGitHub {
|
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "alacritty";
|
|
||||||
rev = "3c808cbb4f9c87be43ba5241bc57373c793d2f17";
|
|
||||||
sha256 = "07gvkxz9axvjjplpmwf6k0nk6n84gm20s0k5qkqsqkmv8ysdbmf3";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
import = ["${catppuccin-alacritty}/catppuccin-mocha.yml"];
|
import = ["${inputs.catppuccin-alacritty}/catppuccin-mocha.yml"];
|
||||||
window.opacity = 0.85;
|
window.opacity = 0.85;
|
||||||
font = {
|
font = {
|
||||||
normal.family = "FiraCode Nerd Font Mono";
|
normal.family = "FiraCode Nerd Font Mono";
|
||||||
|
|
|
@ -1,22 +1,21 @@
|
||||||
{pkgs, ...}: let
|
{
|
||||||
catppuccin-bat = pkgs.fetchFromGitHub {
|
inputs,
|
||||||
owner = "catppuccin";
|
pkgs,
|
||||||
repo = "bat";
|
...
|
||||||
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
|
}: {
|
||||||
sha256 = "1g2r6j33f4zys853i1c5gnwcdbwb6xv5w6pazfdslxf69904lrg9";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
themes = {
|
themes = {
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
src = catppuccin-bat;
|
src = inputs.catppuccin-bat;
|
||||||
file = "Catppuccin-mocha.tmTheme";
|
file = "Catppuccin-mocha.tmTheme";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config.theme = "catppuccin";
|
config.theme = "catppuccin";
|
||||||
extraPackages = with pkgs.bat-extras; [batman];
|
extraPackages = with pkgs.bat-extras; [batman];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh.shellAliases = {
|
programs.zsh.shellAliases = {
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
man = "batman";
|
man = "batman";
|
||||||
|
|
|
@ -1,12 +1,5 @@
|
||||||
{pkgs, ...}: let
|
{inputs, ...}: {
|
||||||
catppuccin-btop = pkgs.fetchFromGitHub {
|
xdg.configFile."btop/themes".source = "${inputs.catppuccin-btop}/themes";
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "btop";
|
|
||||||
rev = "c6469190f2ecf25f017d6120bf4e050e6b1d17af";
|
|
||||||
sha256 = "sha256-jodJl4f2T9ViNqsY9fk8IV62CrpC5hy7WK3aRpu70Cs=";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
xdg.configFile."btop/themes".source = "${catppuccin-btop}/themes";
|
|
||||||
|
|
||||||
programs.btop = {
|
programs.btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -14,7 +7,6 @@ in {
|
||||||
settings = {
|
settings = {
|
||||||
theme_background = false;
|
theme_background = false;
|
||||||
color_theme = "catppuccin_mocha";
|
color_theme = "catppuccin_mocha";
|
||||||
|
|
||||||
clock_format = "%Y-%m-%d %X";
|
clock_format = "%Y-%m-%d %X";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
programs.fuzzel = {
|
programs.fuzzel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
main = {
|
main = {
|
||||||
line-height = 15;
|
line-height = 15;
|
||||||
|
|
|
@ -1,14 +1,7 @@
|
||||||
{pkgs, ...}: let
|
{inputs, ...}: {
|
||||||
catppuccin-mako = pkgs.fetchFromGitHub {
|
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "mako";
|
|
||||||
rev = "9dd088aa5f4529a3dd4d9760415e340664cb86df";
|
|
||||||
sha256 = "097x9jrkzvml6ngnhxwkzzl1l2awwv73yli1mhmpw83c0n8xck4x";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
services.mako = {
|
services.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultTimeout = 5000;
|
defaultTimeout = 5000;
|
||||||
extraConfig = builtins.readFile "${catppuccin-mako}/src/mocha";
|
extraConfig = builtins.readFile "${inputs.catppuccin-mako}/src/mocha";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue