Skip to content

Commit

Permalink
theme: change default package for system
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed May 5, 2024
1 parent 8d8633f commit bbdd5e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions modules/home/desktop/theme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ in

cursor = {
name = mkOpt types.str "Catppuccin-Macchiato-Blue-Cursors" "The name of the cursor theme to apply.";
package =
mkOpt types.package pkgs.catppuccin-cursors.macchiatoBlue
"The package to use for the cursor theme.";
package = mkOpt types.package (
if pkgs.stdenv.isLinux then pkgs.catppuccin-cursors.macchiatoBlue else pkgs.emptyDirectory
) "The package to use for the cursor theme.";
size = mkOpt types.int 32 "The size of the cursor.";
};

Expand Down
6 changes: 3 additions & 3 deletions modules/nixos/desktop/theme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ in

cursor = {
name = mkOpt types.str "Catppuccin-Macchiato-Blue-Cursors" "The name of the cursor theme to apply.";
package =
mkOpt types.package pkgs.catppuccin-cursors.macchiatoBlue
"The package to use for the cursor theme.";
package = mkOpt types.package (
if pkgs.stdenv.isLinux then pkgs.catppuccin-cursors.macchiatoBlue else pkgs.emptyDirectory
) "The package to use for the cursor theme.";
size = mkOpt types.int 32 "The size of the cursor.";
};

Expand Down

0 comments on commit bbdd5e3

Please sign in to comment.