Merge pull request #4 from ryantm/nixpkgs-update
Add ryantm user and some bot secrets
This commit is contained in:
commit
51257488aa
6 changed files with 25 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
../users/adisbladis.nix
|
../users/adisbladis.nix
|
||||||
../users/zimbatm.nix
|
../users/zimbatm.nix
|
||||||
|
../users/ryantm.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# /boot is a mirror raid
|
# /boot is a mirror raid
|
||||||
|
|
Binary file not shown.
BIN
secrets/github-r-ryantm-key
Normal file
BIN
secrets/github-r-ryantm-key
Normal file
Binary file not shown.
BIN
secrets/github-r-ryantm-key.pub
Normal file
BIN
secrets/github-r-ryantm-key.pub
Normal file
Binary file not shown.
BIN
secrets/github-r-ryantm-token
Normal file
BIN
secrets/github-r-ryantm-token
Normal file
Binary file not shown.
24
users/ryantm.nix
Normal file
24
users/ryantm.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
userLib = import ./lib.nix { inherit lib; };
|
||||||
|
keys = [
|
||||||
|
"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA5KESKmapziCEd05LPnW1Ib+t5N18aZ8nzeVSZ3w79vGZHacgwKrGAQkQ1JbEFsm1aXQ4LR27l7Y5MM+auf0YZdGjtAiSsV/G/mjBP95HsuFTE1NSsXisdyKBkJ1g8TUfNOq2gsFyUVCeLMz4fC/ZYxdfBRpPnA6lCblWPmwLAaKTuI7afLv9UGN36/lFKReFzLpMfjYu/HAOYglRuQr8UcYvuysfDKwHImZYdZbzId2pg52nntSAiRgavjt2StiXVQz8zrCtvkguAkG6R8ZSPDyIJ0gLPNLxryIVLPscRbmH0usr3ipemOEplIsiNwp9pW2AQj0jZMBA55T75jxW2Q== ryantm-personal"
|
||||||
|
];
|
||||||
|
|
||||||
|
in {
|
||||||
|
users.users.ryantm = {
|
||||||
|
openssh.authorizedKeys.keys = keys;
|
||||||
|
useDefaultShell = true;
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
];
|
||||||
|
uid = userLib.mkUid "rytm";
|
||||||
|
};
|
||||||
|
|
||||||
|
nix.trustedUsers = [
|
||||||
|
"ryantm"
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue