https://github.com/greg-hellings/nixos-config
https://github.com/greg-hellings/nixos-config
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/greg-hellings/nixos-config
- Owner: greg-hellings
- Created: 2022-03-30T22:01:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-15T19:01:29.000Z (over 1 year ago)
- Last Synced: 2025-02-28T03:42:07.629Z (over 1 year ago)
- Language: Nix
- Size: 1.29 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a unified repo to contain my personal configurations for NixOS machines.
# How To Use This
Go through the normal process to setup a NixOS system during installation.
1. Boot from an appropriate medium
2. Parition the drives
3. Mount them
4. Before you generate out the configuration, clone this repoistory to your
/etc/nixos folder
5. Run the configuration generator. It should only genreate the hardware-configuration.nix
file, which this repo gitignores
6. Create a folder and file with the machine name in `hosts//default.nix`
7. Add `hosts/default.nix` an appropriate entry for the machine you are building
8. Create a file `home/hosts//default.nix` with the new machine name as well
# Adding new hosts
To add a new host, create a folder in the directory `hosts/` that matches the name of
the target system. Each host must contain, minimally, a `default.nix` file that serves
as the basis of configuring that host.