1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

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;