nixbld: remove hkadmin

This commit is contained in:
Sebastien Bourdeauducq 2021-11-22 12:19:00 +08:00
parent ae6915ab44
commit f5ff63b74b

View File

@ -253,10 +253,9 @@ in
hardware.sane.enable = true;
hardware.sane.extraBackends = [ pkgs.hplipWithPlugin ];
users.extraGroups.hkadmin = { };
users.extraUsers.sb = {
isNormalUser = true;
extraGroups = ["wheel" "hkadmin" "lp" "scanner"];
extraGroups = ["wheel" "lp" "scanner"];
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyPk5WyFoWSvF4ozehxcVBoZ+UHgrI7VW/OoQfFFwIQe0qvetUZBMZwR2FwkLPAMZV8zz1v4EfncudEkVghy4P+/YVLlDjqDq9zwZnh8Nd/ifu84wmcNWHT2UcqnhjniCdshL8a44memzABnxfLLv+sXhP2x32cJAamo5y6fukr2qLp2jbXzR+3sv3klE0ruUXis/BR1lLqNJEYP8jB6fLn2sLKinnZPfn6DwVOk10mGeQsdME/eGl3phpjhODH9JW5V2V5nJBbC0rBnq+78dyArKVqjPSmIcSy72DEIpTctnMEN1W34BGrnsDd5Xd/DKxKxHKTMCHtZRwLC2X0NWN"
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCMALVC8RDTHec+PC8y1s3tcpUAODgq6DEzQdHDf/cyvDMfmCaPiMxfIdmkns5lMa03hymIfSmLUF0jFFDc7biRp7uf9AAXNsrTmplHii0l0McuOOZGlSdZM4eL817P7UwJqFMxJyFXDjkubhQiX6kp25Kfuj/zLnupRCaiDvE7ho/xay6Jrv0XLz935TPDwkc7W1asLIvsZLheB+sRz9SMOb9gtrvk5WXZl5JTOFOLu+JaRwQLHL/xdcHJTOod7tqHYfpoC5JHrEwKzbhTOwxZBQBfTQjQktKENQtBxXHTe71rUEWfEZQGg60/BC4BrRmh4qJjlJu3v4VIhC7SSHn1"
@ -272,13 +271,7 @@ in
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyPk5WyFoWSvF4ozehxcVBoZ+UHgrI7VW/OoQfFFwIQe0qvetUZBMZwR2FwkLPAMZV8zz1v4EfncudEkVghy4P+/YVLlDjqDq9zwZnh8Nd/ifu84wmcNWHT2UcqnhjniCdshL8a44memzABnxfLLv+sXhP2x32cJAamo5y6fukr2qLp2jbXzR+3sv3klE0ruUXis/BR1lLqNJEYP8jB6fLn2sLKinnZPfn6DwVOk10mGeQsdME/eGl3phpjhODH9JW5V2V5nJBbC0rBnq+78dyArKVqjPSmIcSy72DEIpTctnMEN1W34BGrnsDd5Xd/DKxKxHKTMCHtZRwLC2X0NWN"
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCMALVC8RDTHec+PC8y1s3tcpUAODgq6DEzQdHDf/cyvDMfmCaPiMxfIdmkns5lMa03hymIfSmLUF0jFFDc7biRp7uf9AAXNsrTmplHii0l0McuOOZGlSdZM4eL817P7UwJqFMxJyFXDjkubhQiX6kp25Kfuj/zLnupRCaiDvE7ho/xay6Jrv0XLz935TPDwkc7W1asLIvsZLheB+sRz9SMOb9gtrvk5WXZl5JTOFOLu+JaRwQLHL/xdcHJTOod7tqHYfpoC5JHrEwKzbhTOwxZBQBfTQjQktKENQtBxXHTe71rUEWfEZQGg60/BC4BrRmh4qJjlJu3v4VIhC7SSHn1"
];
};
users.extraUsers.harry = {
isNormalUser = true;
extraGroups = ["hkadmin" "lp" "scanner"];
openssh.authorizedKeys.keys = [
"ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBDcPNCgtdz8erFPRrAwCr4JrkeYXJUUvoRBgP0X2HlzJgDe1Inuo6sC6CGcO3IXbf4MwVA9XEp8BYPHARVeEHhufg/0wnIABLx2GcK99yxOLDUe4h/3YwtqvOcqHEsDx7w=="
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQClMksJcVmUBeVbrnP2DceROvhpOpk7O3Ph6HpOwtL20Vimcr2mdWP+9oI3qcW34vDR6PWp/ZaaQga9F/sqWk2EsQilk6oZgiSr9VDts381H4SH0fqtXGpWaeM7/wNbFbNUff/ZNq0ZVKww2EFzffwjKzeKRtc9De1ABHY35AP/j2vHGTuqhdnePZDY8G+zGliS8uW2EXMKi6AVdk54FjlpW9KpcZxvKHCULvsLn+Gyw8d2bxu3BcpAjddDFHTXw+fW1hqavaYoHfs3C1vrq+bJwmxKv5bXfEmEK4y0uMn8RE6t0t32qtyqIiPF8TRBseEoe0jW2JEUEgCQzb2kK4KogWDSO+aV6dMIjRdFacOSKdjI41G96LaBtwHfd3/TOt5PJH6syl/J3BxEWRpQS9PFjDtgV87t0KKmiE6dqRJoVLl+acJj8FGPi2lZ+p5TFFCmgu9qag6Kh8bx+JErKZokHbB0obrSPxDjhZ5qsk1tpIEzWVzDowilgiv5ppdPI+M= backupdl@minipc"
];
};
users.extraUsers.occheung = {