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.
James Coleman
35590ce3ed
|
1 month ago | |
---|---|---|
dotfiles@8ae344b2ca | 1 month ago | |
hosts | 1 month ago | |
modules | 1 month ago | |
profiles | 1 month ago | |
users | 3 months ago | |
.gitignore | 4 months ago | |
.gitmodules | 1 month ago | |
README.md | 1 month ago | |
configure.sh | 1 month ago | |
flake.lock | 1 month ago | |
flake.nix | 3 months ago | |
home_update.sh | 3 months ago | |
install.sh | 1 month ago | |
rebuild.sh | 3 months ago | |
rsync.sh | 4 months ago | |
settings-default.nix | 4 months ago | |
settings-server-example.nix | 4 months ago | |
update.sh | 3 months ago |
README.md
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.
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