updated readme, added initial password
This commit is contained in:
parent
388c587fdf
commit
264cf73ddb
2 changed files with 16 additions and 0 deletions
15
README.md
15
README.md
|
|
@ -9,3 +9,18 @@ Rebuild system
|
||||||
~~~
|
~~~
|
||||||
nh os switch
|
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
|
||||||
|
~~~
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Aleksandr Lebedev";
|
description = "Aleksandr Lebedev";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
|
initialPassword = "1234";
|
||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue