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 | |
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
-rw-r--r-- | hosts/configuration.nix | 2 | ||||
-rw-r--r-- | secrets/default.nix | bin | 210 -> 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 |