feat(themeing): Major refactor themeing for whole computer

Adds catppuccin nix flake for themeing lots of programs easily. This
enables proper themeing for:
* zathura
* imv
* fcitx (declarative settings)
* lazygit
* btop
* gtk

It also pulls in the home-manager sessionVars which is necessary to
theme applications.

The session vars change also reduces the number of env-vars that need to
be set in the zshrc due to them being set declaratively elsewhere.
This commit is contained in:
stitchy 2025-03-21 10:43:34 +00:00
parent 22dbb128c0
commit 319c25098c
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
9 changed files with 114 additions and 30 deletions

View file

@ -1,6 +1,7 @@
{
description = "System Configuration Flake";
outputs = inputs@{
catppuccin,
nixpkgs,
nixpkgs-xr,
nixos-hardware,
@ -14,6 +15,7 @@
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
catppuccin.nixosModules.catppuccin
./hosts/malachite/default.nix
./users/stitchynyan/default.nix
@ -24,7 +26,13 @@
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix;
home-manager.users.stitchynyan = {
imports = [
catppuccin.homeManagerModules.catppuccin
./users/stitchynyan/home.nix
./users/home.nix
];
};
}
];
};
@ -32,6 +40,7 @@
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
catppuccin.nixosModules.catppuccin
nixos-hardware.nixosModules.framework-12th-gen-intel
./hosts/lappy/default.nix
@ -42,7 +51,13 @@
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix;
home-manager.users.stitchynyan = {
imports = [
catppuccin.homeManagerModules.catppuccin
./users/stitchynyan/home.nix
./users/home.nix
];
};
}
];
};
@ -86,6 +101,7 @@
};
inputs = {
catppuccin.url = "github:catppuccin/nix";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";