fix: NixOS | add initialPassword for user
This commit is contained in:
@@ -15,12 +15,12 @@ in {
|
|||||||
boot = {
|
boot = {
|
||||||
loader = {
|
loader = {
|
||||||
# Set this to true on first install. This must be false for secure boot.
|
# Set this to true on first install. This must be false for secure boot.
|
||||||
systemd-boot.enable = lib.mkForce false;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
enable = true;
|
enable = false;
|
||||||
pkiBundle = "/var/lib/sbctl";
|
pkiBundle = "/var/lib/sbctl";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -129,7 +129,7 @@ in {
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Shahab Dogar";
|
description = "Shahab Dogar";
|
||||||
extraGroups = ["networkmanager" "wheel" "input" "libvirtd"];
|
extraGroups = ["networkmanager" "wheel" "input" "libvirtd"];
|
||||||
initialHashedPassword = "$y$j9T$jSC0CJxh6O.Q3TEOVZR8l.$7kFf9u4Lh.aIH6o/15wFLW7OKPzoUEpWVN5B9wHEaw4";
|
initialPassword = "tempPass";
|
||||||
hashedPasswordFile = config.sops.secrets."user_passwords/shahab".path;
|
hashedPasswordFile = config.sops.secrets."user_passwords/shahab".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user