Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1003 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 1003 Bytes

nix-config

Installation

sudo passwd root # via KVM
ssh [email protected]

bash <(curl -s https://raw.githubusercontent.com/ant0ncuranz/nix-config/main/install.sh)

# run init scripts

macOS Installation

# install nix
curl -L https://nixos.org/nix/install | sh

# bootstrap
nix --extra-experimental-features nix-command --extra-experimental-features flakes run nix-darwin -- switch --flake '/Users/ant0n/Developer/non-TUB/nix-config#macbook'

# update
rebuild

Low memory VPS Installation

# verify disk and image size
vim disko/cloudton.nix

# build disk image
nix build .#nixosConfigurations.cloudton.config.system.build.diskoImagesScript
sudo ./result

# transfer image to VPS (boot live system, e.g. nix minimal)
cat main.raw | ssh root@<VPS_IP> "dd of=/dev/xyz"

Test VM Installation

sudo passwd root # via virt-manager
ssh [email protected]

bash <(curl -s https://raw.githubusercontent.com/ant0ncuranz/nix-config/main/vminstall.sh)