aboutsummaryrefslogtreecommitdiff
path: root/hosts/vps
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-30 16:49:29 +0200
committerschererleander <leander@schererleander.de>2025-05-30 16:49:29 +0200
commitd9f2c4310c0dbfb0868dab9192234d09c2b0a258 (patch)
treeb1f055faeee6c9d6b32c3c185b075a86fbf46e89 /hosts/vps
parentb7dc106f99b455b6502fd5f6d1e51514e9a7e029 (diff)
disable root
Diffstat (limited to 'hosts/vps')
-rw-r--r--hosts/vps/configuration.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix
index ca4802e..84cf795 100644
--- a/hosts/vps/configuration.nix
+++ b/hosts/vps/configuration.nix
@@ -15,6 +15,8 @@
wheelNeedsPassword = false;
};
+ users.users.root.hashedPassword = "!";
+ users.mutableUsers = false;
users.users.administrator = {
isNormalUser = true;
hashedPassword = "$6$KBblJguEyfEmuWnU$Xf0QqPVacA2qvnzZRpnSE2cmh0kNnMgtVhCrMEDI76buNzuzkuDY6EnO7jPjQlEnoczx6ZPAl2pK.SxezbVa..";
@@ -30,6 +32,7 @@
gnutar
gzip
neovim
+ htop
];
services.openssh = {