Add start of readme.

This commit is contained in:
James Coleman 2024-08-12 18:03:51 -05:00
parent 0d7b5f8a0d
commit e6cf90004c
3 changed files with 22 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "dotfiles"]
path = dotfiles
url = https://github.com/GRMrGecko/dotfiles.git

18
README.md Normal file
View File

@ -0,0 +1,18 @@
# nixos
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.
## Installing
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.
```bash
nix-shell -p git nfs-utils
mkdir /mnt/merged
mount.nfs 10.0.0.5:/mnt/merged /mnt/merged
mkdir /mnt/merged/nixos-tmp
fallocate -l 30G /mnt/merged/nixos-tmp/swap
chmod 600 /mnt/merged/nixos-tmp/swap
mkswap /mnt/merged/nixos-tmp/swap
swapon /mnt/merged/nixos-tmp/swap
mount -o remount,size=20G,noatime /nix/.rw-store
git clone --recursive https://github.com/GRMrGecko/nixos.git
```

@ -1 +1 @@
Subproject commit 3c006855689bcaeb401e2b52c979ce4c57cd8fd5
Subproject commit 5a733b2c15c0b6937ece034453e5c232e4c8e5c4