fix(hyprland): register portal once
This commit is contained in:
parent
217b81c877
commit
4729625193
5 changed files with 16 additions and 89 deletions
|
|
@ -45,13 +45,7 @@ in
|
|||
hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland
|
||||
else
|
||||
pkgs.hyprland;
|
||||
portalPackage =
|
||||
if !hostConfig.isNixOS then
|
||||
null
|
||||
else if hyprland != null then
|
||||
hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
||||
else
|
||||
pkgs.xdg-desktop-portal-hyprland;
|
||||
portalPackage = null;
|
||||
systemd.enable = hostConfig.isNixOS;
|
||||
|
||||
extraConfig = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue