mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
home: move theme module outside of hyprland config
This commit is contained in:
parent
a107e6401e
commit
9b1a57a16f
|
@ -4,5 +4,5 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./gnome ./hypr ./sway ./river];
|
||||
imports = [./theme.nix ./gnome ./hypr ./sway ./river];
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
hyprland,
|
||||
...
|
||||
}: {
|
||||
imports = [./hypridle ./hyprlock ./hyprpaper ./hyprshade ./theme.nix];
|
||||
imports = [./hypridle ./hyprlock ./hyprpaper ./hyprshade];
|
||||
|
||||
options = {
|
||||
alyraffauf.desktop.hyprland.enable =
|
||||
|
@ -25,7 +25,7 @@
|
|||
alyraffauf.desktop.hyprland.hyprpaper.enable = lib.mkDefault true;
|
||||
alyraffauf.desktop.hyprland.hyprshade.enable = lib.mkDefault true;
|
||||
|
||||
alyraffauf.desktop.hyprland.theme.enable = lib.mkDefault true;
|
||||
alyraffauf.desktop.theme.enable = lib.mkDefault true;
|
||||
|
||||
# Basic apps needed to run a hyprland desktop.
|
||||
alyraffauf.apps.waybar.enable = lib.mkDefault true;
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
kanshi.enable = lib.mkDefault true;
|
||||
};
|
||||
desktop.river.randomWallpaper = lib.mkDefault true;
|
||||
desktop.theme.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
programs.swaylock.enable = lib.mkDefault true;
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
firefox.enable = lib.mkDefault true;
|
||||
kanshi.enable = lib.mkDefault true;
|
||||
};
|
||||
desktop.theme.enable = lib.mkDefault true;
|
||||
};
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
...
|
||||
}: {
|
||||
options = {
|
||||
alyraffauf.desktop.hyprland.theme.enable =
|
||||
lib.mkEnableOption "Hyprland GTK and Qt themes.";
|
||||
alyraffauf.desktop.theme.enable =
|
||||
lib.mkEnableOption "GTK and Qt themes.";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.alyraffauf.desktop.hyprland.theme.enable {
|
||||
config = lib.mkIf config.alyraffauf.desktop.theme.enable {
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
Loading…
Reference in a new issue