forked from aylac.top/nixcfg
this repo has no description
1a super low end upcloud vm that i got 2 3VERY VERY IMPORTANT NOTES: 4 5this was hell to setup, mostly because i wasn't sure if i could modprobe zram. but you can in fact do it and turn a 1gb of ram system into something more usable that let's you actually build the damn thing 6 7so three very important things 8 9USE ZRAM ON THE INSTALLER 10run this 11 12```sh 13modprobe zram 14echo zstd >/sys/block/zram0/comp_algorithm 15echo "2G" >/sys/block/zram0/disksize 16mkswap /dev/zram0 17swapon --priority 100 /dev/zram0 18``` 19 20and when building it with nixos-anywhere be sure to use the --no-diskos-deps flag!!! 21 22```sh 23nix run github:nix-community/nixos-anywhere -- --no-disko-deps --flake <flake_location>#<system> --target-host root@<ip_address> 24``` 25 26thank you @nocab.lol for helping me quite a lot with the disko part!! 27 28I FUCKING LOVE ZRAM