users: add richard
This commit is contained in:
parent
0d0b3e2d2d
commit
bae6a97842
6
common/users/default.nix
Normal file
6
common/users/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./qenya.nix
|
||||
./richard.nix
|
||||
];
|
||||
}
|
12
common/users/richard.nix
Normal file
12
common/users/richard.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let keys = import ../../keys.nix;
|
||||
in
|
||||
{
|
||||
users.users.richard = {
|
||||
isNormalUser = true;
|
||||
home = "/home/richard";
|
||||
openssh.authorizedKeys.keys = keys.users.richard;
|
||||
uid = 1002;
|
||||
};
|
||||
}
|
2
hive.nix
2
hive.nix
|
@ -28,7 +28,7 @@ in {
|
|||
./common/ssh.nix
|
||||
./common/sudo.nix
|
||||
./common/utilities.nix
|
||||
./common/users/qenya.nix
|
||||
./common/users
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue