Skip to content

Installation

How to install codots

  1. Fetch codots:

    Terminal window
    nix-shell -p git --run "git clone https://github.com/constructor2828-web/codots ~/.codots"
    cd ~/.codots
  2. Edit flake.nix to set your username and hostname.

  3. Choose a host. Look into hosts/ to see available hosts (e.g., default).

  4. Run make switch to apply the configuration.

On a system that already has NixOS installed:

Terminal window
nix-shell -p git --run "git clone https://github.com/constructor2828-web/codots ~/.codots"
cd ~/.codots
make update
make switch

Or directly:

Terminal window
sudo nixos-rebuild switch --flake .#<hostname>