Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaron-p1/nixconfig
My nixos system configuration
https://github.com/aaron-p1/nixconfig
home-manager nix nixos
Last synced: about 2 months ago
JSON representation
My nixos system configuration
- Host: GitHub
- URL: https://github.com/aaron-p1/nixconfig
- Owner: aaron-p1
- Created: 2021-09-09T19:47:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-21T20:05:46.000Z (9 months ago)
- Last Synced: 2024-04-28T02:18:32.673Z (9 months ago)
- Topics: home-manager, nix, nixos
- Language: Fennel
- Homepage:
- Size: 1.76 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A NixOS Config
# Install on new System
1. [Partition and format drives](https://nixos.org/manual/nixos/stable/index.html#sec-installation-partitioning)
2. Generate config
Mount drives to /mnt
```shell
nixos-generate-config --root /mnt
```3. Add new host to config
```shell
git clone https://github.com/aaron-p1/nixconfig.git
```Copy generated config (/mnt/etc/nixos) to new host directory and change it like the other hosts.
Add entry to flake.nix
4. Install system
Copy repo to /mnt/etc/nixos with:```shell
sudo nix-shell -p pkgs.gnumake --command 'make new'
```Build system
```shell
sudo nix-shell -p pkgs.nixUnstable --command 'cd /mnt/etc/nixos && nixos-install --impure --flake .#HOSTNAME'
```Reboot