From 8a0ebe761e5de4fb90a995ff6a3be6d9ecfe1c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eirik=20Witters=C3=B8?= Date: Sun, 10 Dec 2023 02:00:18 +0100 Subject: [PATCH] Add user eirikwit --- users/eirikwit.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 users/eirikwit.nix diff --git a/users/eirikwit.nix b/users/eirikwit.nix new file mode 100644 index 0000000..5f52067 --- /dev/null +++ b/users/eirikwit.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: +{ + users.users.eirikwit = { + isNormalUser = true; + extraGroups = [ + "wheel" + "drift" + ]; + + packages = with pkgs; [ + micro + ]; + + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGZusOSiUVSMjrvNdUq4R91Gafq4XVs9C77Zt+LMPhCU eirikw@live.no" + ]; + }; +}