summaryrefslogtreecommitdiff
path: root/modules/server/users.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/server/users.nix')
-rw-r--r--modules/server/users.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/server/users.nix b/modules/server/users.nix
new file mode 100644
index 0000000..338b510
--- /dev/null
+++ b/modules/server/users.nix
@@ -0,0 +1,10 @@
+{ secrets, ... }:
+{
+ users.users.root = {
+ initialHashedPassword = secrets.initial_hashed_password;
+
+ openssh.authorizedKeys.keys = [
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBm/ydlGJiKWMxH6v9SFN3vo/ZkX6eQ+uCmH32gnCkUW"
+ ];
+ };
+}