From a95d49e42db5827d60d17343a12469d66b4d77b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Wa=C3=9Fmuth?= Date: Sat, 23 Jul 2022 20:48:31 +0200 Subject: [PATCH] Add user fw --- users/fw/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 users/fw/default.nix diff --git a/users/fw/default.nix b/users/fw/default.nix new file mode 100644 index 0000000..5e7cfc0 --- /dev/null +++ b/users/fw/default.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: + +{ + users.users.fw = { + isNormalUser = true; + shell = pkgs.bash; + packages = with pkgs; [ dnsutils git htop jq moreutils nettools nmap tshark tree ]; + hashedPassword = "$6$034hbg0r8vbwbgg$m8t1HcsnxCruOUqG0EEO1EWHpttMIYSSY2tSeMZEsaQlOY3XgYruC9RftFBfhf9fDPUaNXXmvgdsz.tu1DdKw0"; + extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAe4BaMl3YEHPgO8Rh04UgNaTKqmdo+2fASty4LggJJe fw" + ]; + }; +}