From c0bf8e658802f217e19e00ab33518e3dcbac2728 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 18 Jun 2022 16:52:31 +0200 Subject: Added default password for root --- hosts/configuration.nix | 2 ++ secrets/default.nix | Bin 210 -> 345 bytes 2 files changed, 2 insertions(+) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index bf4ca14..ad64f06 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -38,6 +38,8 @@ # services.printing.enable = true; users.mutableUsers = false; + + users.users.root.hashedPassword = secrets.root_hashed_password; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.baitinq = { isNormalUser = true; diff --git a/secrets/default.nix b/secrets/default.nix index b1865a4..f814874 100644 Binary files a/secrets/default.nix and b/secrets/default.nix differ -- cgit 1.4.1