Installation
How to install codots
Fresh Install
Section titled “Fresh Install”-
Fetch codots:
Terminal window nix-shell -p git --run "git clone https://github.com/constructor2828-web/codots ~/.codots"cd ~/.codots -
Edit
flake.nixto set yourusernameandhostname. -
Choose a host. Look into
hosts/to see available hosts (e.g.,default). -
Run
make switchto apply the configuration.
On Existing Install
Section titled “On Existing Install”On a system that already has NixOS installed:
nix-shell -p git --run "git clone https://github.com/constructor2828-web/codots ~/.codots"cd ~/.codotsmake updatemake switchOr directly:
sudo nixos-rebuild switch --flake .#<hostname>Troubleshooting: Home Manager packages not installing
Section titled “Troubleshooting: Home Manager packages not installing”If home-manager-<username>.service is missing, usually one of these is true:
- You still have placeholder values in
flake.nix(username = "user"and/orhostname = "nixos"). - You changed
flake.nixbut did not run a new rebuild. - You are checking
systemctlas a different user than the one configured inflake.nix.
After editing flake.nix, rebuild again:
sudo nixos-rebuild switch --flake .#<hostname>Then verify with your configured user:
systemctl status home-manager-<username>.service