There you can find any configs for my devices (e.g. desktop, server-side machines).
Clone repository into /home/{user}/.nix-config
directory, with:
git clone https://github.com/DocNITE/nix-config.git ~/.nix-config
You would like generate any hardware information and kernel modules before building. So, run next cmd:
sh tools/generate-hardware.sh
It will create hardware-configuration.nix
in root folder. You SHOULD NOT EDIT IT!!!
Than, if you haven't scripts from my dotfiles, you should run tools/build.sh
.
sh tools/build.sh hostname_config
It will generate configuration with given hostname as argument (like 'redmibook', you can check avaible config names in configs/
).
You should run update flake and then rebuild the config. Just run:
sh tools/update.sh; sh tools/build.sh hostname_config
You can use flake-rebuild
and flake-update
, instead of call scripts from folders.