use mkDefault on root's shell

This commit is contained in:
Matej Cotman 2014-08-20 21:17:48 +02:00
parent 128039217e
commit f4b5cd9f3f

View file

@ -404,7 +404,7 @@ in {
uid = ids.uids.root;
description = "System administrator";
home = "/root";
shell = cfg.defaultUserShell;
shell = mkDefault cfg.defaultUserShell;
group = "root";
extraGroups = [ "grsecurity" ];
hashedPassword = mkDefault config.security.initialRootPassword;