mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 16:20:42 +00:00
Add various system-wide wayland settings
This commit is contained in:
parent
df09ddc1b4
commit
12ae728903
9 changed files with 141 additions and 0 deletions
|
@ -8,6 +8,10 @@
|
|||
|
||||
hyprPkgs = (import ./packages {inherit pkgs;});
|
||||
|
||||
# TODO: Switch to flake
|
||||
hyprlandPkg = pkgs.hyprland;
|
||||
xdgDesktopPortalHyprlandPkg = pkgs.xdg-desktop-portal-hyprland;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.wms.hyprland;
|
||||
in {
|
||||
imports = [
|
||||
|
@ -30,10 +34,19 @@ in {
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
package = hyprlandPkg;
|
||||
systemd = {
|
||||
enable = true;
|
||||
variables = ["--all"];
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages = [hyprlandPkg];
|
||||
extraPortals = [
|
||||
xdgDesktopPortalHyprlandPkg
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue