about summary refs log tree commit diff
path: root/nixos/modules/services/desktops/gnome
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13nixos: remove all uses of lib.mdDocstuebinm15-21/+21
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.
2023-11-21gnome.gnome-initial-setup: 44.0 → 45.betaBobby Rong1-0/+3
https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/compare/44.0...45.beta Install dconf presets: https://github.com/GNOME/gnome-initial-setup/commit/0c607f104e7542b95e33716134da65cb03093e12 Use tecla: https://github.com/GNOME/gnome-initial-setup/commit/3dcb8709ba18b0ed1838c489638a736cddab7c7c Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com> Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-06nixos/gnome/at-spi2-core: fix disabling a11y in all contextsKira Bruneau1-1/+1
`environment.variables` gets sourced by shells & the x11 wrapper through bash's `/etc/profile`, but not by systemd services, dbus services, wayland sessions... `environment.sessionVariables` sets these variables with PAM early in the login process so it gets applied in all contexts. I ran into a similar issue before in #109060.
2023-10-22firefox: start killing all the per-extension optionsK9001-1/+1
2023-10-20nixos: fix bad mkEnableOption descriptionsBjørn Forsman1-2/+2
Fix descriptions that don't account for (1) the "Whether to enable" prefix or (2) the automatically added trailing dot.
2023-09-26nixos/firefox: remove `nixpkgs.config` usageK9001-1/+1
2023-02-08nixos/*: remove trailing period in mkEnableOptionspennae1-2/+2
those are added by mkEnableOption, and .. is replaced to … by markdown processing.
2022-11-20nixos/gnome/at-spi2-core: force GTK_A11Y=none when disabledAndy Chun @noneucat1-1/+4
GTK 4 applications use accessibility bus directly and will try to connect to it every time a widget is created: https://gitlab.gnome.org/GNOME/gtk/-/issues/4831 This will make GTK 4 apps (e.g. newly ported Nautilus) grind to a halt on systems that do not have AT-SPI service installed. Let’s explicitly disable accessibility support with an environment variable when the AT-SPI service is not enabled to avoid that. Just like we do for ATK-based applications with `NO_AT_BRIDGE`. Fixes: https://github.com/NixOS/nixpkgs/issues/197188
2022-10-11gnome-browser-connector: 10.1 → 42.0Jan Tojnar2-41/+47
https://discourse.gnome.org/t/split-and-rename-of-chrome-gnome-shell/11075 https://gitlab.gnome.org/nE0sIghT/gnome-browser-connector/-/compare/815ec9e1afa52bd3af5047e176a4ea9c1bfa2514...v42.0 - Renamed and split into a separate repo from the extensions. - CMake build replaced with Meson (jq also not needed) - requests Python module not needed since updates are now solely handled by GNOME Shell itself Also - Corrected license - Cleaned up the module - Replaced PYTHONPATH in a wrapper by Python environment Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-08-31nixos/*: convert internal option descriptions to MDpennae1-1/+1
we'll have to do it eventually, may as well be now.
2022-08-31nixos/*: automatically convert option descriptionspennae7-9/+9
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-07-30treewide: automatically md-convert option descriptionspennae9-12/+12
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-01-21nixos: make GIO_EXTRA_MODULES a session variableNaïm Favier1-1/+1
Allow applications started by the systemd user session manager to find their GIO_EXTRA_MODULES.
2022-01-09Merge pull request #153398 from jtojnar/tracker-subcommandsJan Tojnar2-1/+26
nixos/tracker: Define env var so it can find miners’ subcommands
2022-01-08nixos/gnome-settings-daemon: pick up correct .wants directoriesBobby Rong1-18/+4
In https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/153 the user target names for GSD components has been renamed for example from `gsd-a11y-settings.target` to `org.gnome.SettingsDaemon.A11ySettings.target`, and nowadays `gsd-*.target` are just symbolic links of `/dev/null` and will be removed in the future. At the same time, as mentioned in d27212d466d0e79c3d9781b60aa3374d234370c0, we are adding `systemd.user.targets.<name>.wants` stuff here only because systemd.packages doesn't pick the .wants directories. Nowadays those GSD components are managed in `/etc/systemd/user/gnome-session@gnome.target.d/gnome.session.conf` so it should be safe to remove them. In this commit we also try to pick up those new .wants directories, see also https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/41.0/plugins/meson.build#L57 Result of `cd /nix/store/iqzy2a6wn9bq9hqx7pqx0a153s5xlnwp-gnome-settings-daemon-41.0; find | grep wants`: ``` ./share/systemd/user/gnome-session-x11-services-ready.target.wants ./share/systemd/user/gnome-session-x11-services-ready.target.wants/org.gnome.SettingsDaemon.XSettings.service ./share/systemd/user/gnome-session-x11-services.target.wants ./share/systemd/user/gnome-session-x11-services.target.wants/org.gnome.SettingsDaemon.XSettings.service ``` Result of `cd /nix/store/armzljlnsvc1gn0nq0bncb9lf8fy32zy-gnome-settings-daemon-3.34.0; find | grep wants`: ``` ./lib/systemd/user/gnome-session-initialized.target.wants ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-a11y-settings.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-color.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-datetime.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-power.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-housekeeping.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-keyboard.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-media-keys.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-screensaver-proxy.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-sharing.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-sound.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-smartcard.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-wacom.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-print-notifications.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-rfkill.target ./lib/systemd/user/gnome-session-initialized.target.wants/gsd-wwan.target ./lib/systemd/user/gnome-session-x11-services.target.wants ./lib/systemd/user/gnome-session-x11-services.target.wants/gsd-xsettings.target ```
2022-01-03nixos/tracker: Define env var so it can find miners’ subcommandsJan Tojnar2-1/+26
tracker looks in its directory tree for executable files to make available as subcommands. Users expect to find subcommands from tracker-miners package but that fails as they are in different tree. We also cannot change the lookup path since tracker-miners also depends on a library from tracker package. Until we can break the dependency cycle on package level: tracker -> tracker-miners -> tracker-sparql (tracker) we need to work around it. I chose to set an environment variable that overrides the subcommands lookup to a tree symlinking files from both packages in GNOME NixOS module. https://gitlab.gnome.org/GNOME/tracker/-/issues/341 Fixes: https://github.com/NixOS/nixpkgs/issues/153378
2021-12-08Revert "nixos: make GIO_EXTRA_MODULES a session variable"Jan Tojnar1-1/+1
This reverts commit abfcb79abf3ba32eb4719c48915a143370093fb7. Fixes: https://github.com/NixOS/nixpkgs/issues/149539
2021-12-06Merge pull request #126832 from ncfavier/gio-extra-modulesJan Tojnar1-1/+1
nixos: make GIO_EXTRA_MODULES a session variable
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier1-1/+1
2021-09-13nixos: explicitely set security.wrappers ownershiprnhmjoj1-1/+3
This is slightly more verbose and inconvenient, but it forces you to think about what the wrapper ownership and permissions will be.
2021-06-14nixos: make GIO_EXTRA_MODULES a session variableNaïm Favier1-1/+1
Allow applications started by the systemd user session manager to find their GIO_EXTRA_MODULES.
2021-05-08gnome: rename from gnome3Jan Tojnar15-0/+838
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.