Skip to content

antoncuranz/nix-config

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published