fix(desktop): only use one version of xdg-desktop-portal-hyprland
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
4927481b25
commit
4df69d9d50
1 changed files with 14 additions and 5 deletions
|
@ -42,11 +42,7 @@ in {
|
|||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = hyprCfg.finalPackage;
|
||||
portalPackage =
|
||||
hyprland
|
||||
.packages
|
||||
.${pkgs.system}
|
||||
.xdg-desktop-portal-hyprland;
|
||||
portalPackage = hyprCfg.finalPortalPackage;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
|
@ -69,6 +65,13 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# Make sure we only use the package from the hyprland flake
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
xdg-desktop-portal-hyprland = hyprCfg.finalPortalPackage;
|
||||
})
|
||||
];
|
||||
|
||||
home-manager.users.${cfg.user} = {
|
||||
imports = [
|
||||
./home/dev.nix
|
||||
|
@ -92,6 +95,12 @@ in {
|
|||
'';
|
||||
});
|
||||
|
||||
portalPackage =
|
||||
hyprland
|
||||
.packages
|
||||
.${pkgs.system}
|
||||
.xdg-desktop-portal-hyprland;
|
||||
|
||||
systemd.variables = ["-all"];
|
||||
|
||||
settings = {
|
||||
|
|
Loading…
Add table
Reference in a new issue