fixed some issue and added uwsm support
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
withUWSM = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
@@ -18,7 +19,14 @@
|
||||
pkgs.hyprpolkitagent
|
||||
];
|
||||
|
||||
# systemd.user.services.hyprpolkitagent = {
|
||||
xdg.terminal-exec = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default = ["ghostty.desktop"];
|
||||
};
|
||||
};
|
||||
|
||||
# systemd.user.services.hyprpolkitagent = {
|
||||
# description = "Hyprland Polkit Agent";
|
||||
# wantedBy = ["graphical-session.target"];
|
||||
# serviceConfig = {
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
./hypr/exec.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
wayland.windowManager.hyprland.systemd.enable = false; # for UWSM support...
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
"waybar"
|
||||
"uwsm app -- waybar"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user