default to root for autologin in nixos kexec image
This commit is contained in:
parent
23f987d2af
commit
b81c6e0ace
1 changed files with 4 additions and 0 deletions
|
@ -36,10 +36,14 @@
|
|||
users.users.nixos = {
|
||||
isSystemUser = true;
|
||||
isNormalUser = lib.mkForce false;
|
||||
shell = "/run/current-system/sw/bin/bash";
|
||||
group = "nixos";
|
||||
};
|
||||
users.groups.nixos = {};
|
||||
|
||||
# we prefer root as this is also what we use in nixos-anywhere
|
||||
services.getty.autologinUser = lib.mkForce "root";
|
||||
|
||||
# we are missing this from base.nix
|
||||
boot.supportedFilesystems = [
|
||||
"btrfs"
|
||||
|
|
Loading…
Reference in a new issue