Commit graph

229 commits

Author SHA1 Message Date
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +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
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
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
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
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
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
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
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
Jan Tojnar 54b056a950 nixos/metacity: Avoid top-level with 2024-08-12 00:29:13 +02:00
Jan Tojnar f192bd9e5c metacity: Move from gnome scope to top-level 2024-08-12 00:29:13 +02:00
B4rc1 814ed4b9e5
herbstluftwm: fix unable to be started (#271198)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-07-01 11:11:46 +02:00
Arjan Schrijver 50643d3a98 qtile: use proper session .desktop files 2024-06-10 14:34:23 +02:00
pinn3 385a87c5f8 dwm: format module with nixfmt 2024-05-30 13:40:49 +02:00
Aleksana 9c4874ae8c
Merge pull request #307011 from acid-bong/qtile-final
nixos/qtile: add finalPackage option
2024-05-18 01:55:08 +08:00
pinn3 d40983ba34 dwm: add extraSessionCommands option 2024-05-15 15:30:17 +02:00
Kasper Gałkowski fc5b715e1a nixos/clfswm: use sbclPackages - lispPackages was removed 2024-05-07 03:35:07 +02:00
Jan Tojnar 2a2796c2bc nixos/xserver: Remove with statements
They masked the evaluation error caused by removal of
`defaultSessionFromLegacyOptions` variable
in 6be2bfcc32
2024-05-02 23:20:02 +02:00
Jan Tojnar 8bf5752a3c nixos/xserver: Remove {desktop,window}Manager.default options
These have been deprecated since NixOS 20.03.

Also fixes evaluation error caused by moving
the `defaultSessionFromLegacyOptions` variable
in 6be2bfcc32
2024-05-02 23:20:02 +02:00
Acid Bong abdeca343a
nixos/qtile: add finalPackage option
This exposes the resulting Qtile bundle in case the user wants to start
Qtile session different than with a login manager
2024-04-26 20:08:12 +03: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
Sandro Jäckel 476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
Stig 468417b7f3
Merge pull request #296479 from marcusramberg/marcus/nimdow
nixos/nimdow: module updates
2024-03-21 12:14:56 +01:00
Tony Zorman 240c39ef2e nixos/xmonad: add slotThe as a maintainer 2024-03-18 20:27:15 +01:00
Marcus Ramberg 20eec34036 nixos/nimdow: Make package configurable, ensure nimdow can start a terminal in it's default config 2024-03-16 19:32:34 +01:00
kennycallado 73cb336785 nixos/icewm: Update icewm start command
Preferred way to start session in icewm. [docs](https://ice-wm.org/man/icewm-session)
2024-01-15 17:49:01 +01:00
Silvan Mosberger 54c8a15650
Merge pull request #271247 from h7x4/treewide-mkpackageoptionmd-to-mkpackageoption
treewide: replace `mkPackageOptionMD` with `mkPackageOption`
2023-12-01 02:09:10 +01:00
Franz Pletz c4b7e013aa
Merge pull request #243834 from LunNova/lunnova/i3-update-session-environment 2023-11-30 20:42:13 +01:00
h7x4 79d3d59f58
treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +01:00
h7x4 0a37316d6c
treewide: use mkPackageOption
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
Luna Nova d47bb3261f
nixos/i3: add updateSessionEnvironment option
Runs dbus-update-activation-environment and systemctl import-environment on session start
to ensure xdg portals work, and user services have correct PATH / XDG env vars.
Matches behavior of Plasma/Gnome sessions.
2023-10-22 10:18:55 -07:00
Anderson Torres 77671b681c oroborus: remove
Because it is dead.
2023-09-11 01:56:45 +00:00
Theodore Ni c68a6a21ca
Merge pull request #247909 from Sigmanificient/ragnarwm
ragnarwm: init at 1.3.1
2023-08-27 13:41:04 -07:00
Gutyina Gergő 2a71e7815e
dwm: add _JAVA_AWT_WM_NONREPARENTING=1
dwm is not in Java's internal list of non-reparrenting
window managers. Running Java GUI programs without this
variable on window managers (eg. jd-gui) causes the window
to be blank.
2023-08-22 12:56:59 +02:00
Sigmanificient 0482394fe0 ragnarwm: init at 1.3.1 2023-08-20 18:20:39 +02:00
Niki4tap bd0b732bef dwm: use correct hash in example 2023-08-17 21:14:35 +03:00
Felix Dietze 7cfeb768e5
fix herbstluftwm session command 2023-06-12 14:17:28 +00:00
3JlOy_PYCCKUI 22c8251d7f nixos/dk: init 2023-05-29 19:05:55 +00:00