mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-03 20:49:30 +01:00
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:
parent
42699b6985
commit
b2ff95f11b
@ -1,3 +1,5 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
@ -20,7 +22,7 @@
|
|||||||
./rofi.nix
|
./rofi.nix
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
./thunar.nix
|
./thunar.nix
|
||||||
./udiskie.nix
|
(lib.mkIf (config.programs.hyprland.enable == true) ./udiskie.nix)
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./waycorner.nix
|
./waycorner.nix
|
||||||
./xcursor.nix
|
./xcursor.nix
|
||||||
|
Loading…
Reference in New Issue
Block a user