fork/home-manager
git clone https://git.julia.blue/fork/home-manager
ed0770e9
master
1{ config , lib , ...} : 2 3{ 4wayland . windowManager . hyprland = { 5enable = true ; 6package = lib . makeOverridable 7( attrs :config . lib . test . mkStubPackage { name = "hyprland" ; }) { }; 8plugins = 9[ "/path/to/plugin1" ( config . lib . test . mkStubPackage { name = "foo" ; }) ]; 10}; 11 12test . asserts . warnings . expected = [ 13"You have enabled hyprland.systemd.enable or listed plugins in hyprland.plugins but do not have any configuration in hyprland.settings or hyprland.extraConfig. This is almost certainly a mistake." 14]; 15test . asserts . warnings . enable = true ; 16 17nmt . script = '' 18config =home-files/.config/hypr/hyprland.conf 19assertFileExists " $ config " 20'' ; 21}