blob: bbbb07e00cbacc158ea61b00882c252eeea0b851 (
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
57
58
59
60
61
62
|
# 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.
`haruka` - Laptop (Thinkpad X1C11)
`kanata` - Server
## TODO
- cleanup `home/communication` module
- replace gnome-keyring with passage, check pass-secret-service
- yubikey-pam
- move wallpapers, etc (i.e. large assets) to a separate repo
- investigate alsa stuttering. possibly related to NixOS/nixpkgs#102547
## 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).
|