sudo nixos-rebuild switch
building Nix...
building the system configuration...
error: attribute 'gnome_settings_daemon' missing
at /etc/nixos/configuration.nix:117:51:
116| enable = true;
117| extraGSettingsOverridePackages = with pkgs; [ gnome3.gnome_settings_daemon ];
| ^
118| extraGSettingsOverrides = ''
Did you mean gnome-settings-daemon?
(use '--show-trace' to show detailed location information)
sudo nixos-rebuild switch
building Nix...
building the system configuration...
error: attribute 'gnome_settings_daemon' missing
at /etc/nixos/configuration.nix:117:51:
116| enable = true;
117| extraGSettingsOverridePackages = with pkgs; [ gnome.gnome_settings_daemon ];
| ^
118| extraGSettingsOverrides = ''
Did you mean gnome-settings-daemon?
(use '--show-trace' to show detailed location information)
building '/nix/store/y0k6jw9cd7vwcanxqf74sn9lym4aj89j-gnome-gsettings-overrides.drv'...
Warning: Schema ?org.gnome.system.locale? has path ?/system/locale/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy? has path ?/system/proxy/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.http? has path ?/system/proxy/http/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.https? has path ?/system/proxy/https/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.ftp? has path ?/system/proxy/ftp/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.socks? has path ?/system/proxy/socks/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
/nix/store/9n2n32k0csxglsd7wgx5ixap9h8cksq3-gnome-gsettings-overrides/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/zz-nixos-defaults.gschema.override: Key file contains line “x” which is not a key-value pair, group, or comment. --strict was specified; exiting.
error: builder for '/nix/store/y0k6jw9cd7vwcanxqf74sn9lym4aj89j-gnome-gsettings-overrides.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/ndrb93h9rrs2n9ns7ab0ygbk0iwlm7yd-etc-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3nq730153i0l3hsycc06jz24n56i2kwg-set-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/920khw656vc452dq3baixj3ywf04cj5l-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lsq4dwng3npp32rw7wkv1k009hwqcmpa-nixos-system-nixos-22.11.4256.628d4bb6e9f.drv' failed to build
Your code was missing this and an extra space, but once I added that, it ran.
Didn’t help, though, cause it still suspends after a few minutes.
I’ve read elsewhere that it might be Xorg itself causing the suspend.
Not sure how this work, but are there more than one daemon handling suspend or does GNOME settings daemon simply talk to Xorg, which contains a power daemon or how is it?