Skip to content

Commit 670ede6

Browse files
authored
feat: add more users to nixos host
1 parent 604b850 commit 670ede6

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

hosts/nixos/default.nix

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,20 @@ in {
1111
];
1212

1313
users.users = {
14-
root.openssh.authorizedKeys.keys = sshKeys;
14+
root = {
15+
hashedPassword = "$y$j9T$KAIygNaHsr4EgJcn2Jto.1$9gK08qEPSw/Fll//2TCe5ijYIqavtnvoundIux8Uy5/";
16+
openssh.authorizedKeys.keys = sshKeys;
17+
};
18+
19+
c0d3h01 = {
20+
home = "/home/c0d3h01";
21+
hashedPassword = "$y$j9T$jbMpDi1jashn36Vczb8jO/$E8M0edjvWOZg24Su5bFWaQ5tHcPkwyQ8HdzkAMx0km7";
22+
openssh.authorizedKeys.keys = sshKeys;
23+
};
1524

1625
anon = {
1726
home = "/home/anon";
18-
hashedPassword = "$y$j9T$jbMpDi1jashn36Vczb8jO/$E8M0edjvWOZg24Su5bFWaQ5tHcPkwyQ8HdzkAMx0km7";
27+
hashedPassword = "$y$j9T$IKXrH64o2Ni7mqraKV6ke/$3FtfHxmcWPIKaziQ40uzjdyMeFBZsDRWGmAeq9KbBb2";
1928
openssh.authorizedKeys.keys = sshKeys;
2029
};
2130
};

0 commit comments

Comments
 (0)