{ lib, ... }: with lib; let home = "/home/${my.username}"; in { imports = [ (mkAliasOptionModule [ "my" ] [ "users" "users" my.username ] ) ]; ark.directories = [ home ]; users = { mutableUsers = false; users = { root = { hashedPassword = null; password = null; }; ${my.username} = { isNormalUser = true; uid = 1000; description = my.fullname; inherit home; inherit (my) hashedPassword; openssh.authorizedKeys.keys = [ my.ssh.key ]; extraGroups = [ "wheel" ]; }; }; }; }