Commit graph

2530 commits

Author SHA1 Message Date
Wolfgang Walther 5cbdb94f3a
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.

(cherry picked from commit 91a8fee3aa)
2025-10-05 12:59:25 +02:00
Wolfgang Walther 1c6af9ba0a
treewide: remove unused with
Auto-fixed by nixf-diagnose.

(cherry picked from commit c283f32d29)
2025-10-05 12:38:28 +02:00
Wolfgang Walther 6c1e6f90d3
treewide: remove unused rec
Auto-fix by nixf-diagnose.

(cherry picked from commit 90e7159c55)
2025-10-05 12:38:23 +02:00
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Wolfgang Walther a46262ae77
treewide: run treefmt with mdcr/nixfmt 2025-07-24 14:58:15 +02:00
Thomas BESSOU c1ebdb5dd8 nixos/i3: fix i3lock default enable-ing
Prior to this commit, i3lock was enabled by default in a way that doesn't work as of 317c972e8a (diff-aef862f6fd2c25092a3f17f974d8757285bf7baff6b80822cd142b7de1903ccfR451-R454)
Users attempting to use i3lock with this default setup would get locked out of their system.

This fixes it by enabling i3lock via its `programs` option instead of specifying the package directly.

Discussion over at https://github.com/NixOS/nixpkgs/issues/401891#issuecomment-2963378189

(cherry picked from commit e82c7e5b83)
2025-06-23 13:20:59 +00:00
misuzu 00cbf506f0 nixos/qtile: fix 'package' option
(cherry picked from commit d06d1cae5a)
2025-06-13 15:40:45 +00:00
nixpkgs-ci[bot] 7b793f256a
Merge master into staging-next 2025-05-08 18:05:13 +00:00
Jan Tojnar ad7da739c5 nixos/gnome: Allow removal of default fonts with environment.gnome.excludePackages
People are particular about fonts that they have installed on their systems.
2025-05-08 19:28:27 +02:00
Jan Tojnar b794b3eedb nixos/gnome: Update default fonts
GNOME 48 switched to new Inter and Iosevka based Adwaita fonts:
067cb4b155
https://blogs.gnome.org/monster/introducing-adwaita-fonts/

The default fonts were last changed to Cantarell and Source Code Pro in GNOME 3.32:
965062de47

Source Sans was added alongside them in c99a666aac
but it does not seem to be needed nowadays.
The only relevant package mentioning it according is GNOME Recipes:
https://codesearch.debian.net/search?q=Source+Sans+-pkg%3Atexlive+-pkg%3Aopenjdk+-pkg%3Abootswatch+-pkg%3Aqt%28%5Cd-%29%3Fwebengine+-pkg%3Afirefox+-pkg%3Ar-cran+-pkg%3Ataskflow+-pkg%3Afonts-adobe-sourcesans+-path%3Asvg%24+-path%3A%2Fdoc%2F+-path%3A%2Fdocs%2F&literal=1

DejaVu fonts are meant as a generic fallback but they are already pulled in by `fonts.enableDefaultPackages` option.
2025-05-08 19:28:27 +02:00
Jan Tojnar 5a60a1a922 nixos/gnome: Enable RTKit by default
Without this, Mutter will complain at startup:

    .gnome-shell-wr[1013]: Failed to make thread 'KMS thread' high priority scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist

PipeWire, WirePlumber and xdg-desktop-portal-gnome complain about the missing service too.
2025-05-08 18:29:03 +02:00
Jan Tojnar 0b772ee034 nixos/gdm: Remove stray with pkgs.gnome;
It was unused – `gdm` is part of the outer scope.
2025-05-08 18:22:29 +02:00
Jan Tojnar 867832aa50 nixos/gnome: Rename core-utilities option to core-apps
To match the upstream BuildStream definition:
3968975eac
2025-05-07 02:08:50 +02:00
Jan Tojnar 4a1b162c16 nixos/gnome: Update core apps
https://blogs.gnome.org/mcatanzaro/2025/03/21/gnome-48-core-apps-update/

- Add Decibels 5d89ffdee4
  (It somewhat overlaps with GNOME Music but the latter remains for Music library.)
- Remove gnome-shell-extensions 490c573b1b
- Add Sysprof and D-Spy to developer tools.
2025-05-07 02:08:50 +02:00
Jan Tojnar eafaba2fc0 gdm: 48.beta → 48.0
https://gitlab.gnome.org/GNOME/gdm/-/compare/48.beta...48.0

8ecc5d6a49
introduces polkit rules, install them in the GDM module.

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2025-05-07 02:08:19 +02:00
Garklein b7d20dbed1 nixos/exwm: add option to specify Emacs package
This allows a custom Emacs package to be used for EXWM (see #99424)

Co-authored-by: Lin Jian <me@linj.tech>
2025-04-24 07:33:07 +08:00
Jan Tojnar da86276039
Merge dleyna: 0.7.0 -> 0.8.3 (#400157) 2025-04-23 14:53:01 +02:00
Grimmauld e3aa1e0017
nixos/dleyna-*: unify 2025-04-21 17:57:43 +02:00
Bobby Rong 178623cb04
nixos/budgie: Drop qt style override (#400522) 2025-04-21 22:42:15 +08:00
Bobby Rong 48b497021e
nixos/budgie: Drop qt style override
https://hydra.nixos.org/build/295225429

This unbreaks nixosTests.budgie when a fix for qt6gtk2 is still in
review. This does not seem to work in Wayland so I guess we will
eventually drop that in next Budgie bump anyway.

See also 7e685d3693 for Cinnamon and 36bc3f46ba for Pantheon.
2025-04-21 20:33:24 +08:00
Ryan Hendrickson 2ef165538a nixos/pam: conditional enabling of services 2025-04-15 23:19:42 -04: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
Herwig Hochleitner 2107f032ab nixos/startx: remove graphical-session assertions
this assertion broke gnome sessions in very hard to debug way:

- gdm starts, but on successful login just returns to login screen
- journalctl isn't exactly helpful in this condition:
  - a typical gnome login will involve many warnings and errors, that
    aren't actually preventing login, but will lead affected users
    on a merry chase for many hours
  - the actual indicators in the log arent't even an errors, only info and warning
    - graphical-session.target: Starting requested but asserts failed.
    - Assertion failed for Current graphical user session.

startx is a power tool for power users, needing a certain level of
expertise for the user to even want it, let alone use correctly.
However, the expectation is, that the necessary expertise will be
contained within the domain of startx and that it not break tools for
regular users.

This partially reverts commit e1c3082085.
2025-03-31 11:58:09 +01:00
Pratham Patel cd795fd3f0 nixos/modules: cosmic: init 2025-03-31 15:28:55 +05:30
rnhmjoj a2e29f2fe3
nixos/startx: fix error if generateScript == false 2025-03-12 13:05:53 +01:00
rnhmjoj e1c3082085 nixos/startx: try to improve UX
There are some common pitfalls and no documentation around how to write
the .xinitrc to correctly start the window manager, the systemd
graphical session and, ideally, cleaning up afterwards.

To improve the user experience around startx this change:

1. Adds two options to generate a sane default script and extend
   it declaratively from NixOS.

2. Adds assertions to graphical-session.target so that it will fail
   clearly and immediately when users writing their own script forget to
   import the necessary environment variables.
2025-03-11 11:05:24 +01:00
Donovan Glover 011cc1ed74
nixos/phosh: enable services.graphical-desktop (#354465) 2025-03-09 14:47:33 +00:00
K900 e4293df176 nixos/plasma5: deprecate 2025-02-20 17:30:04 +03:00
Peder Bergebakken Sundt 953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Anderson Torres bc80114502 various: remove AndersonTorres from modules maintainership 2025-01-22 21:47:09 -03:00
Bobby Rong 3cdbf0a9ec
Pantheon 8 (#312449) 2025-01-12 18:12:34 +08:00
Bobby Rong 3b3a06ce59
nixos/pantheon: Replace sessionCommands with extraInit
I think the issue here will be similar to issue 276028.
2025-01-11 23:09:11 +08:00
Bobby Rong b1ebe0ae82
nixos/pantheon: Get rid of bamf
This is not needed with the latest gala and dock.
2025-01-11 23:09:11 +08:00
Bobby Rong 669951f780
pantheon.elementary-session-settings: Various simplifications
* Remove default-elementary-dockitems.desktop as it is not useful with the new dock.
* See https://github.com/GNOME/gtk/blob/4.16.12/gtk/gtksettings.c for gtk-4.0/settings.ini.
* With systemd managed session the required components are actually managed by systemd.
* After the above changes there is no more need to install the script in libexec.
2025-01-11 23:09:10 +08:00
Bobby Rong e71b4d747d
pantheon.elementary-default-settings: 7.1.0 -> 8.0.2
https://github.com/elementary/default-settings/compare/7.1.0...8.0.2
2025-01-11 23:09:10 +08:00
7c6f434c d624c58441
stumpwm: 22.11 -> 24.11 + moved outside lisp-modules (#372466) 2025-01-10 11:18:14 +00:00
Kasper Gałkowski ecbc3c2a87 stumpwm: 22.11 -> 24.11
Moved outside lisp-modules to a separate package, so as to re-use its
Makefile-based build-system and make a step in the direction of leaving just
development libraries in lisp-modules.
2025-01-10 04:47:23 +01:00
piegames 603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
Franz Pletz 9a1c989117
dwm: add extraSessionCommands option (#267471) 2025-01-03 06:01:56 +01:00
Philip Taron b6b551fe22
Revert "treewide/nixos: remove with lib; part 12" 2024-12-31 14:04:42 -08:00
Philip Taron bef289e3d0
nixos/xfce: fix after #369419 removed with lib 2024-12-31 10:48:36 -08:00
Felix Buehler b12278959f nixos/services.xserver.windowManager.e16: remove with lib; 2024-12-30 16:57:48 +01:00
Felix Buehler 01cb6f9822 nixos/services.xserver.windowManager.dwm: remove with lib; 2024-12-30 16:57:48 +01:00
Felix Buehler 9a87ab9c01 nixos/services.xserver.windowManager.cwm: remove with lib; 2024-12-30 16:57:48 +01:00
Felix Buehler 7ed890b292 nixos/services.xserver.windowManager.clfswm: remove with lib; 2024-12-30 16:57:48 +01:00
Felix Buehler acc4e7ea1f nixos/services.xserver.windowManager.bspwm: remove with lib; 2024-12-30 16:57:48 +01:00
Felix Buehler f85316041a nixos/services.xserver.windowManager.berry: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler 380a81dd86 nixos/services.xserver.windowManager.awesome: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler 77cce31b62 nixos/services.xserver.windowManager.afterstep: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler 15928daf29 nixos/services.xserver.windowManager.2bwm: remove with lib; 2024-12-30 16:57:47 +01:00