diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-18 16:08:50 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-18 16:08:50 +0200 |
commit | 9fe7c14b338544564c4513eb3a63635c431db34d (patch) | |
tree | 52f7f98508d5df2d0aa737b074d7196177789045 | |
parent | Renamed custom.xwinwrapr package to custom.xwinwrap (diff) | |
download | nixos-config-9fe7c14b338544564c4513eb3a63635c431db34d.tar.gz nixos-config-9fe7c14b338544564c4513eb3a63635c431db34d.tar.bz2 nixos-config-9fe7c14b338544564c4513eb3a63635c431db34d.zip |
Added default password for user
-rw-r--r-- | hosts/configuration.nix | 2 | ||||
-rw-r--r-- | secrets/default.nix | bin | 72 -> 210 bytes |
2 files changed, 2 insertions, 0 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index ae90b8b..bf4ca14 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -37,10 +37,12 @@ # Enable CUPS to print documents. # services.printing.enable = true; + users.mutableUsers = false; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.baitinq = { isNormalUser = true; extraGroups = [ "wheel" "audio" "video" ]; # Enable ‘sudo’ for the user. + hashedPassword = secrets.baitinq_hashed_password; }; environment.variables = { diff --git a/secrets/default.nix b/secrets/default.nix index b71411f..b1865a4 100644 --- a/secrets/default.nix +++ b/secrets/default.nix Binary files differ |