add initialHashedPassword for user to allow sudo access
This commit is contained in:
parent
c93aba6c27
commit
a587e8b0f6
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
./disk-config.nix
|
||||
];
|
||||
|
||||
# Enable flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
@ -57,6 +60,7 @@
|
|||
users.users.blue = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
initialHashedPassword = "$y$j9T$TbW09JXLRpNJ924xc5JEf1$YNroqf2T7AUnVzKi933eLRUp/0Bez8itOeMYsLw9g3A";
|
||||
packages = with pkgs; [
|
||||
neovim
|
||||
tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue