fixed some issue and added uwsm support

This commit is contained in:
kenji
2025-12-24 16:19:44 +00:00
parent 7df49ad646
commit 811011d6d6
5 changed files with 15 additions and 6 deletions
+9 -1
View File
@@ -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 = {
+1
View File
@@ -5,4 +5,5 @@
./hypr/exec.nix
];
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.systemd.enable = false; # for UWSM support...
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
wayland.windowManager.hyprland.settings = {
exec-once = [
"waybar"
"uwsm app -- waybar"
];
};
}
+2 -1
View File
@@ -1,5 +1,6 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
home.packages = with pkgs; [
pamixer
wiremix
];
}
+2 -3
View File
@@ -1,11 +1,10 @@
{
programs.waybar = {
style = ''
@import "../omarchy/current/theme/waybar.css";
* {
background-color: @background;
color: @foreground;
background-color: #cdd6f4;
color: #181824;
border: none;
border-radius: 0;