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:
parent
128039217e
commit
f4b5cd9f3f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue