servo: remove users.nix; move autologinUser -> default.nix

This commit is contained in:
colin 2023-01-20 22:16:47 +00:00
parent 2f75925678
commit 4da19a6d34
2 changed files with 4 additions and 9 deletions

View File

@ -4,7 +4,6 @@
imports = [
./fs.nix
./net.nix
./users.nix
./secrets.nix
./services
];
@ -21,6 +20,10 @@
sane.services.wg-home.ip = config.sane.hosts.by-name."servo".wg-home.ip;
# sane.services.duplicity.enable = true; # TODO: re-enable after HW upgrade
# automatically log in at the virtual consoles.
# using root here makes sure we always have an escape hatch
services.getty.autologinUser = "root";
boot.loader.efi.canTouchEfiVariables = false;
sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];

View File

@ -1,8 +0,0 @@
{ config, ... }:
# installer docs: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/installation-device.nix
{
# automatically log in at the virtual consoles.
# using root here makes sure we always have an escape hatch
services.getty.autologinUser = "root";
}