Browse Source

Add start of readme.

main
James Coleman 1 month ago
parent
commit
e6cf90004c
  1. 3
      .gitmodules
  2. 18
      README.md
  3. 2
      dotfiles

3
.gitmodules

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

18
README.md

@ -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
```

2
dotfiles

@ -1 +1 @@
Subproject commit 3c006855689bcaeb401e2b52c979ce4c57cd8fd5
Subproject commit 5a733b2c15c0b6937ece034453e5c232e4c8e5c4
Loading…
Cancel
Save