diff --git a/nix/noninteractive.nix b/nix/noninteractive.nix index 2e2d888..ee87048 100644 --- a/nix/noninteractive.nix +++ b/nix/noninteractive.nix @@ -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"