blob: 400bf3380d40502e3ebf19b4a22d409bcdc24162 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{lib, ...}:
with lib; {
# TODO Enable on a fresh system.
# ark.directories = [config.my.home];
users = {
mutableUsers = false;
users = {
root.hashedPassword = "@HASHED_PASSWORD@";
${my.username} = {
isNormalUser = true;
uid = 1000;
description = my.fullname;
inherit (my) hashedPassword;
openssh.authorizedKeys.keys = [my.ssh.key];
extraGroups = ["wheel"];
};
};
};
}
|