feat(users): add coded

Change-Id: I8522f902ad5011c57c523ac002799921cf72751c
Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/721
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/nixos/clicks/users/coded/default.nix b/modules/nixos/clicks/users/coded/default.nix
new file mode 100644
index 0000000..41bdab8
--- /dev/null
+++ b/modules/nixos/clicks/users/coded/default.nix
@@ -0,0 +1,30 @@
+# SPDX-FileCopyrightText: 2024 Clicks Codes
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
+{ lib, config, ... }:
+{
+  options = {
+    clicks.users.coded.enable = lib.mkOption {
+      type = lib.types.bool;
+      default = true;
+    };
+  };
+
+  config = lib.mkIf config.clicks.users.coded.enable {
+    nix.settings.trusted-users = [ "coded" ];
+    clicks.users.deployers = [ "coded" ];
+
+    users.users.coded = {
+      isNormalUser = true;
+      group = "coded";
+
+      openssh.authorizedKeys.keys = [
+        "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILrwKN4dJQ0BiLmjsA/66QHhu06+JyokWtHkLcjhWU79AAAABHNzaDo= coded@5CNFC"
+        "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOMSUqXuH1bQZJc9rLV0H7/UY0c2BlkzAKWkwrXFWbQ7AAAABHNzaDo= coded@5CNano"
+      ];
+    };
+
+    users.groups.coded = { };
+  };
+}