feat: use device.is "name" instead of device.hasGui for most items
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
...
|
||||
}: {
|
||||
gtk = {
|
||||
enable = device.hasGui && pkgs.stdenv.isLinux;
|
||||
enable = device.is "ryu";
|
||||
theme = {
|
||||
name = "catppuccin-mocha-mauve-standard+normal";
|
||||
package = pkgs.catppuccinThemes.gtk;
|
||||
@@ -33,11 +33,8 @@
|
||||
gtk3.extraConfig = {gtk-application-prefer-dark-theme = 1;};
|
||||
gtk4.extraConfig = {gtk-application-prefer-dark-theme = 1;};
|
||||
};
|
||||
home.packages =
|
||||
lib.optionals
|
||||
(device.hasGui
|
||||
&& pkgs.stdenv.isLinux) [
|
||||
# pkgs.catppuccinThemes.gtk
|
||||
pkgs.catppuccinThemes.papirus-folders
|
||||
];
|
||||
home.packages = lib.optionals (device.is "ryu") [
|
||||
# pkgs.catppuccinThemes.gtk
|
||||
pkgs.catppuccinThemes.papirus-folders
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user