Commit Graph

22 Commits

Author SHA1 Message Date
nelind
c45e9fd973 nixos/ly: substack login in PAM 2026-05-31 00:01:13 +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
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
Zachary Arnaise
71537445b0 nixos/ly: add zacharyarnaise as maintainer 2026-01-29 12:13:39 +01:00
Felix Bargfeldt
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
Jo
e147f2f65d nixos/: remove references to the xorg namespace (#482828) 2026-01-26 14:00:06 +00:00
quantenzitrone
3e622a5110 nixos: remove references to the xorg namespace
this only creates the usual nixos module rebuilds
2026-01-25 22:58:40 +01:00
K900
7549efbb3e nixos/display-managers: move "generic" DM unit to its own option set (#480050) 2026-01-24 07:59:33 +00:00
K900
e49259f489 nixos/display-managers: move "generic" DM unit to its own option set
This is the first step towards deprecating it.
2026-01-17 16:00:48 +03:00
Raheem Idowu
2bf9652389 nixos/ly: fix brightness default commands
ensures brightness can be changed in ly by default
2026-01-11 14:45:22 +01:00
Justin Chen
d17149a020 Revert "ly: Add session_log path to ly default config (#472717)"
This reverts commit 678f9ce5b7, reversing
changes made to 87cc2ba491.

Ly currently can't gracefully handle the missing parent directory of the
log file. In the commit to be reverted, the session log path is set to
`~/.local/state/ly-session.log`. If `~/.local/state` doesn't exist,
which is common when a new user is created with an empty home directory,
Ly can't automatically create the parent directory for the log file,
instead it prints a rather vague `FileNotFound` error message,
potentially confusing nost users.

See also the issue in the upstream repository:
<https://codeberg.org/fairyglade/ly/issues/896>.
2025-12-22 01:38:59 +08:00
atinba
84e16a5d85 ly: Add session_log path to ly default config 2025-12-20 19:45:18 +05:30
dot-file
a0fd4f4de8 nixos/ly: reformat 2025-10-25 16:31:51 +03:00
dot-file
60ba321180 nixos/ly: use iniFmt.lib.types.atom in settings
Co-authored-by: h7x4 <h7x4@nani.wtf>
2025-10-18 20:06:42 +03:00
dot-file
2f755c3153 nixos/ly: add types.nullOr in settings
Some options in ly's config.ini can have null as their value (for example, session_log), but the settings option in the NixOS module accepted only str, int and bool types.
2025-09-25 21:37:26 +03:00
Will Fancher
431a976182 nixos/display-managers: tty1 everywhere 2025-07-28 14:46:39 -04:00
Will Fancher
878c68dad3 nixos/xserver: Remove tty option
Note about sddm: The MinimumVT option has been documented as unavailable since v0.20.
2025-07-28 14:46:39 -04:00
Markus S. Wamser
17260c3126 ly: add option to build without x11 support 2025-06-11 20:27:52 +02:00
Markus S. Wamser
166babb622 ly: 1.0.3 -> 1.1.0 2025-06-11 20:27:49 +02:00
Arjan Schrijver
ca139acf0e nixos/ly: unlock gnome-keyring on login when enabled 2024-09-14 20:44:41 +02:00
Vonfry
0849e0fe7a nixos/ly: init module 2024-08-03 19:56:25 +08:00