Commit graph

95 commits

Author SHA1 Message Date
Masum Reza 995825be3e
nixos/wayvnc: init wayvnc module with pam config (#431631) 2025-10-22 05:59:23 +00:00
Sandro 3170d4faf9
nixos/gtklock: use lines type for programs.gtklock.style option (#445580) 2025-10-08 12:26:30 +00:00
Wolfgang Walther c283f32d29
treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Michael Daniels 66b171eeec
nixos/cardboard: drop
Corresponding package has been marked broken for a full release cycle.

Dropping per RFC 180.
2025-09-29 08:44:21 -04:00
Fugi b30c6d0800
nixos/gtklock: use lines type for programs.gtklock.style option
allows for merging of definitions
2025-09-23 18:36:26 +02:00
rewine fc2e2eeb82 maintainers: rename 'rewine' to 'wineee'
Because my displayed name and username on GitHub are not the same, some users may mistakenly think that [rewine](https://github.com/rewine) is my account.
2025-09-08 14:00:29 +08:00
Adam C. Stephens ffc8f1707b
river: rename to river-classic 2025-08-30 18:49:56 -04:00
Bang Lee d323f29257 nixos/wayvnc: init 2025-08-26 16:52:53 -07:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Karun Sandhu 056ea1afe3 nixos/uwsm: remove deprecated flag -S
see cc56915ff7
2025-07-12 02:32:43 +05:30
John Titor 766ad54fde treewide: remove primeos from maintainers
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-07-06 00:00:32 +05:30
Cole Mickens 3508c26a60
modules/sway: maintainers: drop colemickens 2025-06-27 21:01:34 -07:00
Gurjaka be1545fc17 nixos/dwl: init module 2025-06-05 23:59:14 +04:00
Fugi 65a759f7b4
nixos/gtklock: init 2025-05-19 11:10:26 +02:00
r-vdp 5737bd989d
waybar: make the systemd target that pulls in waybar configurable
This is useful for instance when you only want one WM to pull in waybar,
and not all of them.
2025-04-18 10:38:53 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
André Silva 09879a452b
nixos/hyprland: fix call to wayland-session.nix 2025-03-31 11:15:31 +01:00
Seth Flynn 4df2726a5c
nixos/wayland-session: fix conflicts between users 2025-03-30 15:37:15 -04:00
teutat3s 40e7344388 nixos/sway: restore list type of xdg.portal.config.sway.default
This fixes a regression introduced in #348792, where the option type was
changed from list to string. This commit reverts the type back to list.

Fixes #352188
Closes #352193
2025-02-10 17:15:56 +05:30
John Titor ad9367061b treewide: adopt hypr ecosytem by Hyprland team
Preserved maintainer entries that are not in Hyprland teams.

Removed @wozeparrot as per https://github.com/NixOS/nixpkgs/issues/377569#issuecomment-2619445027

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-01-28 23:03:51 +05:30
Anderson Torres bc80114502 various: remove AndersonTorres from modules maintainership 2025-01-22 21:47:09 -03:00
FliegendeWurst 03b5879e7f nixos/sway: fix Nvidia warning 2025-01-11 08:51:07 +01:00
FliegendeWurst 1e4221b0e2 nixos/sway: warn on too old Nvidia 2025-01-09 08:59:01 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
John Titor 04f223946c
nixos/hyprland: adds programs.hyprland.withUWSM option
Bool: controls whether Hyprland is configured with UWSM or not.

Upstream recommends using UWSM for better compatibility with systemd integration.
https://wiki.hyprland.org/Useful-Utilities/Systemd-start/
2024-11-15 14:32:29 +05:30
John Titor 48da44a481
nixos/hyprland: format with nixfmt rfc style 2024-11-14 23:47:26 +05:30
Aleksana 3b2ebbb33f
sway-unwrapped: 1.9 -> 1.10 (#351752) 2024-10-30 16:45:51 +08:00
Sefa Eyeoglu eb382ecd52
nixos/sway: update default extraPackages
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-10-28 12:09:19 +01:00
Sefa Eyeoglu 7d43e37b44
nixos/uwsm: enable display manager by default
UWSM is not usable if wayland-sessions are not linked. So
`services.displayManager.enable` should be true if UWSM is used.

`services.graphical-desktop.enable` is implied by
`services.displayManager.enable`.

See nixos/modules/services/misc/graphical-desktop.nix

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-10-27 20:19:18 +01:00
Masum Reza c87f82b6aa
nixos/sway: workaround idle inhibit not working in Firefox (#348792) 2024-10-24 19:48:30 +05:30
teutat3s 7e7a06994f
nixos/sway: workaround idle inhibit not working
in Firefox

Source:
https://www.reddit.com/r/swaywm/comments/1dqud2a/how_to_get_firefox_to_inhibit_idle_when_watching/
> Firefox supports the Wayaland inhibit protocol, but it attempts to use the DBus interfaces first. However, the gtk portal has an issue where it returns success even though the wlr portal/sway doesn't have an implementation for the inhibit method, see #465.
2024-10-23 18:34:47 +02:00
seth 942b12caba
nixos/niri: init module 2024-10-21 21:00:17 -04:00
Ali Rizvi 9020d82c70
nixos/wayland: add gtk portal by default 2024-09-30 09:54:19 -04:00
Sefa Eyeoglu 5fcc1337d2
nixos/waybar: enable systemdSupport for package
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-29 17:56:24 +05:30
r-vdp a03d5e6f56
waybar: the systemd unit is coming from the package now 2024-09-10 14:12:45 +02:00
laalsaas a89b885ae9 sway: integrate with systemd
see: https://github.com/swaywm/sway/wiki/Systemd-integration
2024-09-06 15:59:37 +02:00
John Titor 93343775bd
nixos/uwsm: init
[UWSM](https://github.com/Vladimir-csp/uwsm) is a session manager that wraps a wayland
window compositor with useful systemd units like `graphical-session-pre.target`,
`graphical-session.target`, `xdg-desktop-autostart.target`.

This is useful for Wayland Compositors that do not start
these units on these own.

Example for Hyprland:
```nix
programs.hyprland.enable = true;
programs.uwsm.enable = true;
programs.uwsm.waylandCompositors = {
  hyprland = {
    compositorPrettyName = "Hyprland";
    compositorComment = "Hyprland compositor managed by UWSM";
    compositorBinPath = "/run/current-system/sw/bin/Hyprland";
  };
};
```

Co-authored-by: Kai Norman Clasen <k.clasen@protonmail.com>
2024-08-21 16:09:54 +05:30
Sandro Jäckel 4f34325b2b
nixos/wayland-session: use graphical-desktop option and remove implicit defaults 2024-08-17 23:11:37 +02:00
éclairevoyant 28f1933286
nixos/wayland-session: enable xdg.icons 2024-08-06 00:09:46 -04:00
éclairevoyant 100d5e4c17
nixos/wayfire: enable xdg.icons 2024-08-06 00:09:44 -04:00
Masum Reza 15aa26cee0
Merge pull request #318815 from OPNA2608/init/miracle-wm
miracle-wm: init at 0.3.0
2024-07-30 14:56:47 +05:30
git@71rd.net 2483ea35cd modules/wayfire: nixfmt
Signed-off-by: git@71rd.net <git@71rd.net>
2024-07-29 16:13:55 +00:00
git@71rd.net 3f55cc361c nixos/wayfire: fix import file with settings required to start service
Wayfire does not start without further configuration, when
programs.wayfire.enable is the only wayland wm enabled. When sway or a
similar program is also enabled that program imports wayland-session.nix
hiding the problem.

This imports wayland-session.nix and adds the option xwayland.enable to
pass to the file
2024-07-29 14:24:26 +00:00
OPNA2608 ed443c58a8 nixos/miracle-wm: init 2024-07-29 15:09:17 +02:00
John Titor ff0738b736
nixos/hyprland: set systemd environment PATH for versions < 0.41.2
Importing PATH into the systemd environment is done by default in
Hyprland v0.41.2+ (https://github.com/hyprwm/Hyprland/pull/6640)
We soft deprecate this option here for versions >= 0.41.2.
2024-06-26 23:04:27 +05:30
Masum Reza be54c7d931
Merge pull request #320737 from Reputable2772/path-priority
nixos/hyprland: set path order for systemd user services
2024-06-23 19:49:48 +05:30
Reputable2722 dc423d5c69
nixos/hyprland: set path order for systemd user services
Set PATH order correctly for systemd user services (see NixOS/nixpkgs#320734

Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
2024-06-18 15:15:51 +05:30
K900 98cef4c273 treewide: big opengl cleanup
- rename hardware.opengl to hardware.graphics
- remove hardware.opengl.driSupport, which does nothing
- remove hardware.opengl.setLdLibraryPath, which should never be done
- rename hardware.opengl.driSupport32Bit to hardware.graphics.enable32Bit
- lost of small docs / formatting cleanups
2024-06-16 14:11:33 +03:00
Leon 5b216845b6 nixos/hyprland: use lib.mkDefault for enableWlrPortal 2024-06-13 22:56:09 +02:00
Leon 9585e5d3aa nixos/hyprland: enable xdg.portal by default 2024-06-13 21:30:11 +02:00