1
0
localhost/README.md

31 lines
841 B
Markdown
Raw Normal View History

2019-07-21 12:17:34 +00:00
# Fully reproducible localhost
2019-05-31 00:02:30 +00:00
## Installation
parted...
cryptsetup...
mount...
nix-env -iA nixos.gitMinimal
git clone https://code.dumpstack.io/infra/localhost.git /mnt/etc/nixos/
2019-07-21 14:22:27 +00:00
cp wireless-networks.nix.example wireless-networks.nix
nano wireless-networks.nix
cp secrets.nix.example secrets.nix
nano secrets.nix
2019-06-26 15:03:24 +00:00
nix-channel --add https://nixos.org/channels/nixos-unstable unstable
nix-channel --update
2019-05-31 00:02:30 +00:00
nixos-generate-config --root /mnt
nixos-install
reboot
2019-07-21 14:22:27 +00:00
## After install
Initial password for root is `root`, and for user is `user`.
Default network configuration is VPN-only, so if you don't have plans to use it you need to change iptables rules (remove `iptables -P OUTPUT DROP` from `networking.nix`) and remove `services.openvpn.servers.vpn` from `networking.nix`.