NixOS configuration
https://code.dumpstack.io
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 1 year ago | |
configuration.nix | 1 year ago | |
secrets.nix.example | 4 years ago |
README.md
code.dumpstack.io
Download NixOS installation ISO
Notes:
- I assume that latest stable (e.g. 19.03) ISO will be used for installation.
- You need to change hostname in
configuration.nix:9
.
Installation
parted /dev/vda mklabel msdos
parted /dev/vda mkpart primary ext4 0% 100%
mkfs.ext4 -L system /dev/vda1
mount /dev/vda1 /mnt/
nix-env -iA nixos.gitMinimal
git clone https://code.dumpstack.io/infra/code.dumpstack.io.git /mnt/etc/nixos/
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nix-channel --update
nixos-generate-config --root /mnt
nixos-install
reboot
After install
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nix-channel --update