1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
Commit graph

60 commits

Author SHA1 Message Date
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
John Titor de77718887
nixos/wayland-session: cleanup
xwayland, wlr-portal ->
 enable-xwayland, enable-wlr-portal
2024-06-03 09:28:00 +05:30
John Titor 7b2a2824b3
nixos/wayland-session: force running xdg autostart for WM-only sessions 2024-06-01 22:30:19 +05:30
John Titor 98f9f9951a
nixos/hyprland: add fufexan as maintainer
Per https://github.com/NixOS/nixpkgs/pull/315827#issuecomment-2139073465
2024-05-30 14:25:36 +05:30
John Titor 0b0b7cefcc
nixos/hyprland: disable wlr-portal for Hyprland
This commit:
- Adds wlr-portal override of wayland-session module (enabled by default)
- Disable it for hyprland module
2024-05-30 13:30:41 +05:30
John Titor 353aa12446
nixos/hypridle: init 2024-05-27 17:41:36 +05:30
John Titor 07a0b79ed1
nixos/hyprlock: init module 2024-05-27 17:32:22 +05:30
Maëlys Bras de fer 95674de399 nixos/{river,hyprland}: override package using apply 2024-05-22 20:01:05 +02:00
Maëlys Bras de fer bcbeccfa7d nixos/{sway,river,hyprland}: cleanup 2024-05-22 19:45:46 +02:00
Maëlys Bras de fer a4160dfe88 nixos/hyprland: use generic wayland-session module 2024-05-22 19:43:21 +02:00
Maëlys Bras de fer cf159c437d nixos/{sway,river}: make XWayland support optional 2024-05-22 19:43:19 +02:00
Acid Bong 49f6869f71
treewide: remove file-wide with lib; in nixos/modules/programs 2024-05-12 10:11:06 +03:00
éclairevoyant 23bde0b9e3
Revert "nixos/hyprland: Set environment variables for Hyprland to work better"
This reverts commit d18a587b78.
2024-05-03 22:38:57 -04:00
John Titor d18a587b78
nixos/hyprland: Set environment variables for Hyprland to work better
XDG vars set to Hyprland
GTK and QT backend set to wayland (preferred), with x11 as fallback
Java AWT fix for tiling window managers
2024-04-27 11:44:44 +05:30
rewine 304c66ce05
Merge pull request #303174 from JohnRTitor/hyprland-module
nixos/hyprland: add the correct user profile bin directory to systemd PATH
2024-04-14 02:20:21 +08:00
stuebinm 6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
John Titor 1198dc84f8
nixos/hyprland: systemd.setPath - fix user profile bin directory
%u modifier can be used to get the username in systemd config
$USER var expansion does not work without manually importing $USER
Should fix opening links in home manager/user profile programs
2024-04-11 09:53:43 +05:30
Sandro 4cc6ce454d
Merge pull request #291913 from SuperSandro2000/sddm-wayland-only 2024-04-09 14:31:12 +02:00
Bjørn Forsman a29010fe79 nixos: improve many 'enable' descriptions 2024-04-09 07:10:17 +02:00
Sandro Jäckel 476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
John Titor dfa44e80da
nixos/hyprland: Add possible bin directory paths, ie, user packages bin
If user chooses, they can `exec-once=dbus-update-activation-environment --systemd --all` in hyprland.conf
To import all path variables from the system's environment to systemd's environment

Also set option example to false
2024-04-06 02:29:13 +05:30
John Titor 10d1589126
nixos/hyprland: removed references to mdDoc since it is the default 2024-04-06 02:29:12 +05:30
John Titor 888accda88
nixos/hyprland: add systemd.setPath.enable option
This commit adds systemd.setPath.enable option to hyprland module
which sets the systemd path to include the current system's bin
This is needed in Hyprland only setups, where opening links in applications like VS code do not work.
2024-04-06 02:29:07 +05:30
Franz Pletz 764d15f59f
pinentry: remove multiple outputs package
fixes #133156 #124753
2024-03-02 17:16:53 +01:00
Arnout Engelen 36e51d7cbf
sway: 1.8.1 -> 1.9.0
Co-authored-by: Phileas Lebada <norpol@users.noreply.github.com>
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2024-02-29 11:37:30 +01:00
Elijah M. Immer c847e364ea nixos/hyprland: move to programs/wayland
Just moved to hyprland module to programs/wayland.
This has no effect on the module side (still accessed the same way in
the module `programs.hyprland`) just moved to be inline with other
wayland compositors.

Also edit the module list to reflect where the file is located.
2024-01-24 20:20:07 -08:00
José Romildo 42c74f2067 nixos/labwc: init 2024-01-05 10:59:13 -03:00
Thiago Kenji Okada ad16ca96e6
Merge pull request #267261 from name-snrl/make-overriding-sway-package-easier
nixos/sway: refactoring of `package` option
2023-12-21 10:34:16 +00:00
Linus Heckemann 1f42f70866
Merge pull request #270523 from m-bdf/river-xdg-portal-config
nixos/river: add xdg.portal.config
2023-12-14 14:07:08 +01:00
h7x4 79d3d59f58
treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +01:00
Maëlys Bras de fer 03652db90b nixos/river: add xdg.portal.config 2023-11-28 00:49:03 +01:00
h7x4 0a37316d6c
treewide: use mkPackageOption
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
Bobby Rong fd788f9d1a nixos/wayland: Add xdg.portal.config or xdg.portal.configPackages
See the changes in x-d-p 1.17 for details.
2023-11-21 08:42:17 +01:00
name_snrl e3a7f716c2 nixos/sway: refactoring of package option
Instead of the `defaultSwayPackage` variable that overrides `pkgs.sway`, use a
function that will override the user-defined package, but only if the package
contains the necessary arguments.
2023-11-13 23:06:45 +05:00
Thiago Kenji Okada 3fcd5f430b
Merge pull request #263206 from kanashimia/revert-259066-add-renice-sway
Revert "nixos/sway: add enableRealtime option"
2023-11-04 21:59:06 +00:00
h7x4 8c2f678ff6 nixos/cardboard: use mkPackageOptionMD 2023-10-25 16:19:26 -03:00