nixos configurations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
758 B

  1. # nixos
  2. These are my configurations for nixos. You are free to use it, however it may be best for you to fork and make your own.
  3. ## Installing
  4. In my experience, you need a larger disk size for the nix store on the installer than is created. As such, I use a NFS mount with a swap file. If you are installing using an USB stick, you can probably place a swap file there.
  5. ```bash
  6. nix-shell -p git nfs-utils
  7. mkdir /mnt/merged
  8. mount.nfs 10.0.0.5:/mnt/merged /mnt/merged
  9. mkdir /mnt/merged/nixos-tmp
  10. fallocate -l 30G /mnt/merged/nixos-tmp/swap
  11. chmod 600 /mnt/merged/nixos-tmp/swap
  12. mkswap /mnt/merged/nixos-tmp/swap
  13. swapon /mnt/merged/nixos-tmp/swap
  14. mount -o remount,size=20G,noatime /nix/.rw-store
  15. git clone --recursive https://github.com/GRMrGecko/nixos.git
  16. ```