udiskie: Only enable if hyprland

Conditional imports like this could make it easier to import everything
at once and selectively exclude as needed.
This commit is contained in:
Donovan Glover 2023-06-17 22:46:03 -04:00
parent 42699b6985
commit b2ff95f11b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,3 +1,5 @@
{ lib, config, ... }:
{
home-manager.sharedModules = [
./dunst.nix
@ -20,7 +22,7 @@
./rofi.nix
./swaylock.nix
./thunar.nix
./udiskie.nix
(lib.mkIf (config.programs.hyprland.enable == true) ./udiskie.nix)
./waybar.nix
./waycorner.nix
./xcursor.nix