From 8ea52d045ad30dc14bfec9f78b320115354e09a8 Mon Sep 17 00:00:00 2001 From: Matthieu Morin Date: Mon, 10 Jun 2024 18:18:38 +0000 Subject: [PATCH] hashedpassw --- configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 4c4b6b9..7359ed1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -127,13 +127,15 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.laozi = { isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "networkmanager" ]; # Enable ‘sudo’ for the user. packages = with pkgs; [ firefox tree ]; + hashedPassword = "$6$gqmjBcKTV.mEEFHT$00sEfU1PmYpteavq3ihu5GfxWjnG3wKB56TlyhC3f/XTDg2W/SGH1d78eNRdazHR0/5wiCJmHRNgRaRAP1mpP/"; }; - # List packages installed in system profile. To search, run: + users.mutableUsers = false; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.