From 7f0e3044788bf8e07414c3218425bc52a7afb037 Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Wed, 1 May 2024 18:28:19 -0700 Subject: [PATCH] default root shadow shell --- modules/user.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/user.nix b/modules/user.nix index 970ac2d..03170be 100644 --- a/modules/user.nix +++ b/modules/user.nix @@ -33,5 +33,11 @@ with lib.my; trusted-users = users; allowed-users = users; }; + + users.users.root = { + packages = [ pkgs.shadow ]; + shell = pkgs.shadow; + hashedPassword = "!"; + }; }; }