home(gui): add catppuccin gtk and cursor themes
This commit is contained in:
parent
97f5b35bda
commit
32421517b8
5 changed files with 115 additions and 45 deletions
|
@ -3,7 +3,10 @@
|
|||
, config
|
||||
, ... }: with lib; let
|
||||
gui = with config.global.gpu; enable && session;
|
||||
catppuccin = config.home.catppuccin;
|
||||
in {
|
||||
imports = [ ./catppuccin/nixos.nix ];
|
||||
|
||||
config = {
|
||||
users.homeModules = [
|
||||
# this module passes gui configuration to home-manager
|
||||
|
@ -12,10 +15,13 @@ in {
|
|||
users.adminGroups = mkIf gui [ "video" ];
|
||||
|
||||
# themes and icons
|
||||
environment.systemPackages = with pkgs; mkIf gui [
|
||||
whitesur-gtk-theme whitesur-icon-theme
|
||||
papirus-icon-theme bibata-cursors
|
||||
];
|
||||
environment.systemPackages = with pkgs; mkIf gui ([
|
||||
papirus-icon-theme
|
||||
] ++ optionals (!catppuccin.enable) [
|
||||
whitesur-gtk-theme
|
||||
whitesur-icon-theme
|
||||
bibata-cursors
|
||||
]);
|
||||
|
||||
fonts.enableDefaultPackages = mkIf gui true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue