]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet/users.nix
nix: remove old comment
[sourcephile-nix.git] / servers / mermet / users.nix
1 { pkgs, lib, config, ... }:
2 let
3 inherit (builtins.extraBuiltins) pass-chomp;
4 inherit (config.users) users;
5 in
6 {
7 imports = [
8 ../../members/julm.nix
9 ];
10
11 nix.trustedUsers = [
12 users."julm".name
13 ];
14
15 users = {
16 mutableUsers = false;
17 users = {
18 root = {
19 openssh.authorizedKeys.keys =
20 users."julm".openssh.authorizedKeys.keys;
21 };
22 julm = {
23 hashedPassword = pass-chomp "servers/mermet/login/julm/hashedPassword";
24 };
25 };
26 groups = {
27 wheel = {
28 members = [
29 users."julm".name
30 ];
31 };
32 };
33 };
34 }