| 26 Jun 2021 |
| NixOS Moderation Bot joined the room. | 01:50:47 |
Jan Tojnar | can't say I have seen that. But I am running on Intel graphics | 10:24:26 |
| 28 Jun 2021 |
| Raghav Gururajan joined the room. | 07:03:03 |
| 29 Jun 2021 |
| Moved to @srid:one.ems.host changed their display name from srid to srid (on hiatus). | 00:39:21 |
| tomog joined the room. | 16:06:58 |
ryantm | Since gdm.autoSuspend doesn't seem to work, what's a good fix for it? Is it too hacky/surprising to use polkit? https://github.com/NixOS/nixpkgs/issues/100390#issuecomment-867830400 | 21:52:24 |
ryantm | * Since disabling gdm.autoSuspend doesn't seem to work, what's a good fix for it? Is it too hacky/surprising to use polkit? https://github.com/NixOS/nixpkgs/issues/100390#issuecomment-867830400 | 21:52:55 |
Jan Tojnar | ryantm: is that in session or display manager? | 22:21:19 |
Jan Tojnar | the NixOS option is only supposed to handle the latter | 22:22:07 |
Jan Tojnar | * ryantm: is that in GNOME Shell session or display manager? | 22:22:27 |
Jan Tojnar | * ryantm: is that in GNOME Shell session or display manager login screen? | 22:22:46 |
ryantm | Yeah, that polkit thing is over-aggressive compared to that option's name. | 22:23:06 |
ryantm | It's blocking any kind of suspending. | 22:23:17 |
ryantm | I don't know the answer to your question though. | 22:23:37 |
Jan Tojnar | well, are you logged in when the suspend happens? | 22:24:31 |
Jan Tojnar | I believe lock screen counts as logged in for this use case | 22:25:03 |
ryantm | The latest time I was having trouble, I believe some other user was logged in with the lock screen. | 22:25:35 |
ryantm | I'm not sure if those dconf settings are user specific. Probably. | 22:26:03 |
Jan Tojnar | well, then the user needs to disable the autosuspend | 22:26:03 |
Jan Tojnar | yeah, they are | 22:26:10 |
ryantm | So, gdm.autoSuspend literally just means only the login screen will not suspend? | 22:26:31 |
ryantm | * So, gdm.autoSuspend = false; literally just means only the login screen will not suspend? | 22:26:41 |
Jan Tojnar | yes | 22:27:01 |
Jan Tojnar | users can configure it themselves easily in GNOME Control Center | 22:27:22 |
Jan Tojnar | (or using the appropriate NixOS option) | 22:27:52 |
Jan Tojnar | but settings for GDM are not easily accessible | 22:27:54 |
ryantm | Sounds good. I guess I should make a more global (non-GNOME) no suspend option that enables the polkit. | 22:28:04 |
Jan Tojnar | for the record, this is how I do it (https://github.com/jtojnar/nixfiles/blob/28a348c486e749f15be23f59e7cbea8efb08378f/hosts/theo/configuration.nix#L279-L306) | 22:29:21 |
Jan Tojnar | (overrides the default value so it will work for all users that did not fiddle with the power settings before) | 22:30:00 |
ryantm | I think we can resolve https://github.com/NixOS/nixpkgs/issues/100390 by improving the option's documentation. | 22:31:22 |