nix settings
- required packages:
- docker
- make
- bash
cd iso_build
makeiso_build/nixos.iso is ready
-
install parallel desktop which has compatible with nix
-
complete 2.2 of... https://nixos.org/manual/nixos/stable/index.html#sec-installation in the mounted img
-
reboot
-
prepare user account
# in sudo
useradd ...- add sudors
edit /etc/nixos/configuration.nix and add:
users.extraUsers.<username> = {
isNormalUser = true;
home = "/home/<username>";
extraGroups = [ "wheel" ];
}
- build nix
nixos-rebuild switch --install-bootloader
- git ssh TODO: better way to do this
mkdir .ssh
cd .ssh
ssh-keygen
# showing public ssh key
cat id_rsa.pubglobal
edit /etc/nixos/configuration.nix and add:
nixos-rebuild switch --install-bootloader
user
edit ~/.config/nixpkgs/home.nix and run:
home-manager switch