From 8ed3dfc9ebc52a50c3e6d4623204847822944422 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Feb 2022 13:47:59 -0800 Subject: move configurations and modules around Sorry, this is a mess, hopefully the last one. --- modules/systems/users.nix | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 modules/systems/users.nix (limited to 'modules/systems/users.nix') diff --git a/modules/systems/users.nix b/modules/systems/users.nix deleted file mode 100644 index 2b769c4..0000000 --- a/modules/systems/users.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, pkgs, ... }: - -rec { - users.mutableUsers = false; - - users.groups.fcuny = { gid = 1000; }; - users.users.fcuny = { - isNormalUser = true; - uid = 1000; - group = "fcuny"; - home = "/home/fcuny"; - shell = pkgs.zsh; - extraGroups = [ "users" "wheel" ]; - hashedPassword = "$6$i.z1brxtb44JAEco$fDD2Izl.zRR9vBCB2VBKPScChGw38EEl7QEiBTJ/EwgP3oSL0X3ZHq0PJ.RtqzBsWTPUjl4F3MKOBMhnaAPr6."; - openssh.authorizedKeys.keys = [ - # aptops (laptop) - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC1rWKrdSHxlAZnRv1F5jUsHgXSNmr1KzllWEn+JqA7p3zxmSEPBbfIUGxSzkFIQrSbKizJLdH6hGA8DcIm+e+ldQ2RYOdiYBxIkPm+aHB6dw7QGNbnSSdkr9gKThy65j0YOOcmuDExjqxfq6O/8AVstmPH36sUXEIks5F/+WiF+5ehzoJVFqClB1di6w1lml86d0ShrUacgM/ieFPe1vKrzW8ZOM+LaUoGWBTLla1y6UkIqnb7OinmgPu6QAzF6GA7tYJMoHkyV7Axzc2j1/VxVIrUrfY4b0k8lGAzi2GfByq+fXEHzePbaqi8Cy8Trn9eN/ls1WBMUQfSChQi3tM2Vx2BuiOpx/QkXsdgqwe7bTCijcQS7GoREL1qd8tR9sWWd4WMPUiC9kmzvyja5F39xHPgm0A5MtYY7GvQaUPbtBc6g8YuFLLnkqFVEKHSLFiGYP5jIDNvMd5rSSsBUrepCIzWdpprwnKxAjebw5Cyl5p/0MY2zppQRW7AZXehQa7Bv+OClbutEjBa+ioeUxBhezu2rB61XSenTbbUVB5DncD8ceD5AbL9aFz/Bcw6q0kAOGmR1G1MOLgxVHlqcnI5x0E1K2WMKWgQb+1BMek1p5+l3xWNDF4URhLqLupnP5CMrK9ifBOe/76zqyMVrA/mc6tNC58KHhME1IynC1zaLw== franck@fcuny.net" - ]; - }; - - users.users.root = { - hashedPassword = null; - openssh.authorizedKeys.keys = users.users.fcuny.openssh.authorizedKeys.keys; - }; -} -- cgit 1.4.1