fix: hyprland not-nightly
This commit is contained in:
parent
bfccff4510
commit
efdc25b026
3 changed files with 4 additions and 17 deletions
|
|
@ -3,7 +3,6 @@
|
|||
lib,
|
||||
config,
|
||||
hostConfig,
|
||||
hyprland ? null,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -38,13 +37,7 @@ in
|
|||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package =
|
||||
if !hostConfig.isNixOS then
|
||||
null
|
||||
else if hyprland != null then
|
||||
hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland
|
||||
else
|
||||
pkgs.hyprland;
|
||||
package = if hostConfig.isNixOS then pkgs.hyprland else null;
|
||||
portalPackage = null;
|
||||
systemd.enable = hostConfig.isNixOS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue