From 07ccbc099a1fab4ec1e597b38c1bcea3ec159f3b Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 8 Jan 2020 19:47:41 -0800 Subject: [PATCH] nixos/gdm: Fix tmpfiles configuration syntax Fixes this error from `nixos-rebuild switch` introduced by #75893: setting up tmpfiles [/etc/tmpfiles.d/nixos.conf:7] Invalid age 'yes'. warning: error(s) occurred while switching to the new configuration Signed-off-by: Anders Kaseorg --- nixos/modules/services/x11/display-managers/gdm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix index 4de3dbd87701..2f8c8cc90137 100644 --- a/nixos/modules/services/x11/display-managers/gdm.nix +++ b/nixos/modules/services/x11/display-managers/gdm.nix @@ -171,7 +171,7 @@ in "L+ /run/gdm/.config/pulse - - - - ${pulseConfig}" ] ++ optionals config.services.gnome3.gnome-initial-setup.enable [ # Create stamp file for gnome-initial-setup to prevent it starting in GDM. - "f /run/gdm/.config/gnome-initial-setup-done 0711 gdm gdm yes" + "f /run/gdm/.config/gnome-initial-setup-done 0711 gdm gdm - yes" ]; systemd.services.display-manager.wants = [