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": {
"catppuccin": {
"locked": {
"lastModified": 1714607657,
"narHash": "sha256-AnmN+JOzrpHv7Uw7JSPJ9JEjuqF7gjhx29UuuldNpas=",
"owner": "catppuccin",
"repo": "nix",
"rev": "b0dc7f3181063daa6532dc5f757ded1a605dfbd5",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "nix",
"type": "github"
}
},
"devshell": {
"inputs": {
"flake-utils": "flake-utils_3",
@ -509,6 +524,7 @@
},
"root": {
"inputs": {
"catppuccin": "catppuccin",
"home-manager": "home-manager",
"hosts": "hosts",
"ide": "ide",

View File

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

View File

@ -1,6 +1,7 @@
{ system, pkgs, home-manager, modules, nid, ... }:
{ pkgs, home-manager, modules, nid, catppuccin, ... }:
let
ivand-programs = with modules.home.programs; [
bat
bottom
browserpass
carapace
@ -10,8 +11,11 @@ let
firefox
git
gpg
imv
kitty
lf
mako
mpv
nushell
nvim
obs-studio
@ -33,6 +37,6 @@ in
{
ivand = home-manager.lib.homeManagerConfiguration {
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; };
gtk = {
enable = true;
catppuccin.enable = true;
};
home = {
username = "ivand";
homeDirectory = "/home/ivand";
@ -63,6 +69,7 @@
};
xdg = {
enable = true;
userDirs = {
enable = true;
createDirectories = true;

View File

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

View File

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

View File

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

View File

@ -3,6 +3,7 @@
nvim = import ./neovim {
nvim = ide.nvim.${system}.homeManagerModules.nvim;
};
bat = import ./bat;
bottom = import ./bottom;
browserpass = { programs.browserpass.enable = true; };
carapace = import ./carapace;
@ -12,8 +13,11 @@
firefox = import ./firefox { inherit pkgs; };
git = import ./git;
gpg = import ./gpg { inherit pkgs; };
imv = import ./imv;
mako = import ./mako;
kitty = import ./kitty { inherit pkgs; };
lf = import ./lf;
mpv = import ./mpv;
nushell = import ./nushell { inherit pkgs; };
obs-studio = import ./obs-studio { inherit pkgs; };
pueue = import ./pueue;
@ -23,6 +27,6 @@
swaylock = import ./swaylock;
tealdeer = import ./tealdeer;
tmux = import ./tmux { inherit pkgs; };
waybar = import ./waybar { inherit pkgs; };
waybar = import ./waybar;
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, ... }: {
programs.kitty = {
enable = true;
catppuccin.enable = true;
font = {
package = pkgs.fira-code;
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, ... }: {
programs.rofi = {
enable = true;
catppuccin.enable = true;
package = pkgs.rofi-wayland.override {
plugins = with pkgs; [
(
rofi-calc.override
{
rofi-unwrapped = pkgs.rofi-wayland-unwrapped;
rofi-unwrapped = rofi-wayland-unwrapped;
}
)
];

View File

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

View File

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

View File

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

View File

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