users: add worldofpeace
This commit is contained in:
parent
2297a6d715
commit
3fde37ec15
1 changed files with 24 additions and 0 deletions
24
users/worldofpeace.nix
Normal file
24
users/worldofpeace.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
userLib = import ./lib.nix { inherit lib; };
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHGEkPcumvhBjIZ44tnhN6+hZR8vsCSLD4r1dFzlnXA4 Nix Community - worldofpeace"
|
||||
];
|
||||
|
||||
in {
|
||||
users.users.worldofpeace = {
|
||||
openssh.authorizedKeys.keys = keys;
|
||||
useDefaultShell = true;
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
];
|
||||
uid = userLib.mkUid "wope";
|
||||
};
|
||||
|
||||
nix.trustedUsers = [
|
||||
"worldofpeace"
|
||||
];
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue