1
0
Fork 0
NixOS configuration https://code.dumpstack.io
Go to file
dump_stack() 826e19652e
Use Gitea from unstable and switch NixOS state to 19.03
2019-07-24 13:33:16 +00:00
.gitignore Initial 2019-02-05 19:49:42 +00:00
LICENSE Initial 2019-02-05 19:49:42 +00:00
README.md Use Gitea from unstable and switch NixOS state to 19.03 2019-07-24 13:33:16 +00:00
configuration.nix Use Gitea from unstable and switch NixOS state to 19.03 2019-07-24 13:33:16 +00:00
secrets.nix.example Initial 2019-02-05 19:49:42 +00:00

README.md

code.dumpstack.io

Download NixOS installation ISO

Notes:

  1. I assume that latest stable (e.g. 19.03) ISO will be used for installation.
  2. 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/

nixos-generate-config --root /mnt

nixos-install
reboot

After install

nix-channel --add https://nixos.org/channels/nixos-unstable unstable