move catppuccin packages to their own file and add xdg-desktop-portal-gtk
This commit is contained in:
parent
0133cf9214
commit
d0d883cd07
3 changed files with 32 additions and 6 deletions
|
@ -22,6 +22,7 @@
|
|||
modules = [
|
||||
# imports
|
||||
./hosts/eclipse.nix
|
||||
./nixos/catppuccin.nix
|
||||
./nixos/configuration.nix
|
||||
./nixos/environment.nix
|
||||
./nixos/git.nix
|
||||
|
@ -33,6 +34,11 @@
|
|||
./nixos/tailscale.nix
|
||||
./nixos/zsh.nix
|
||||
|
||||
{
|
||||
# enable bluetooth
|
||||
hardware.bluetooth.enable = true;
|
||||
}
|
||||
|
||||
# flake packages
|
||||
{
|
||||
environment.systemPackages = with inputs; [
|
||||
|
|
24
nixos/catppuccin.nix
Normal file
24
nixos/catppuccin.nix
Normal 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";
|
||||
})
|
||||
];
|
||||
}
|
|
@ -5,12 +5,8 @@ let
|
|||
krita
|
||||
ytmdesktop
|
||||
wl-clipboard
|
||||
# catppuccin for kde plasma
|
||||
(catppuccin-kde.override {
|
||||
flavour = [ "mocha" "macchiato" "frappe" "latte" ];
|
||||
accents = [ "blue" ];
|
||||
winDecStyles = [ "classic" ];
|
||||
})
|
||||
# we install xdg-desktop-portal-gtx so theming works from kde
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
in {
|
||||
environment.systemPackages = lib.lists.unique (kdePackages ++ packages);
|
||||
|
|
Loading…
Reference in a new issue