nixos-config/README.md

74 lines
2.2 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:29:21 +01:00
![image](https://user-images.githubusercontent.com/72568063/213921069-670965f7-ad51-43ad-a211-63bb45a02648.png)
2023-01-22 14:52:22 +01:00
2023-01-22 15:47:34 +01:00
## Specs
- **Operating System:** [NixOS](https://nixos.org)
2023-11-16 16:40:30 +01:00
- **Window Manager:** [Sway](https://swaywm.org/)
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
│ └─luksroot # zfs setup
│ └─rpool
│ └─nixos
│ ├─nix /nix
│ ├─home /home
│ └─var
│ ├─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-06-19 23:58:04 +02:00
zram0 [SWAP]
2023-04-12 17:38:30 +02:00
```
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.