Mirror von meiner NixOS config. Falls Sourcehut mal abrauchen sollte.
Find a file
2023-11-16 15:52:46 +01:00
hosts agenix: migrate falkenstein 2023-11-16 15:08:13 +01:00
images agdsn and networking updates 2023-10-26 12:12:45 +02:00
keys agenix: migrate 2023-11-16 15:52:46 +01:00
overlays overlays: remove wdisplays 2023-11-10 11:58:46 +01:00
pkgs fixed ssh errors, add hashcash, update mail config, update zsh config 2023-09-24 21:32:28 +02:00
secrets agenix: migrate 2023-11-16 15:52:46 +01:00
shared start replacing sops with agenix 2023-11-16 13:29:18 +01:00
users/rouven mail: use rspamd for dkim 2023-11-16 01:27:01 +01:00
.gitignore nix flake: update trucksimulator 2023-05-30 17:33:15 +02:00
.sops.yaml agenix: migrate 2023-11-16 15:52:46 +01:00
flake.lock start replacing sops with agenix 2023-11-16 13:29:18 +01:00
flake.nix agenix: migrate falkenstein 2023-11-16 15:08:13 +01:00
LICENSE Create LICENSE 2023-04-24 13:15:48 +02:00
README.md agdsn and networking updates 2023-10-26 12:12:45 +02:00
secrets.nix agenix: migrate 2023-11-16 15:52:46 +01:00

Rouven's NixOS configuration files

image

Specs

Installation

Should work out of the box:
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.

Currently configured machines (aka available hostnames)

thinkpad

A ThinkPad L15 that I use for almost everything that one needs a monitor to.

Disk Layout

NAME             MOUNTPOINT  COMMENT
tmpfs            /           # root on tmpfs using impermanence
nvme0n1
├─nvme0n1p1      /boot
├─nvme0n1p2                  # LUKS-encrypted partition
│ └─luksroot                 # zfs setup
│   └─rpool
│     └─nixos    
│       ├─nix    /nix
│       ├─home   /home
│       └─var
│         ├─lib  /var/lib
│         └─log  /var/log
└─nvme0n1p3
  └─luksswap     [SWAP]      # encrypted swap partition

nuc

Old Intel Nuc that I got from @LeBogoo. Running a few personal services.

Disk layout

NAME      MOUNTPOINT  COMMENT
tmpfs     /           # root on tmpfs
sda
├─sda1    /boot
├─sda2    [SWAP]
└─sda3                # btrfs
  ├─lib   /var/lib
  ├─log   /var/log
  └─nix   /nix

falkenstein-1

Hetzner VPS running a few web apps.

Disk layout

NAME      MOUNTPOINT  COMMENT
sda
├─sda1    /
├─sda14               # BIOS boot
└─sda15   /boot/efi   # EFI stuff
zram0     [SWAP]

vm

Barebones configuration that can be easily deployed to virtual machines.

iso

My custom installer and rescue image containing some personal tweaks.