nixos configurations
Go to file
2024-08-12 18:03:51 -05:00
dotfiles@5a733b2c15 Add start of readme. 2024-08-12 18:03:51 -05:00
hosts Add media-pc, and update 2024-08-12 17:07:50 -05:00
modules Remove sound config as its no longer used. 2024-08-12 17:18:08 -05:00
profiles Add media-pc, and update 2024-08-12 17:07:50 -05:00
users Add flatpak support, and upgrade stable to 24.05 2024-06-20 14:34:30 -05:00
.gitignore Initial Config 2024-05-14 09:29:16 -05:00
.gitmodules Add start of readme. 2024-08-12 18:03:51 -05:00
configure.sh Fix config script 2024-08-12 17:14:36 -05:00
flake.lock Add media-pc, and update 2024-08-12 17:07:50 -05:00
flake.nix Add flatpak support, and upgrade stable to 24.05 2024-06-20 14:34:30 -05:00
home_update.sh Add flatpak support, and upgrade stable to 24.05 2024-06-20 14:34:30 -05:00
install.sh Remove sound config as its no longer used. 2024-08-12 17:18:08 -05:00
README.md Add start of readme. 2024-08-12 18:03:51 -05:00
rebuild.sh Add flatpak support, and upgrade stable to 24.05 2024-06-20 14:34:30 -05:00
rsync.sh Initial Config 2024-05-14 09:29:16 -05:00
settings-default.nix Add serial commands, app image support, home-manager cli, and network manager profile configuration example. 2024-05-22 23:57:13 -05:00
settings-server-example.nix Add serial commands, app image support, home-manager cli, and network manager profile configuration example. 2024-05-22 23:57:13 -05:00
update.sh Add flatpak support, and upgrade stable to 24.05 2024-06-20 14:34:30 -05:00

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