updated readme, added initial password

This commit is contained in:
Aleksandr Lebedev 2024-12-17 20:48:46 +01:00
parent 388c587fdf
commit 264cf73ddb
2 changed files with 16 additions and 0 deletions

View file

@ -9,3 +9,18 @@ Rebuild system
~~~
nh os switch
~~~
## Install system
Assuming that you're in nixos installer
~~~
sudo nix --extra-experimental-features "flakes nix-command" run github:nix-community/disko -- --mode zap_create_mount --flake github:KyleKrein/nixos-config#kylekrein-homepc
~~~
~~~
sudo mkdir /mnt/tmp && TMPDIR=/mnt/tmp sudo nixos-install --flake github:KyleKrein/nixos-config#kylekrein-homepc && sudo rm -rf /mnt/tmp
~~~
or together
~~~
sudo nix --extra-experimental-features "flakes nix-command" run github:nix-community/disko -- --mode zap_create_mount --flake github:KyleKrein/nixos-config#kylekrein-homepc && sudo mkdir /mnt/tmp && TMPDIR=/mnt/tmp sudo nixos-install --flake github:KyleKrein/nixos-config#kylekrein-homepc && sudo rm -rf /mnt/tmp
~~~

View file

@ -87,6 +87,7 @@
isNormalUser = true;
description = "Aleksandr Lebedev";
extraGroups = [ "networkmanager" "wheel" ];
initialPassword = "1234";
packages = with pkgs; [];
};