136 Commits
Author SHA1 Message Date
Masum RezaandGitHub 652a42169a nixos/{greetd, ly}: substack login in PAM (#526154) 2026-07-24 19:43:36 +00:00
nixpkgs-ci[bot]andGitHub 6b49f09f43 Merge master into staging-nixos 2026-07-24 00:30:21 +00:00
Masum RezaandGitHub 0f58d59d92 nixos/dms-greeter: added mango and miracle-wm as supported compositor… (#517703) 2026-07-23 19:32:17 +00:00
nixpkgs-ci[bot]andGitHub f3d4047b6a Merge master into staging-nixos 2026-07-21 18:29:41 +00:00
Grimmauld 557ffb2ffa nixos/treewide: use security.pam.pam_unixModulePath 2026-07-21 14:57:21 +02:00
Grimmauld 3d32e0705a nixos/pam: remove explicit hardcoded yescrypt
Both `pam_unix.so` and `pam_unix_ng.so` look at `ENCRYPT_METHOD` in
`/etc/login.defs` to determine the algorithm to use for password
encryption: https://github.com/thkukuk/account-utils/blob/66fbd0382be49d99cb70410a4696c796684ffbf8/src/pam_unix_ng-common.c#L27-L62
If this is not set, both already default to `YESCRYPT`.
The shadow module makes this configurable via
`security.loginDefs.settings.ENCRYPT_METHOD`, which also defaults to `YESCRYPT`.
Seeing as what was previously hardcoded is default anyways, with a global
configuration option to change it, there is no point to keep this.
2026-07-13 20:29:02 +02:00
Doron Behar 97bb9b1eb3 nixos/gdm: remove pulseaudio warning 2026-06-17 11:43:19 +03:00
Matt Sturgeon 860db540f8 nixos/displayManager: improve defaultSession error 2026-06-02 18:42:17 +01:00
Matt Sturgeon a3a6ad305f nixos/displayManager: interpolate option paths in docs + errors 2026-06-02 18:26:55 +01:00
Matt SturgeonandGitHub 22836e1e4d nixos/displayManager: replace ad-hoc type // { check } overrides (#525738) 2026-06-02 17:03:59 +00:00
winston 2b2b69cc17 nixos/gdm: ensure environment from display-manager.service is propagated 2026-06-02 13:04:20 +02:00
Johannes Kirschbauer e26bb57b73 nixos/displayManager: replace ad-hoc type // { check } overrides
Replace ad-hoc `type // { check }` overrides, which are incompatible
with the v2 merge mechanism (see #454964).
2026-06-01 10:43:01 +02:00
nelind f941d78c5a nixos/greetd: substack login in PAM 2026-05-31 00:55:59 +02:00
nelind c45e9fd973 nixos/ly: substack login in PAM 2026-05-31 00:01:13 +02:00
Masum RezaandGitHub 4e7dbff92b nixos/cosmic-greeter: add cosmic icons (#523250) 2026-05-24 16:21:34 +00:00
Bobby RongandGitHub 83934ee09c nixos/gdm: update gdm-greeter user homes, add warning for pulseaudio (#521789) 2026-05-23 15:16:06 +00:00
winston 82ed78a9ee nixos/gdm: add warning for Pulseaudio + gdm
We plan to use systemd-userdbd for NixOS 26.11, which will dynamically
allocate greeter users + their homes, which would break the current PA
config. GNOME already depends on PipeWire in other places, so there's
little reason to keep this around.
2026-05-23 12:10:13 +02:00
John Titor 178a6acd19 nixos/cosmic-greeter: add cosmic icons
Without this icons don't show up after the recent update.
2026-05-23 11:00:52 +05:30
winston 3fb5cf873d nixos/gdm: update gdm-greeter user homes
This fixes gdm not being able to save config changes made on the log-in
screen, such as turning on accessibility options. The new values for the
`gdm-greeter{-2,-3,-4,-5}` users map onto what userdbd would create for us.
We need writable home directories to interact with `dbus`, as well as to
populate the `/run/gdm/home/gdm-greeter/.config/environment.d/` files.

`gnome-inital-setup-done` is now seemingly called `gdm.ran-initial-setup`:
https://gitlab.gnome.org/GNOME/gdm/-/blob/gnome-50/daemon/gdm-manager.c?ref_type=heads#L64
2026-05-21 17:47:56 +02:00
GrimmauldandGitHub 8b640058cc display-managers: use absolute PAM module paths (#520695) 2026-05-20 15:16:25 +00:00
winston bb23a160a1 Revert "nixos/gdm: fix greeter permissions"
This reverts commit 13759bea6c.
2026-05-20 16:04:08 +02:00
hydroakri 65dffb5324 nixos/ly: use absolute PAM module paths
Same issue as plasma-login-manager: the ly-autologin PAM service uses
relative module paths which fail when AppArmor is enabled.

Change the 3 non-include PAM rules to use absolute store paths via
${config.security.pam.package}/lib/security/pam_*.so.
2026-05-17 23:26:51 +00:00
hydroakri cffbe41359 nixos/plasma-login-manager: use absolute PAM module paths
The AppArmor PAM abstraction in pam.nix asserts that all modulePath
values be absolute paths. Relative paths like "pam_nologin.so" cause
a build failure with AppArmor enabled:

  error: non-absolute PAM modulePath "pam_nologin.so" is unsupported by apparmor

GDM, SDDM, and LightDM already use absolute paths for all non-include
PAM rules. Fix plasma-login-manager to follow the same convention.
2026-05-16 02:21:07 +00:00
Michael Buckley 8c49060c45 nixos/dms-greeter: added mango, labwc, and miracle-wm as supported compositor options 2026-05-11 06:54:30 -04:00
Ahmed Khanzada 13759bea6c nixos/gdm: fix greeter permissions 2026-05-09 22:16:42 -07:00
winstonandBobby Rong f2437e59e2 nixos/gdm: Drop wayland option
daemon/WaylandEnable is gone.

https://gitlab.gnome.org/GNOME/gdm/-/commit/b8fbd8ecc72b2d4974ee91e68407461fe97c5bef
2026-05-06 23:23:38 +08:00
Pratham Patel eb53785634 nixos/cosmic-greeter: allow empty passwords
Auto-login masked part of this issue because the greeter was never
interacted with. But once the user's session gets locke, it never
unlocks because PAM doesn't allow empty passwords. This patch fixes that
behaviour.
2026-04-24 13:26:29 +05:30
K900andGitHub e44e0c1315 nixos/sddm: fix unit: add RequiresMountsFor for state directory (#505442) 2026-04-20 09:34:54 +00:00
Majiir Paktu 4b864991aa nixos: replace 'text' with structured PAM rules
Several modules define whole PAM service rule stacks by overwriting the
default value of the 'text' option. Instead, we disable useDefaultRules
for these services and declare a new set of rules using the 'rules'
option. This option is considered experimental and hidden from users,
but it is supported for use within nixpkgs.
2026-04-10 21:42:11 -04:00
Majiir Paktu e778520f71 nixos: use full path to PAM modules
PAM rules with non-absolute module paths are rejected when apparmor is
used. In general, it helps (aside from readability) for all the module
paths to be absolute, especially when the user overrides the PAM
package.
2026-04-10 20:47:24 -04:00
gedanzigerandgdanziger b0ae5a671e nixos/gdm: add extraPackages to extend XDG_DATA_DIRS
This value is currently hard to extend/modify as it is an
environment variable. This makes it easier to change.
2026-04-07 17:11:42 -07:00
Nicolas Dumazet d47e402428 nixos/sddm: fix unit: add RequiresMountsFor for state directory
This helps correctness for systems which need to mount particular
directories (impermanence, preservation). This option has no effect if
the system does not need to mount directories / if no mountpoints exist
for this directory or its parents.

Signed-off-by: Nicolas Dumazet <nicdumz.commits@gmail.com>
2026-03-31 21:55:13 +02:00
K900 4be57b07f9 nixos/plasma-login-manager: set XDG_DATA_DIRS correctly
This should ensure all the sessions are found by both the daemon
and the greeter.
2026-03-27 16:33:10 +03:00
Marcus RambergandGitHub 5acba8c5a8 dms-greeter: fix auto login (#495667) 2026-03-16 19:21:42 +00:00
zionandGitHub 391a164758 nixos/dms-greeter: skip invalid customThemeFile in preStart
Avoid attempting to copy a null/empty/missing customThemeFile path by validating the jq result and file existence before cp.
2026-03-15 22:19:33 +08:00
Silvan Mosberger b513ab8192 Reapply "ci: module maintainer review requests; nixos/modules: init meta.teams"
This reverts commit 2cc2e0225f.
2026-03-13 16:53:28 +01:00
Silvan MosbergerandGitHub 2cc2e0225f Revert "ci: module maintainer review requests; nixos/modules: init meta.teams" 2026-03-06 08:41:24 +01:00
Silvan Mosberger dbb164c759 nixos/modules: Use meta.teams over meta.maintainers = lib.teams.*.members
This allows getting the team itself requested for a review instead of
the individual members
2026-03-02 10:59:09 +01:00
LuckShiba 0a7ed9485d dms-greeter: fix auto login 2026-03-01 21:44:46 -03:00
K900 59c863b514 nixos/sddm: write config file as drop-in
This makes it possible to override via further drop-ins,
e.g. ones generated by steamos-maanger on Jovian.
2026-02-25 13:07:22 +03:00
K900 88327eb387 nixos/plasma-login-manager: init 2026-02-17 11:33:51 +03:00
LunaandGitHub 6f1fc91f9a ly & nixos/ly: add zacharyarnaise as maintainer (#485030) 2026-02-13 05:43:18 +00:00
zion 0827ba3222 nixos/dms-greeter: inherit package defaults from dms-shell
When `programs.dms-shell.enable` is true, the greeter now automatically
uses the dms-shell package and its quickshell dependency from the
main program module. This ensures version consistency between the
desktop shell and the display manager greeter.

The defaults fall back to pkgs.dms-shell and pkgs.quickshell
respectively when the main program module is not enabled.
2026-02-07 01:31:40 +08:00
Zachary Arnaise 71537445b0 nixos/ly: add zacharyarnaise as maintainer 2026-01-29 12:13:39 +01:00
Felix BargfeldtandGitHub 938aa333a3 nixos/ly: add support for auto-login (#473013) 2026-01-28 19:26:37 +00:00
Zachary Arnaise 8ea20e5812 nixos/ly: add support for auto-login 2026-01-28 19:14:44 +01:00
K900 a5d24116c5 nixos/display-managers: enable displayManager when generic DM is enabled, not X11
Should fix startx setups and whatnot. God.
2026-01-28 13:10:31 +03:00
zowoqandGitHub dd3b179222 nixos: Fix modules meta.maintainers issues (#484155) 2026-01-27 06:08:20 +00:00
Samuel Dionne-Riel 5bb6317349 nixos/modules: Fix “danklinux” team members reference
These evaluation errors were introduced in #470576:

 - e60e3f9ded
 - 0de2873a44
2026-01-26 20:05:32 -05:00
JoandGitHub e147f2f65d nixos/: remove references to the xorg namespace (#482828) 2026-01-26 14:00:06 +00:00