users: add worldofpeace

This commit is contained in:
worldofpeace 2020-01-10 10:55:28 -05:00
parent 2297a6d715
commit 3fde37ec15

24
users/worldofpeace.nix Normal file
View 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"
];
}