desktop: add astro user

This commit is contained in:
Sebastien Bourdeauducq 2020-03-31 14:11:58 +08:00
parent bad4c09735
commit 49f5af3eca

View File

@ -82,6 +82,11 @@
isNormalUser = true; isNormalUser = true;
extraGroups = ["plugdev" "dialout" "wireshark"]; extraGroups = ["plugdev" "dialout" "wireshark"];
}; };
users.extraUsers.astro = {
isNormalUser = true;
extraGroups = ["plugdev" "dialout" "wireshark"];
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJJTSJdpDh82486uPiMhhyhnci4tScp5uUe7156MBC8 a"];
};
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
services.udev.packages = [ pkgs.openocd pkgs.hackrf ]; services.udev.packages = [ pkgs.openocd pkgs.hackrf ];
services.udev.extraRules = '' services.udev.extraRules = ''