hyprland: use xdph from flake
This commit is contained in:
parent
eac2a30d16
commit
ef938f74f2
@ -2,6 +2,7 @@
|
|||||||
let
|
let
|
||||||
cfg = config.nixfiles.sessions.hyprland;
|
cfg = config.nixfiles.sessions.hyprland;
|
||||||
flake-package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
flake-package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
|
flake-portal = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# imports = [
|
# imports = [
|
||||||
@ -44,6 +45,7 @@ in
|
|||||||
# enableNvidiaPatches = lib.mkIf (!cfg.useFlake) lib.mkDefault true;
|
# enableNvidiaPatches = lib.mkIf (!cfg.useFlake) lib.mkDefault true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
package = lib.mkIf cfg.useFlake flake-package;
|
package = lib.mkIf cfg.useFlake flake-package;
|
||||||
|
portalPackage = lib.mkIf cfg.useFlake flake-portal;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.opengl = let
|
hardware.opengl = let
|
||||||
|
Loading…
x
Reference in New Issue
Block a user