1
0
NixOS configuration https://code.dumpstack.io
Go to file
2024-06-24 13:23:06 +00:00
.gitignore Move out variables 2024-06-24 13:23:06 +00:00
configuration.nix Move out variables 2024-06-24 13:23:06 +00:00
LICENSE Initial 2019-02-05 19:49:42 +00:00
README.md Move out variables 2024-06-24 13:23:06 +00:00
var.example.nix Move out variables 2024-06-24 13:23:06 +00:00

code.dumpstack.io

NixOS

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

cd /mnt/etc/nixos
cp var.example.nix var.nix
vim var.nix

nixos-generate-config --root /mnt

nixos-install
reboot

After install

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