···33This is @ajhalili2006's NixOS + Home Manager configuration for his laptop
44and homelabs, in sync with the [nixpkgs-specific dotfiles repository].
5566-[dotfiles repository]: https://github.com/andreijiroh-dev/dotfiles/tree/nixpkgs
66+[nixpkgs-specific dotfiles repository]: https://github.com/andreijiroh-dev/dotfiles/tree/nixpkgs
77+88+## CI Status
99+1010+| Workflow Name and Type | CI Platform | Badge/Link |
1111+| --- | --- | --- |
1212+| Nix Flake Builds (push) | GitHub Actions | [](https://github.com/andreijiroh-dev/nixops-config/actions/workflows/update-flakes.yml) |
1313+| Nix Flake Builds (schedule, every 06:30 UTC Saturday) | GitHub Actions | [](https://github.com/andreijiroh-dev/nixops-config/actions/workflows/update-flakes.yml) |
714815## Usage
9161010-### Updating or installing NixOS
1717+### Installing NixOS
1818+1919+It is recommended to install NixOS using either the Calamares-based graphical
2020+installer or manually through the `nixos-install` utility, especially
2121+when you have consider partitioning on your drive to ensure that you can roll back
2222+safely in case things go wrong.
2323+2424+After installation, proceed with the steps in updating configuration below.
2525+2626+### Updating configuration or upgrading NixOS system
11271228```bash
2929+EDITOR="nano" # or code if you do
3030+$EDITOR <path/to/nixfile.nix>
3131+1332# update the flake.lock file manually
1433nix flake update
1534···25442645# change {hostname} to something like stellapent-cier
2746sudo nixos-rebuild --flake .#{hostname} <switch|boot|build>
4747+```
4848+4949+### Building a minimial ISO for recovery
5050+5151+Currently available as `amd64` (`x86-64`) Linux ISO only for now.
5252+5353+```bash
5454+# Build using the sources as remote
5555+nix build github:andreijiroh-dev/nixops-config/main#nixosConfigurations.recoverykit-amd64.config.system.build.isoImage
5656+5757+# ...or via a local clone
5858+nix build .#nixosConfigurations.recoverykit-amd64.config.system.build.isoImage
2859```
29603061## License