Rebuild the system with
sudo nixos-rebuild switch --flake "${HOME}/.config/nix-config"
or
sudo nixos-rebuild --upgrade switch --flake "${HOME}/.config/nix-config"
The flake system will automatically choose the configuration based on the current hostname.
common.nix
-- Common configuration for Nix systems (such as users and fundamental environment items)packages_core.nix
-- Core packages, used almost everywhere. vim
, ripgrep
, htop
and such.packages.nix
-- More sophisticated packagessecurity.nix
-- Security configurations: firewall, ssh, certificates, etc.services.nix
-- Regularly-run services such as syncthing and fail2ban