hardcoded default password for my users + mutable users so i can change it later

This commit is contained in:
Sebastian Moser
2023-10-31 20:40:09 +01:00
parent c9240424b0
commit 897bf602e7
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
# set root user pwd # set root user pwd
users.users.root.passwordFile = "${secretsDir}/root-pwd"; users.users.root.password = "changeme";
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Vienna"; time.timeZone = "Europe/Vienna";
@@ -31,7 +31,7 @@ export PATH=$PATH:${self}/mybin
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
users.mutableUsers = false; users.mutableUsers = true;
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.

View File

@@ -2,7 +2,8 @@
{ {
users.users.me = { users.users.me = {
isNormalUser = true; isNormalUser = true;
passwordFile = "${secretsDir}/me-pwd"; #passwordFile = "${secretsDir}/me-pwd";
password = "changeme";
extraGroups = [ "networkmanager" "wheel" "libvirtd" ]; # Enable sudo for the user. extraGroups = [ "networkmanager" "wheel" "libvirtd" ]; # Enable sudo for the user.
}; };