2021-01-11 00:30:08 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
2020-11-27 20:56:20 +00:00
|
|
|
|
|
|
|
{
|
2021-02-11 18:59:10 +00:00
|
|
|
|
2020-11-27 20:56:20 +00:00
|
|
|
users.users = {
|
|
|
|
root = {
|
|
|
|
openssh.authorizedKeys.keys = with pkgs.lib; concatLists (mapAttrsToList (name: user: if elem "wheel" user.extraGroups then user.openssh.authorizedKeys.keys else []) config.users.users);
|
|
|
|
};
|
|
|
|
|
2021-02-11 18:59:10 +00:00
|
|
|
# all the actual config is imported from hexchen's nixfiles
|
2021-03-26 20:54:16 +00:00
|
|
|
hexchen = {
|
|
|
|
uid = lib.mkForce 1000;
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" ];
|
2022-11-10 20:31:33 +00:00
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINJ0tCxsEilAzV6LaNpUpcjzyEn4ptw8kFz3R+Z3YjEF hexchen@backup"
|
|
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDI3T1eFS77URHZ/HVWkMOqx7W1U54zJtn9C7QWsHOtyH72i/4EVj8SxYqLllElh1kuKUXSUipPeEzVsipFVvfH0wEuTDgFffiSQ3a8lfUgdEBuoySwceEoPgc5deapkOmiDIDeeWlrRe3nqspLRrSWU1DirMxoFPbwqJXRvpl6qJPxRg+2IolDcXlZ6yxB4Vv48vzRfVzZNUz7Pjmy2ebU8PbDoFWL/S3m7yOzQpv3L7KYBz7+rkjuF3AU2vy6CAfIySkVpspZZLtkTGCIJF228ev0e8NvhuN6ZnjzXxVTQOy32HCdPdbBbicu0uHfZ5O7JX9DjGd8kk1r2dnZwwy/ hexchen@yubi5"
|
|
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4CLJ+mFfq5XiBXROKewmN9WYmj+79bj/AoaR6Iud2pirulot3tkrrLe2cMjiNWFX8CGVqrsAELKUA8EyUTJfStlcTE0/QNESTRmdDaC+lZL41pWUO9KOiD6/0axAhHXrSJ0ScvbqtD0CtpnCKKxtuOflVPoUGZsH9cLKJNRKfEka0H0GgeKb5Tp618R/WNAQOwaCcXzg/nG4Bgv3gJW4Nm9IKy/MwRZqtILi8Mtd+2diTqpMwyNRmbenmRHCQ1vRw46joYkledVqrmSlfSMFgIHI1zRSBXb/JkG2IvIyB5TGbTkC4N2fqJNpH8wnCKuOvs46xmgdiRA26P48C2em3 hexchen@yubi5c"
|
|
|
|
];
|
2021-03-26 20:54:16 +00:00
|
|
|
};
|
2021-02-11 18:59:10 +00:00
|
|
|
|
2020-11-27 20:56:20 +00:00
|
|
|
stuebinm = {
|
2020-11-29 01:42:01 +00:00
|
|
|
uid = 1005;
|
2020-11-27 20:56:20 +00:00
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" ];
|
2022-11-25 23:08:38 +00:00
|
|
|
shell = pkgs.fish;
|
2020-11-27 20:56:20 +00:00
|
|
|
openssh.authorizedKeys.keys = [
|
2023-01-10 18:20:47 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG7J3peZGB4XGJKI1dV5PdpQS+TzmoJ7qL//ipCG7G5K stuebinm@surltesh-echer"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKPB74xA2GBXnDwPEEaxWLONdQyBwjDoJHYagKRQXwO2 stuebinm@abbenay"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8e9WrHsknoFwBm/YaigOSz9VI8dXRRR5G9BX4kKt9/ stuebinm@ilex"
|
2020-11-27 20:56:20 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
octycs = {
|
|
|
|
uid = 1002;
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
openssh.authorizedKeys.keys = [
|
2023-05-03 22:40:44 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIQqFXSlqW+D4ZtVdCiN9IT461iwyqy2taBRD3qkvXqn m@octycs.eu"
|
2020-11-27 20:56:20 +00:00
|
|
|
];
|
|
|
|
hashedPassword = "$6$qQEbD8Ejx/y$6/nkX8CmFBtAlUP/UbFKVMVlA.ZvVbjQZRABqXQjU11tKpY25ww.MCGGMEKFv.7I/UH/126/q0S3ROTqePUEc.";
|
|
|
|
};
|
|
|
|
|
|
|
|
zauberberg = {
|
|
|
|
uid = 1003;
|
|
|
|
isNormalUser = true;
|
2020-11-30 18:27:51 +00:00
|
|
|
extraGroups = [ "wheel" "cdrom" ];
|
2020-11-27 20:56:20 +00:00
|
|
|
openssh.authorizedKeys.keys = [
|
2023-05-03 20:16:36 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOfxXSy22k2EZwz1EtvIMwQKGWsswEBeLn5ClhuiI4Ma lukas@Conway.lan"
|
2020-11-27 20:56:20 +00:00
|
|
|
];
|
2020-11-28 00:15:49 +00:00
|
|
|
packages = with pkgs; [ ffmpeg ];
|
2020-11-27 20:56:20 +00:00
|
|
|
};
|
|
|
|
|
2022-09-12 17:05:32 +00:00
|
|
|
moira = {
|
2020-11-27 20:56:20 +00:00
|
|
|
uid = 1004;
|
2021-03-12 11:28:26 +00:00
|
|
|
shell = pkgs.fish;
|
2020-11-27 20:56:20 +00:00
|
|
|
isNormalUser = true;
|
2020-11-30 18:27:51 +00:00
|
|
|
extraGroups = [ "wheel" "cdrom" ];
|
2020-11-27 20:56:20 +00:00
|
|
|
openssh.authorizedKeys.keys = [
|
2022-09-12 17:05:32 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJrcJRF71+XM5YZj+SaSiGcdVZ0IDxGBXIWssDtHiTtr moira_2022_06"
|
2023-02-23 16:24:48 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINUa7NLrRqQ3j4KSGIw0vSvLMTO0gSZeCypQnJ/Viqm8 openpgp:0xBE0BE8A3"
|
2020-11-27 20:56:20 +00:00
|
|
|
];
|
|
|
|
hashedPassword = "$6$zkAsaVdmIduqZxez$GY9aBlYeP41F0it/VbbZzLLLRQhHAbDdFsa3e/1GS9McTuSimMHODg6HqNVEH1zSqD3afhK/0UHfqbtF5qpi90";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|