about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-07 19:32:13 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-07 19:32:13 -0800
commit74a8dd159702c446eb245ab657f553a8a4565f1f (patch)
tree0d5cff5e5484bd6e809558f73bb6ba8f06b0ead8 /users
parentcarmel: initial host configuration (diff)
downloadworld-74a8dd159702c446eb245ab657f553a8a4565f1f.tar.gz
users: initial configuration for my user
Diffstat (limited to '')
-rw-r--r--users/fcuny/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
new file mode 100644
index 0000000..12d7468
--- /dev/null
+++ b/users/fcuny/default.nix
@@ -0,0 +1,19 @@
+{ pkgs, ... }:
+
+let
+  keys = [
+    # aptos (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"
+  ];
+in
+
+{
+  users.users.fcuny = {
+    isNormalUser = true;
+    home = "/home/fcuny";
+    extraGroups = [ "wheel" ];
+    shell = pkgs.zsh;
+    hashedPassword = "$6$i.z1brxtb44JAEco$fDD2Izl.zRR9vBCB2VBKPScChGw38EEl7QEiBTJ/EwgP3oSL0X3ZHq0PJ.RtqzBsWTPUjl4F3MKOBMhnaAPr6.";
+    openssh.authorizedKeys.keys = keys;
+  };
+}