summaryrefslogtreecommitdiffstats
path: root/modules/mkdir/users.nix
blob: 82f078b4e50363514748b600d0f2a44eb498b858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ ... }:

let
  inherit (builtins) readFile;
in

{
  users.extraUsers =
    {
      root = {
        openssh.authorizedKeys.keys = [
          (readFile <pubkeys/deploy_wu.ssh.pub>)
          (readFile <pubkeys/tv_wu.ssh.pub>)
        ];
      };
    };

  users.mutableUsers = false;
}