diff --git a/nix/hardware/spaceship/configuration.nix b/nix/hardware/spaceship/configuration.nix index cbc5f5a..9f5fdea 100644 --- a/nix/hardware/spaceship/configuration.nix +++ b/nix/hardware/spaceship/configuration.nix @@ -50,6 +50,8 @@ DIRENV_LOG_FORMAT = ""; }; + # allows user change later on + users.mutableUsers=true; users.users.dashie = { isNormalUser = true; description = "dashie"; @@ -59,6 +61,9 @@ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; + # this password will only last for the first login + # e.g. login, then change to whatever else, this also ensures no public hash is available + hashedPassword="firstlogin"; }; nix.settings = { diff --git a/scripts/part.sh b/scripts/part.sh index f753b68..ee9d5c3 100755 --- a/scripts/part.sh +++ b/scripts/part.sh @@ -16,7 +16,8 @@ if [ "$IN" == "y" ]; then e2label "$1"4 HOME fi # install nixos - nixos-install --flake ./nix/.#$2 + echo "formatting finished, continuing to install system" + nixos-install --flake ./nix/.#$2 --no-root-passwd else echo "aborting" fi