From 680ef5066ec2bbdf74997b5f123b94a4e75db91e Mon Sep 17 00:00:00 2001 From: fqidz Date: Fri, 22 Nov 2024 22:51:12 +0300 Subject: [PATCH] Systemd-start: use `programs.hyprland.withUWSM` option for NixOS installation --- pages/Useful Utilities/Systemd-start.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pages/Useful Utilities/Systemd-start.md b/pages/Useful Utilities/Systemd-start.md index 81c1683..13c4b59 100644 --- a/pages/Useful Utilities/Systemd-start.md +++ b/pages/Useful Utilities/Systemd-start.md @@ -22,14 +22,7 @@ yay -S uwsm {{% details title="Nix/NixOS" closed="true" %}} ```nix -programs.uwsm = { - enable = true; - waylandCompositors.hyprland = { - binPath = "/run/current-system/sw/bin/Hyprland"; - comment = "Hyprland session managed by uwsm"; - prettyName = "Hyprland"; - }; -}; +programs.hyprland.withUWSM = true; ``` The above option generates a new desktop entry, `hyprland-uwsm.desktop`, which will be available in display managers.