diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-18 16:52:31 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-18 16:52:31 +0200 |
commit | c0bf8e658802f217e19e00ab33518e3dcbac2728 (patch) | |
tree | 4b80cbc478eea639777bd162d272bdc53fe3a64d /hosts/configuration.nix | |
parent | Moved .config files to xdg.configFile (diff) | |
download | nixos-config-c0bf8e658802f217e19e00ab33518e3dcbac2728.tar.gz nixos-config-c0bf8e658802f217e19e00ab33518e3dcbac2728.tar.bz2 nixos-config-c0bf8e658802f217e19e00ab33518e3dcbac2728.zip |
Added default password for root
Diffstat (limited to 'hosts/configuration.nix')
-rw-r--r-- | hosts/configuration.nix | 2 |
1 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; |