Commit Graph

433 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Felix Buehler
9faf712298 nixos/services.bamf: remove with lib; 2024-09-15 10:43:48 +02:00
Felix Buehler
13c9b59247 nixos/services.accounts-daemon: remove with lib; 2024-09-15 10:43:48 +02:00
Martin Weinelt
458c073712
neard: 0.18 -> 0.19-unstable-2024-07-02 (#337524) 2024-09-07 18:00:14 +02:00
K900
a0134dd1d8 nixos/wireplumber: drop hack for systemwide setups
Should not be necessary with 0.5.6.
2024-09-06 20:58:12 +03:00
Jan Tojnar
d2da9a19c4 gnome-settings-daemon{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Martin Weinelt
e972a34acb
nixos/neard: expose settings option 2024-08-30 18:26:35 +02:00
Felix Buehler
dee0a91730 nixos/services.tumbler: remove with lib; 2024-08-30 00:30:44 +02:00
Felix Buehler
506e98b306 nixos/services.telepathy: remove with lib; 2024-08-30 00:30:44 +02:00
Felix Buehler
63f72067f8 nixos/services.system-config-printer: remove with lib; 2024-08-30 00:30:43 +02:00
Felix Buehler
5ee287118f nixos/services.psd: remove with lib; 2024-08-30 00:30:43 +02:00
Felix Buehler
6c702884e9 nixos/services.neard: remove with lib; 2024-08-30 00:30:43 +02:00
Felix Buehler
42f3c52358 nixos/services.gsignond: remove with lib; 2024-08-30 00:30:43 +02:00
Felix Buehler
b7a963841c nixos/services.flatpak: remove with lib; 2024-08-30 00:30:43 +02:00
Felix Buehler
fe453fb99f nixos/services.dleyna-server: remove with lib; 2024-08-30 00:30:42 +02:00
Felix Buehler
8de58d8542 nixos/services.dleyna-renderer: remove with lib; 2024-08-30 00:30:42 +02:00
Felix Buehler
345c0fc9ae nixos/services.deepin.dde-api.enable: remove with lib; 2024-08-30 00:30:42 +02:00
Felix Buehler
5fd49dc5fc nixos/services.deepin.app-services: remove with lib; 2024-08-30 00:30:42 +02:00
Felix Buehler
f2e025b9a2 nixos/services.cpupower-gui: remove with lib; 2024-08-30 00:30:42 +02:00
Felix Buehler
38b5d41259 nixos/services.blueman: remove with lib; 2024-08-30 00:30:41 +02:00
Cosima Neidahl
eb76459e90
Merge pull request #334952 from OPNA2608/fix/ayatana-lomiri-indicator-marking
nixos/ayatana-indicators: Split ayatana and lomiri indicators
2024-08-24 11:12:00 +02:00
Jan Tojnar
b8f3c78021
Merge pull request #333917 from jtojnar/gnome-top-level
gnome: Move more packages to top-level
2024-08-24 01:43:31 +02:00
K900
333e6672e1 nixos/pipewire: install the default limits config, make group always exist 2024-08-16 12:00:08 +03:00
OPNA2608
4403f7f6c3 nixos/ayatana-indicators: Support new passthru.ayatana-indicators format 2024-08-15 20:52:04 +02:00
Jan Tojnar
db9ae25dca gnome-initial-setup: Move from gnome scope to top-level 2024-08-12 00:29:11 +02:00
Jan Tojnar
18859a6bad gnome-remote-desktop: Move from gnome scope to top-level 2024-08-12 00:29:01 +02:00
Jan Tojnar
ef660a9c86 gnome.gnome-online-miners: Remove
It is abandoned upstream, it is mostly broken and has been removed from GNOME:
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1748
2024-08-11 18:20:32 +02:00
Cosima Neidahl
5244f79d35
Merge pull request #332220 from OPNA2608/update/lomiri/OTA-5
lomiri.*: OTA-5
2024-08-09 17:37:39 +02:00
OPNA2608
ce6dff1fdd nixos/ayatana-indicators: nixfmt 2024-08-08 17:10:12 +02:00
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
networkException
af69223f46
nixos/flatpak: add package option
this patch adds the `services.flatpak.package` option to
allow overriding the package added by this module to
`environment.systemPackages` and the likes.

This is useful in scenarios where applications call the
flatpak binary to query information like writable directories
and there is a custom package returning different results
from the vanilla binary.

See https://github.com/crabdancing/nixpak-flatpak-wrapper
2024-08-03 15:49:33 +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