Commit graph

2564 commits

Author SHA1 Message Date
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
Felix Buehler cfd241e856 nixos/services.urxvtd: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler 907513b013 nixos/services.unclutter: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler 81af5e84de nixos/services.unclutter-xfixes: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler c395f4a881 nixos/services.touchegg: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler 3c25e33c2f nixos/services.redshift: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler f8e4c2bb77 nixos/services.picom: remove with lib; 2024-12-30 16:57:47 +01:00
Felix Buehler 68590cbb86 nixos/services.xserver.imwheel: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler 39e4529bdd nixos/services.xserver.wacom: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler ef32b6d67a nixos/services.xserver.synaptics: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler 19ac519dda nixos/services.xserver.digimend: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler ae638c0c4c nixos/services.xserver.cmt: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler 620887f332 nixos/services.fractalart: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler 4c8347ad68 nixos/services.xserver.xkb.extraLayouts: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler 2e19baf26b nixos/services.xserver.displayManager.xpra: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler 1c0fdc5be0 nixos/services.xserver.displayManager.startx: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler 61ea102715 nixos/services.xserver.displayManager.slim: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler a439faa883 nixos/services.xserver.displayManager.lightdm: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler 4214af11a9 nixos/services.xserver.displayManager.lightdm.greeters.tiny: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler 62a2f3303b nixos/services.xserver.displayManager.lightdm.greeters.slick: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler 6a56bdff41 nixos/services.xserver.displayManager.lightdm.greeters.pantheon: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler 2882d6bc32 nixos/services.xserver.displayManager.lightdm.greeters.mobile: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler f8865e8401 nixos/services.xserver.displayManager.lightdm.greeters.mini: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler 1253a94387 nixos/services.xserver.displayManager.lightdm.greeters.gtk: fmt 2024-12-30 16:57:42 +01:00
Felix Buehler 2b59e102ba nixos/services.xserver.displayManager.lightdm.greeters.gtk: remove with lib; 2024-12-30 16:57:20 +01:00
Felix Buehler 0a91efc713 nixos/services.xserver.displayManager.lightdm.greeters.enso: remove with lib; 2024-12-30 16:57:20 +01:00
Felix Buehler dcd408ab4a nixos/services.xserver.desktopManager.xterm: remove with lib; 2024-12-30 16:57:20 +01:00
Felix Buehler 4b798ee63e nixos/services.xserver.desktopManager.xfce: remove with lib; 2024-12-30 16:57:20 +01:00
Felix Buehler ee971f5c8f nixos/services.xserver.desktopManager.surf-display: remove with lib; 2024-12-30 16:57:19 +01:00
Felix Buehler 61ad8be682 nixos/services.xserver.desktopManager.retroarch: remove with lib; 2024-12-30 16:57:19 +01:00
Felix Buehler fa4e66d550 nixos/services.xserver.desktopManager.pantheon: remove with lib; 2024-12-30 16:57:19 +01:00
Felix Buehler 0737eac7e0 nixos/services.xserver.desktopManager.runXdgAutostartIfNone: remove with lib; 2024-12-30 16:57:19 +01:00
Felix Buehler 5d5963f8e6 nixos/services.xserver.desktopManager.mate: fmt 2024-12-30 16:57:13 +01:00
Felix Buehler 60f9b34cae nixos/services.xserver.desktopManager.mate: remove with lib; 2024-12-30 16:28:34 +01:00
Felix Buehler dab1624643 nixos/services.xserver.desktopManager.lxqt: remove with lib; 2024-12-30 16:27:42 +01:00
Felix Buehler 93da453c9e nixos/services.xserver.desktopManager.lumina: remove with lib; 2024-12-30 16:27:05 +01:00
Felix Buehler 3ba85539d7 nixos/services.xserver.desktopManager.kodi: remove with lib; 2024-12-30 16:26:40 +01:00
Felix Buehler e0836261f2 nixos/services.xserver.desktopManager.enlightenment: remove with lib; 2024-12-30 16:26:19 +01:00
Felix Buehler 5fac14d6a4 nixos/services.xserver.desktopManager.deepin: remove with lib; 2024-12-30 16:25:53 +01:00
Felix Buehler b48d0ec757 nixos/services.xserver.desktopManager.cinnamon: remove with lib; 2024-12-30 16:24:57 +01:00
Felix Buehler 6fe2a04f0d nixos/services.xserver.desktopManager.cde: remove with lib; 2024-12-30 16:23:35 +01:00
Felix Buehler 328da3a39d nixos/services.colord: remove with lib; 2024-12-30 16:23:13 +01:00
nicoo 238b407862
nixos: hardware.pulseaudio → services.pulseaudio (#369391) 2024-12-30 13:46:50 +00:00
Bobby Rong 05f5f947b4
nixos/cinnamon: Replace xplayer with celluloid
https://github.com/linuxmint/xplayer/issues/169#issuecomment-1072069928
2024-12-23 23:16:29 +08:00
Bobby Rong d8890db135
Xfce 4.20 (#353048) 2024-12-17 08:36:52 +08:00
Bobby Rong d9b6a4eb7b
nixos/xfce: Add Wayland session
Using labwc as compositor.
2024-12-15 20:08:15 +08:00
Bobby Rong 3c20ab171f
nixos/xfce: Use upstream name for X11 session
This allows keeping the name consistent with the wayland
session we are introducing later.
2024-12-15 20:08:15 +08:00
misuzu ad2bd1af95
nixos/plasma5: fix shellcheck findings with enableStrictShellChecks enabled (#362341) 2024-12-14 12:50:52 +02:00
Bobby Rong 04785d767a
Pantheon updates 2024-12-13 (#364951) 2024-12-14 12:38:55 +08:00
Atemu 84bd8b0172
nixos/cinnamon: Do not set QT_QPA_PLATFORMTHEME (#364267) 2024-12-13 22:00:28 +01:00
Bobby Rong ec21cacf9b
nixos/pantheon: Get rid of gsignond
This is not needed with switchboard-plug-onlineaccount 6.0.0.
2024-12-13 23:31:49 +08:00
Bobby Rong 7e685d3693
nixos/cinnamon: Do not set QT_QPA_PLATFORMTHEME
Mint no longer ships qt5ct since Mint 22 and no longer ships a
qt5ct.conf in Mint 22.1. Following their changes I think we will
also drop our override and delegate the decision to user. Also
the gtk2 platform theme actually depends on gtk2.

f239cde908
2024-12-13 20:35:04 +08:00
nicoo f6c5531461
nixos: Don't set !allowSubstitutes (#314664)
It is set by `runCommandLocal` and prevents fetching the build output
from `cache.nixos.org` or another trusted substituter.
2024-12-12 18:26:24 +00:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Bobby Rong bab9b4a93c
nixos/cinnamon: Add x-cinnamon-mimeapps.list (#362432) 2024-12-08 08:50:36 +08:00
Bobby Rong 74eae6a8b4
nixos/cinnamon: Add x-cinnamon-mimeapps.list
This is specifically for https://github.com/linuxmint/nemo/blob/6.4.0/src/nemo-desktop-application.c#L398.

The same thing is already done in the GNOME module. Otherwise when you e.g try "Downloads" -> "Show in Folder"
in Firefox, it will just do nothing, this is probably not a good experience.

ref: https://salsa.debian.org/cinnamon-team/cinnamon-desktop/-/blob/debian/6.2.0-1/debian/x-cinnamon-mimeapps.list
ref: https://src.fedoraproject.org/rpms/cinnamon-desktop/blob/f41/f/x-cinnamon-mimeapps.list
2024-12-06 22:30:01 +08:00
Zhong Jianxin 0e9fa53445 nixos/plasma5: fix shellcheck findings with enableStrictShellChecks enabled 2024-12-05 20:49:47 +08:00
Jan Tojnar ccf9d87fe6 nixos/cinnamon: Switch notExcluded to disablePackageByName
For consistency with other DEs.
2024-12-04 22:31:35 +01:00
Jan Tojnar 162f4339ef nixos/gnome: Switch notExcluded to disablePackageByName
For consistency with other DEs.
2024-12-04 22:31:35 +01:00
Jan Tojnar c4ed78b5a0 nixos/pantheon: Switch notExcluded to disablePackageByName
Previously, this check was inconsistent with `removePackagesByName` – the latter compares the packages using their names.
2024-12-04 22:31:35 +01:00
Jan Tojnar e221971ee7 nixos/budgie: Switch notExcluded to disablePackageByName
Previously, this check was inconsistent with `removePackagesByName` – the latter compares the packages using their names.
2024-12-04 22:31:35 +01:00
stanleyj-edsn c82bf95274
nixos/exwm: remove option enableDefaultConfig
The default configuration was removed from upstream, see https://github.com/emacs-exwm/exwm/issues/57

Fix: #319541
Co-authored-by: Lin Jian <me@linj.tech>
2024-12-05 02:44:16 +08:00
stanleyj-edsn 0f64286316 nixos/exwm: rename emacsWithPackages
Fix error: 'emacsWithPackages' has been renamed to/replaced by 'emacs.pkgs.withPackages'

Fix: #361706
2024-12-04 14:47:24 +01:00
Bobby Rong 5e0dd6992e
Cinnamon 6.4 (#359855) 2024-12-04 12:25:14 +08:00
Bobby Rong d3b00bb894
nixos/cinnamon: Remove polkit_gnome
Cinnamon ships its own polkit agent.
9945a8aca1
2024-12-03 20:52:22 +08:00
Bobby Rong e83ca8870e
nixos/cinnamon: Enable power-profiles-daemon
7a4afa6c03

If you use tlp you can disable this again in your config.
2024-12-03 20:52:22 +08:00
Aleksana 122ab4117f
deepin: do not install infrequently used apps by default (#361425) 2024-12-03 20:02:56 +08:00