mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/display-managers: fix assertion
This commit is contained in:
parent
1ea2cbffec
commit
06643a08b2
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ in
|
|||
lib.assertMsg (d != null -> (lib.types.str.check d && lib.elem d config.services.displayManager.sessionData.sessionNames)) ''
|
||||
Default graphical session, '${d}', not found.
|
||||
Valid names for 'services.displayManager.defaultSession' are:
|
||||
${lib.concatStringsSep "\n " cfg.displayManager.sessionData.sessionNames}
|
||||
${lib.concatStringsSep "\n " cfg.sessionData.sessionNames}
|
||||
'';
|
||||
};
|
||||
default = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue