about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-18 16:52:31 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-18 16:52:31 +0200
commitc0bf8e658802f217e19e00ab33518e3dcbac2728 (patch)
tree4b80cbc478eea639777bd162d272bdc53fe3a64d
parentMoved .config files to xdg.configFile (diff)
downloadnixos-config-c0bf8e658802f217e19e00ab33518e3dcbac2728.tar.gz
nixos-config-c0bf8e658802f217e19e00ab33518e3dcbac2728.tar.bz2
nixos-config-c0bf8e658802f217e19e00ab33518e3dcbac2728.zip
Added default password for root
-rw-r--r--hosts/configuration.nix2
-rw-r--r--secrets/default.nixbin210 -> 345 bytes
2 files changed, 2 insertions, 0 deletions
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
--- a/secrets/default.nix
+++ b/secrets/default.nix
Binary files differ