{ pkgs, config, lib, minimal, ... }: { users.users.root = { shell = pkgs.zsh; openssh.authorizedKeys.keys = [ # Patrick "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZixkix0KfKuq7Q19whS5FQQg51/AJGB5BiNF/7h/LM" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ" # Simon old yubikey "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFmees72GMKG/rsQQRhs2I/lQnJa0uW5KmZlNBeriCh0" ]; hashedPassword = config.secrets.secrets.global.users.root.passwordHash; }; home-manager.users.root.imports = lib.lists.optionals (!minimal) [ ../common ]; }