This repository contains my personal declarative system configuration using NixOS, Flakes, and Home Manager.
laptop: Personal laptop setup.lithium: Desktop/server setup.
flake.nix: Entrypoint for system configurations.hosts/: Machine-specific configurations.common/: Shared configuration applied across all hosts.<hostname>/: Host-specific hardware and software configuration.
modules/: Custom Nix modules.nixos/: System-level modules.home/: User-level Home Manager modules.
pkgs/: Custom packages.k8s/: Kubernetes manifests.
Clone the repository:
git clone https://github.com/YOUR_USERNAME/nixos-config.git ~/nixos-config
cd ~/nixos-configApply a configuration (e.g., for laptop):
sudo nixos-rebuild switch --flake .#laptop