about summary refs log tree commit diff
path: root/README.md
blob: 8b5df8d558aff60190a1fc8ac83278a14a7c8447 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# nixrc
[![CI status](https://builds.sr.ht/~zachel/nixrc/commits/.build.yml.svg)](https://builds.sr.ht/~zachel/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 :)

## Systems

`alpha` - My main system.

`beta` - Raspberry Pi, inactive.

`kompakt` - Laptop (MBA, Darwin)

`cobalt` - Main server (managed with colmena)

## Resources

+ **Flakes**
  + [Official docs](https://nixos.org/learn.html)
  + [NixOS Wiki (Community) - Flakes](https://nixos.wiki/wiki/Flakes)
  + Some flake configurations that
    [I](https://github.com/berbiche/dotfiles)
    [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).