nixos-config/README.md

68 lines
2.1 KiB
Markdown
Raw Normal View History

2023-05-08 17:54:11 +02:00
# Rouven's NixOS configuration files
2022-12-19 18:11:40 +01:00
2023-01-22 15:47:34 +01:00
## Specs
- **Operating System:** [NixOS](https://nixos.org)
2024-01-10 17:26:09 +01:00
- **Window Manager:** [River](https://github.com/riverwm/river)
2023-01-22 15:47:34 +01:00
- **Overall Theme:** [Base16 Dracula](https://github.com/dracula/base16-dracula-scheme)
- **Shell:** [Zsh](https://www.zsh.org/)
- **Terminal:** [Foot](https://codeberg.org/dnkl/foot)
2023-04-22 14:15:53 +02:00
- **Editor:** [Helix](https://helix-editor.com)
2023-06-06 13:35:05 +02:00
- **Notifications:** [swaync](https://github.com/ErikReider/SwayNotificationCenter)
2023-01-22 15:47:34 +01:00
- **Panel:** [Waybar](https://github.com/Alexays/Waybar)
2023-10-26 12:12:45 +02:00
- **File Manager:** [Yazi](https://yazi-rs.github.io/)
2023-01-22 15:47:34 +01:00
2022-12-19 18:11:40 +01:00
## Installation
Should work out of the box:\
2023-01-22 21:52:38 +01:00
Clone the repo, copy your hardware configuration to `./hosts/<hostname>/hardware-configuration.nix`, run `nixos-rebuild switch --flake .#<hostname>` and you are good to go.
2022-12-19 18:11:40 +01:00
## Currently configured machines (aka available hostnames)
### thinkpad
A ThinkPad L15 that I use for almost everything that one needs a monitor to.
2023-02-19 21:02:58 +01:00
#### Disk Layout
```
2023-08-02 20:32:49 +02:00
NAME MOUNTPOINT COMMENT
tmpfs / # root on tmpfs using impermanence
2023-02-19 21:02:58 +01:00
nvme0n1
2023-08-02 20:32:49 +02:00
├─nvme0n1p1 /boot
├─nvme0n1p2 # LUKS-encrypted partition
2024-03-24 23:39:00 +01:00
│ └─luksroot # btrfs with subvolumes
│ ├─nix /nix
│ ├─home /home
│ ├─lib /var/lib
│ └─log /var/log
2023-03-02 21:42:06 +01:00
└─nvme0n1p3
2023-08-08 15:55:45 +02:00
└─luksswap [SWAP] # encrypted swap partition
2023-02-19 21:02:58 +01:00
```
2023-01-29 14:29:01 +01:00
### nuc
Old Intel Nuc that I got from @LeBogoo. Running a few personal services.
2023-02-19 21:02:58 +01:00
#### Disk layout
```
NAME MOUNTPOINT COMMENT
2023-05-30 21:26:34 +02:00
tmpfs / # root on tmpfs
2023-02-19 21:02:58 +01:00
sda
├─sda1 /boot
├─sda2 [SWAP]
2023-02-19 21:02:58 +01:00
└─sda3 # btrfs
├─lib /var/lib
├─log /var/log
2023-05-30 21:25:52 +02:00
└─nix /nix
2023-02-19 21:02:58 +01:00
```
2023-04-12 17:38:30 +02:00
2023-11-20 22:46:51 +01:00
### falkenstein
2023-04-12 17:38:30 +02:00
Hetzner VPS running a few web apps.
#### Disk layout
```
NAME MOUNTPOINT COMMENT
sda
├─sda1 /
├─sda14 # BIOS boot
└─sda15 /boot/efi # EFI stuff
```
2023-05-01 12:30:21 +02:00
### vm
Barebones configuration that can be easily deployed to virtual machines.
2023-05-01 19:59:25 +02:00
### iso
My custom installer and rescue image containing some personal tweaks.