override hyprland in xdph
This commit is contained in:
parent
d2aba83a1c
commit
5c99a9b471
1 changed files with 11 additions and 3 deletions
|
@ -1,4 +1,8 @@
|
||||||
{ pkgs, ... }: {
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
hyprland = config.wayland.windowManager.hyprland.finalPackage;
|
||||||
|
in
|
||||||
|
{
|
||||||
imports = [ ./programs ./services ./wm ./gtk.nix ./persistence.nix ];
|
imports = [ ./programs ./services ./wm ./gtk.nix ./persistence.nix ];
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
|
@ -20,13 +24,17 @@
|
||||||
portal = {
|
portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-gnome xdg-desktop-portal-hyprland ];
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
(xdg-desktop-portal-hyprland.override { inherit hyprland; })
|
||||||
|
];
|
||||||
config = {
|
config = {
|
||||||
common = {
|
common = {
|
||||||
default = [ "gtk" ];
|
default = [ "gtk" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
configPackages = with pkgs; [ hyprland ];
|
configPackages = [ hyprland ];
|
||||||
};
|
};
|
||||||
userDirs.enable = true;
|
userDirs.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue