enable catppuccin everywhere uWu

This commit is contained in:
Ivan Dimitrov 2024-05-07 00:21:25 +03:00
parent 1abd5a0ec3
commit 4e605c8d48
17 changed files with 70 additions and 13 deletions

View File

@ -1,5 +1,20 @@
{ {
"nodes": { "nodes": {
"catppuccin": {
"locked": {
"lastModified": 1714607657,
"narHash": "sha256-AnmN+JOzrpHv7Uw7JSPJ9JEjuqF7gjhx29UuuldNpas=",
"owner": "catppuccin",
"repo": "nix",
"rev": "b0dc7f3181063daa6532dc5f757ded1a605dfbd5",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "nix",
"type": "github"
}
},
"devshell": { "devshell": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
@ -509,6 +524,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"catppuccin": "catppuccin",
"home-manager": "home-manager", "home-manager": "home-manager",
"hosts": "hosts", "hosts": "hosts",
"ide": "ide", "ide": "ide",

View File

@ -17,8 +17,9 @@
url = "github:nix-community/nix-index-database"; url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
catppuccin.url = "github:catppuccin/nix";
}; };
outputs = { self, nixpkgs, home-manager, hosts, ide, nid, ... }: outputs = { nixpkgs, home-manager, hosts, ide, nid, catppuccin, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
my-overlay = self: super: { my-overlay = self: super: {
@ -32,7 +33,7 @@
inherit system nixpkgs pkgs ide my-overlay; inherit system nixpkgs pkgs ide my-overlay;
}; };
home = import ./home { home = import ./home {
inherit system pkgs modules home-manager nid; inherit pkgs modules home-manager nid catppuccin;
}; };
nixos = import ./nixos { nixos = import ./nixos {
inherit system nixpkgs modules hosts; inherit system nixpkgs modules hosts;

View File

@ -1,6 +1,7 @@
{ system, pkgs, home-manager, modules, nid, ... }: { pkgs, home-manager, modules, nid, catppuccin, ... }:
let let
ivand-programs = with modules.home.programs; [ ivand-programs = with modules.home.programs; [
bat
bottom bottom
browserpass browserpass
carapace carapace
@ -10,8 +11,11 @@ let
firefox firefox
git git
gpg gpg
imv
kitty kitty
lf lf
mako
mpv
nushell nushell
nvim nvim
obs-studio obs-studio
@ -33,6 +37,6 @@ in
{ {
ivand = home-manager.lib.homeManagerConfiguration { ivand = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [ ./ivand nid.hmModules.nix-index ] ++ ivand-programs ++ ivand-packages; modules = [ ./ivand nid.hmModules.nix-index ] ++ ivand-programs ++ ivand-packages ++ [ catppuccin.homeManagerModules.catppuccin ];
}; };
} }

View File

@ -2,6 +2,12 @@
programs.home-manager = { enable = true; }; programs.home-manager = { enable = true; };
gtk = {
enable = true;
catppuccin.enable = true;
};
home = { home = {
username = "ivand"; username = "ivand";
homeDirectory = "/home/ivand"; homeDirectory = "/home/ivand";
@ -63,6 +69,7 @@
}; };
xdg = { xdg = {
enable = true;
userDirs = { userDirs = {
enable = true; enable = true;
createDirectories = true; createDirectories = true;

View File

@ -1,6 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
bat
openssh openssh
procs procs
ripgrep ripgrep

View File

@ -0,0 +1,6 @@
{
programs.bat = {
enable = true;
catppuccin.enable = true;
};
}

View File

@ -1,6 +1,7 @@
{ {
programs.bottom = { programs.bottom = {
enable = true; enable = true;
catppuccin.enable = true;
settings = { settings = {
flags = { flags = {
rate = "250ms"; rate = "250ms";

View File

@ -3,6 +3,7 @@
nvim = import ./neovim { nvim = import ./neovim {
nvim = ide.nvim.${system}.homeManagerModules.nvim; nvim = ide.nvim.${system}.homeManagerModules.nvim;
}; };
bat = import ./bat;
bottom = import ./bottom; bottom = import ./bottom;
browserpass = { programs.browserpass.enable = true; }; browserpass = { programs.browserpass.enable = true; };
carapace = import ./carapace; carapace = import ./carapace;
@ -12,8 +13,11 @@
firefox = import ./firefox { inherit pkgs; }; firefox = import ./firefox { inherit pkgs; };
git = import ./git; git = import ./git;
gpg = import ./gpg { inherit pkgs; }; gpg = import ./gpg { inherit pkgs; };
imv = import ./imv;
mako = import ./mako;
kitty = import ./kitty { inherit pkgs; }; kitty = import ./kitty { inherit pkgs; };
lf = import ./lf; lf = import ./lf;
mpv = import ./mpv;
nushell = import ./nushell { inherit pkgs; }; nushell = import ./nushell { inherit pkgs; };
obs-studio = import ./obs-studio { inherit pkgs; }; obs-studio = import ./obs-studio { inherit pkgs; };
pueue = import ./pueue; pueue = import ./pueue;
@ -23,6 +27,6 @@
swaylock = import ./swaylock; swaylock = import ./swaylock;
tealdeer = import ./tealdeer; tealdeer = import ./tealdeer;
tmux = import ./tmux { inherit pkgs; }; tmux = import ./tmux { inherit pkgs; };
waybar = import ./waybar { inherit pkgs; }; waybar = import ./waybar;
zsh = import ./zsh { inherit pkgs; }; zsh = import ./zsh { inherit pkgs; };
} }

View File

@ -0,0 +1,6 @@
{
programs.imv = {
enable = true;
catppuccin.enable = true;
};
}

View File

@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
catppuccin.enable = true;
font = { font = {
package = pkgs.fira-code; package = pkgs.fira-code;
name = "FiraCodeNFM-Reg"; name = "FiraCodeNFM-Reg";

View File

@ -0,0 +1,6 @@
{
services.mako = {
enable = true;
catppuccin.enable = true;
};
}

View File

@ -0,0 +1,6 @@
{
programs.mpv = {
enable = true;
catppuccin.enable = true;
};
}

View File

@ -1,12 +1,13 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.rofi = { programs.rofi = {
enable = true; enable = true;
catppuccin.enable = true;
package = pkgs.rofi-wayland.override { package = pkgs.rofi-wayland.override {
plugins = with pkgs; [ plugins = with pkgs; [
( (
rofi-calc.override rofi-calc.override
{ {
rofi-unwrapped = pkgs.rofi-wayland-unwrapped; rofi-unwrapped = rofi-wayland-unwrapped;
} }
) )
]; ];

View File

@ -1,6 +1,7 @@
{ {
programs.starship = { programs.starship = {
enable = true; enable = true;
catppuccin.enable = true;
enableNushellIntegration = true; enableNushellIntegration = true;
enableZshIntegration = true; enableZshIntegration = true;
}; };

View File

@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
catppuccin.enable = true;
systemd.enable = true; systemd.enable = true;
config = rec { config = rec {
menu = "rofi -show run"; menu = "rofi -show run";
@ -54,11 +55,8 @@
audacity audacity
gimp gimp
grim grim
imv
libnotify libnotify
libreoffice-qt libreoffice-qt
mako
mpv
mupdf mupdf
pavucontrol pavucontrol
scripts scripts

View File

@ -1,9 +1,8 @@
{ config, ... }: { { config, ... }: {
programs.swaylock = { programs.swaylock = {
enable = true; enable = true;
catppuccin.enable = true;
settings = { settings = {
color = "000000";
line-color = "ffffff";
show-failed-attempts = true; show-failed-attempts = true;
image = config.home.homeDirectory + "/pic/bg.png"; image = config.home.homeDirectory + "/pic/bg.png";
}; };

View File

@ -1,6 +1,7 @@
{ pkgs, ... }: { {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
catppuccin.enable = true;
settings = { settings = {
mainBar = { mainBar = {
layer = "top"; layer = "top";