Skip to content

Commit

Permalink
Systemd-start: use programs.hyprland.withUWSM option for NixOS inst…
Browse files Browse the repository at this point in the history
…allation
  • Loading branch information
fqidz authored and fufexan committed Nov 25, 2024
1 parent f6a67ff commit 680ef50
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pages/Useful Utilities/Systemd-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 680ef50

Please sign in to comment.