Commit Graph

403 Commits

Author SHA1 Message Date
OPNA2608
25625d78e4 nixos/ayatana-indicators: Add systemd target for Lomiri
Lomiri now uses a separate systemd user target for all indicators that should start under Lomiri, because some Ayatana-like indicators do not make sense on non-Lomiri desktops.

Probably temporary, as we should instead encode this data from every indicator's service file into some passthru attribute.
2024-08-08 17:10:12 +02:00
Nathan Henrie
de322fa088 nixos/espanso: add n8henrie to maintainers
I help maintain espanso and would like to help maintain both the package
and the module.
2024-07-21 17:08:24 -06:00
Masum Reza
24ced04659
Merge pull request #324347 from jtojnar/gdm-fingerprint-fix
nixos/gdm: Fix fingerprint auth rules
2024-07-04 10:54:46 +05:30
Jan Tojnar
68211b3546 Revert "nixos/gnome-keyring: unlock keyring with gdm-password, gdm-autologin"
`gdm-autologin` and `gdm-password` PAM modules are defined using the `text` option, so the option here is a no-op.

Furthermore, `gdm-password` already includes `login` for all module types,
and that invokes `pam_gnome_keyring.so` in the same way Arch’s `gdm-password` module would:
81ee658c11/data/pam-arch/gdm-password.pam

This reverts commit c24c7933ba.
2024-07-03 21:32:34 +02:00
Jan Tojnar
0e83d67373 Revert "nixos/gnome-keyring: enable gnome-keyring for fingerprint authentication'"
`gdm-fingerprint` PAM module is defined using the `text` option, so the option here is a no-op.

This reverts commit 6bb516d45f.
2024-07-03 21:25:17 +02:00
Aleksana
3a96597d4f
Merge pull request #317457 from rawkode/fix/espanso-opts
nixos/espanso: fix wayland option
2024-07-03 23:20:03 +08:00
David Flanagan
f13e08ac0e
nixos/espanso: fix wayland option
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-07-03 16:17:52 +01:00
Jan Tojnar
1369411184 gnome-keyring: Move from gnome scope to top-level
It is on the way out.
2024-07-01 09:35:26 +02:00
Jan Tojnar
2bb2f5742a sushi: Move from gnome scope to top-level 2024-07-01 08:26:49 +02:00
Jan Tojnar
545822250c rygel: Move from gnome scope to top-level 2024-07-01 08:26:46 +02:00
Jan Tojnar
e124f51ee1 gnome-user-share: Move from gnome scope to top-level 2024-07-01 08:15:53 +02:00
Alexandre Acebedo
14422223df
playerctl: add daemon service 2024-06-26 21:33:46 +02:00
rewine
9b3299c8cd
Merge pull request #310778 from wineee/dde23
deepin desktop environment: update
2024-06-25 09:52:28 +08:00
rewine
6ce4843893 nixos/modules: init deepin-anything 2024-06-24 00:25:56 +08:00
Thomas Gerbet
6d04aa54ba
Merge pull request #315874 from JohnRTitor/gnome-keyring-module
nixos/gnome-keyring: rewrite module and fix unlocking on GDM session login
2024-06-21 21:07:43 +02:00
John Titor
6bb516d45f
nixos/gnome-keyring: enable gnome-keyring for fingerprint authentication'
this should be enabled by default if fprintd is enabled
2024-06-21 09:11:04 +05:30
John Titor
c24c7933ba
nixos/gnome-keyring: unlock keyring with gdm-password, gdm-autologin
GDM uses gdm-password as the PAM service name for both logins and unlocks.
So unlock gnome-keyring as part of `gdm-password`.
Without this, keyrings may not be unlocked properly for GDM 45+.

also unlock as part of GDM autologin
2024-06-20 23:08:43 +05:30
michaelBelsanti
7f447ce0f8
nixos/espanso: fix espanso options 2024-06-01 18:04:04 -04:00
John Titor
2c8ad1d1eb
nixos/gnome/gnome-keyring: rewrite the implementation 2024-05-31 13:52:12 +05:30
Sandro
8036f1ffa7
Merge pull request #285138 from michaelBelsanti/espanso
nixos/espanso: add wayland and package option
2024-05-19 19:15:22 +02:00
github-actions[bot]
3588aea450
Merge master into staging-next 2024-05-03 00:02:39 +00:00
michaelBelsanti
2c9c781478
espanos: add package option 2024-05-02 19:08:13 -04:00
Jan Tojnar
5b2b3b8558 nixos/gnome: Remove global with expressions
The can potentially mask evaluation errors due to laziness of variable access within.
2024-05-02 23:17:40 +02:00
Jan Tojnar
f77c3bf760 nixos/gnome: Remove deprecated aliases 2024-05-02 23:17:40 +02:00
Vladimír Čunát
ad6f6ba399
Merge branch 'master' into staging-next 2024-04-29 08:22:30 +02:00
K900
8596068d46
Merge pull request #292115 from hcsch/wireplumber-extra-config
nixos/wireplumber: add `extraConfig` / `extraScripts` options for WirePlumber 0.5
2024-04-29 08:27:30 +03:00
Nanotwerp
33cafd77e7
nixos/gnome-remote-desktop: support gnome 46 features
Add package to environment.systemPackages, services.dbus.packages, create gnome-remote-desktop user and group (fixes for GNOME 46)

This adds the `g-r-d` package to environment.systemPackages (allowing the usage of the `grdctl` command along with enabling `g-r-d`'s polkit rule), makes its dbus-related files recognizable to dbus, and creates the `gnome-remote-desktop` user and group necessary for systemd's running of the `gnome-remote-desktop-daemon` with the `--system` subcommand and enabling Remote Login.
2024-04-22 21:11:26 +02:00
Bobby Rong
617e0ee76f
gnome.gnome-remote-desktop: 45.1 → 46.0
https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/compare/45.1...46.0

In file included from ../src/grd-settings.c:28:
/nix/store/xxx-freerdp-3.4.0/lib/pkgconfig/../../include/freerdp3/freerdp/freerdp.h:25:10:
fatal error: winpr/stream.h: No such file or directory
   25 | #include <winpr/stream.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

Ugh. So stuff I am aware of here:

- In freerdp3.pc, winpr3 is in Requires.private.
- In https://github.com/FreeRDP/FreeRDP/blob/3.4.0/include/freerdp/freerdp.h#L25 <winpr/stream.h>
  is included.
- In GNOME/gnome-remote-desktop@d29909a
  <freerdp/freerdp.h> is included in src/grd-settings.c.
- We patched pkg-config in NixOS to not include Requires.private in --cflags according to
  mate-desktop/atril issue 351.
- According to https://gitlab.gnome.org/GNOME/gjs/-/issues/571, Requires.private is probably correct
  if no data types are exposed in public API.

So to fix this somewhere, if src/grd-settings.c has direct usage of winpr, we can PR to g-r-d declaring
the dep. If freerdp/freerdp.h exposes winpr data types we PR to freerdp and move winpr to Requires.
Probably someone can help me do the check, I am committing this simply to unbreak the build for now.

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
2024-04-22 21:10:54 +02:00
Hans Christian Schmitz
72ed33777c
nixos/wireplumber: add extraConfig/extraScripts options
Follow-up to #282377. #282377 broke `environment.etc."wireplumber<...>"`,
however WirePlumber did not yet have `extraConfig` style options for
configuring it ergonomically outside of `environment.etc`. This has
caused issues for people who had custom config files for WirePlumber, as
having to create a config package just to edit some settings is not as
ergonomic or discoverable as with a proper `extraConfig` style option.

This commit fixes this issue by adding the `extraConfig` option for
additional config file and the `extraScripts` option for additional
scripts to be used by config files.

With WirePlumber 0.5 it is possible to supply config files and scripts
via the `XDG_DATA_DIRS` variable to the WirePlumber daemon. This is how
the new options and with this change also the `configPackages` option
expose their files to the daemon. This way
`environment.etc."wireplumber"` works again for user configuration and
breakage of old configs from 23.11 to 24.05 should be limited to those
caused by the change in the config format from WirePlumber 0.4 to 0.5.
2024-04-21 20:34:37 +02: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
Bjørn Forsman
a29010fe79 nixos: improve many 'enable' descriptions 2024-04-09 07:10:17 +02:00
Janne Heß
fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Janne Heß
bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
éclairevoyant
eddbb7932f
nixos/wireplumber: reuse local binding to simplify 2024-03-26 16:41:58 -04:00
éclairevoyant
ff77d83327
nixos/wireplumber: provide example for services.pipewire.wireplumber.configPackages 2024-03-26 16:41:57 -04:00
éclairevoyant
f5b680b97c
nixos/wireplumber: update services.pipewire.wireplumber.configPackages description for v0.5 2024-03-26 16:41:57 -04:00
éclairevoyant
3aa01f7f13
nixos/wireplumber: inherit lib functions 2024-03-26 16:41:57 -04:00
éclairevoyant
d2843640cb
nixos/wireplumber: remove lib.mdDoc (no-op) 2024-03-26 16:41:52 -04:00
éclairevoyant
ff8f1a1f4e
nixos/pipewire: document example for services.pipewire.configPackages 2024-03-26 16:41:51 -04:00
éclairevoyant
27a2f2a429
nixos/pipewire: replace with lib; with inherit 2024-03-26 16:41:51 -04:00
éclairevoyant
f3b74afdc7
nixos/pipewire: remove lib.mdDoc (no-op) 2024-03-26 16:41:51 -04:00
Sandro
dcbfb2b98a
Merge pull request #262462 from io12/flatpak-fix-fonts-icons
nixos/flatpak: pass system icons and fonts
2024-03-25 23:23:09 +01:00
André Vitor de Lima Matos
bdc6b3abe0
nixos/wireplumber: fix systemwide bluetooth integration
From https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3828#note_2270701
Broken/removed in #278760
2024-03-21 16:21:59 -03:00
Cabia Rangris
eaf6b74366
nixos/pipewire: raopOpenFirewall option
RAOP requires UDP/6001-6002 for timing
information, and won't work with apple devices if
firewall is enabled.
2024-03-20 18:32:01 +03:00
K900
823897dde8 wireplumber: 0.4.17 -> 0.5.0 2024-03-18 18:57:05 +03:00
Hans Christian Schmitz
3f86bd950c
nixos/pipewire: add docs for passthru.requiredLv2Packages 2024-02-29 13:28:04 +01:00
Hans Christian Schmitz
b97450b007
nixos/wireplumber: fix incorrect option name in docs 2024-02-29 13:28:04 +01:00
André Vitor de Lima Matos
675ad00f22
pipewire: fix wireplumber config paths
Quickfix for systemWide pipewire after #282377
2024-02-28 10:46:52 -03:00
Hans Christian Schmitz
5f6dca8403
nixos/pipewire: add assertions for migration to extraConfig/configPackages
The PR #282377 made files/directories specified in
`environment.etc."pipewire<...>"` and `environment.etc."wireplumber<...>"`
conflict with existing configuration of the PipeWire NixOS module due to how
the `configPackages` options were implemented. This sadly wasn't easily
avoidable. As this can cause breakage for users moving from 23.11 to 24.05
though, assertions can help guide them to use `services.pipewire.extraConfig`
or `services.pipewire.configPackages` / `services.wireplumber.configPackages`
instead, fixing the breakage.
2024-02-28 01:22:28 +01:00
K900
eb74747f38 nixos/pipewire: add LV2 plugins option
Follow-up #282377.

Some packages may want to load LV2 plugins directly from PipeWire config instead, so add another option to accomodate those.
2024-02-26 10:04:45 +03:00