move catppuccin packages to their own file and add xdg-desktop-portal-gtk

This commit is contained in:
Seaswimmer 2024-11-16 21:00:38 -05:00
parent 0133cf9214
commit d0d883cd07
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 32 additions and 6 deletions

View file

@ -22,6 +22,7 @@
modules = [ modules = [
# imports # imports
./hosts/eclipse.nix ./hosts/eclipse.nix
./nixos/catppuccin.nix
./nixos/configuration.nix ./nixos/configuration.nix
./nixos/environment.nix ./nixos/environment.nix
./nixos/git.nix ./nixos/git.nix
@ -33,6 +34,11 @@
./nixos/tailscale.nix ./nixos/tailscale.nix
./nixos/zsh.nix ./nixos/zsh.nix
{
# enable bluetooth
hardware.bluetooth.enable = true;
}
# flake packages # flake packages
{ {
environment.systemPackages = with inputs; [ environment.systemPackages = with inputs; [

24
nixos/catppuccin.nix Normal file
View file

@ -0,0 +1,24 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
# catppuccin
(catppuccin.override {
variant = "mocha";
accent ="blue";
themeList = [ "bat" "btop" "grub" "lazygit" ];
})
catppuccin-cursors
# catppuccin for kde plasma
(catppuccin-kde.override {
flavour = [ "mocha" "macchiato" "frappe" "latte" ];
accents = [ "blue" ];
winDecStyles = [ "classic" ];
})
(catppuccin-gtk.override {
variant = "mocha";
accents = [ "blue" ];
size = "standard";
})
];
}

View file

@ -5,12 +5,8 @@ let
krita krita
ytmdesktop ytmdesktop
wl-clipboard wl-clipboard
# catppuccin for kde plasma # we install xdg-desktop-portal-gtx so theming works from kde
(catppuccin-kde.override { xdg-desktop-portal-gtk
flavour = [ "mocha" "macchiato" "frappe" "latte" ];
accents = [ "blue" ];
winDecStyles = [ "classic" ];
})
]; ];
in { in {
environment.systemPackages = lib.lists.unique (kdePackages ++ packages); environment.systemPackages = lib.lists.unique (kdePackages ++ packages);