Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.04 KB

My Personal Nix Configuration

There you can find any configs for my devices (e.g. desktop, server-side machines).

Installation

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/).

Updating

You should run update flake and then rebuild the config. Just run:

sh tools/update.sh; sh tools/build.sh hostname_config

With Dotfiles

You can use flake-rebuild and flake-update, instead of call scripts from folders.