blob: c3004c62a9a286b22a1e1be9d2826b6b7678761b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# nixrc
[![CI status](https://builds.sr.ht/~boppy/nixrc/commits/.build.yml.svg)](https://builds.sr.ht/~boppy/nixrc/commits/.build.yml)
[![ISC License](https://img.shields.io/badge/license-ISC-0475b5)](https://www.isc.org/licenses/)
[![NixOS Unstable](https://img.shields.io/badge/NixOS-unstable-blue.svg?style=flat-square&logo=NixOS&logoColor=white)](https://nixos.org)
![showcase](assets/showcase.png)
> **Disclaimer** Keep in mind that my config doesn't exactly follow 'best principals'.
## Installation
1. Creating the installation media
```sh
# Acquire latest nixos-unstable build
wget -O nixos.iso https://channels.nixos.org/nixos-unstable/latest-nixos-minimal-x86_64-linux.iso
# Write the image to flash drive
cp nixos.iso /dev/sdX
```
2. Boot into the live installation.
3. Switch to root: `sudo su -`
4. Configure partitions
5. Install this configuration
6. Reboot
7. Happy hacking :)
## Resources
+ **Flakes**
+ [Official docs](https://nixos.org/learn.html)
+ [NixOS Wiki (Community) - Flakes](https://nixos.wiki/wiki/Flakes)
+ Some flake configurations that I
[may](https://github.com/hlissner/dotfiles)
[have](https://github.com/NobbZ/nixos-config)
[taken](https://github.com/legendofmiracles/dotnix)
[inspiration](https://github.com/fufexan/nixos-config)
[from](https://github.com/colemickens/nixos-flake-example).
|