Skip to content

Latest commit

 

History

584 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS & Home Manager Configurations

built-with-nix nixos-nixos-unstable lint flake-eval license

My NixOS setup running on a couple of laptops and a home server. Everything is managed through flakes with a modular structure that makes it easy to share configuration between machines while keeping host-specific stuff separate.

Warning

This is a single user setup and is not intended to be anything else.

Structure

├── flake.nix       # Main flake configuration
├── hosts/          # Per-host configurations
│   ├── ideapad/
│   ├── khloe/
│   ├── kim/
│   └── yoga/
├── modules/        # Modular configurations
│   ├── core/       # NixOS modules
│   └── home/       # Home Manager modules
├── profiles/       # Reusable system profiles
└── secrets/        # Encrypted secrets management

Installation

  1. Boot the NixOS installer ISO
  2. Set up network connection (WiFi or ethernet)
  3. Mount VeraCrypt USB and copy SSH keys to /etc/ssh/
  4. Clone this repo: git clone https://github.com/peucastro/nixos-config
  5. Update disk device in hosts/<hostname>/disk-configuration.nix
  6. Run disko: sudo nix run github:nix-community/disko/latest -- --mode destroy,format,mount hosts/<hostname>/disk-configuration.nix
  7. Install: sudo nixos-install --flake .#<hostname>
  8. Reboot

Software

Core System

Terminal & Shell

Applications

Home Server

A headless server running various self-hosted services like Jellyfin for media streaming, Immich for photos, and the *arr stack for managing downloads. Everything is connected through Tailscale for remote access, with AdGuard Home handling DNS filtering. Services are configured declaratively through NixOS with Caddy reverse proxy handling SSL certificates via Cloudflare DNS.

This section is generated automatically from the Nix configuration using this cursed Nix script.

Downloads

Icon Name Description
Deluge BitTorrent client with web UI
qBittorrent Bittorrent client with web UI
Soulseek Peer-to-peer music sharing
Transmission BitTorrent client

Media

Icon Name Description
Calibre-Web Ebook library manager and reader
Immich Self-hosted photo management
Jellyfin Media streaming server
Jellyseerr Media request and management for Jellyfin.
Navidrome Modern music server and streamer

Monitoring

Icon Name Description
Glances System monitoring web UI
Grafana Analytics and monitoring dashboards
Healthchecks Uptime monitoring and alerts
Prometheus Metrics collection and alerting
Uptime Kuma Self-hosted monitoring service

Network

Icon Name Description
AdGuard Home DNS server with ad/tracker blocking and web UI

Servarr

Icon Name Description
Bazarr Subtitle management for Radarr/Sonarr
Lidarr Music collection manager for Usenet and BitTorrent
Prowlarr Indexer manager for Usenet and BitTorrent
Radarr Movie collection manager for Usenet and BitTorrent
Readarr Ebook and audiobook collection manager for Usenet and BitTorrent
Sonarr TV show collection manager for Usenet and BitTorrent

Utilities

Icon Name Description
Filebrowser Web file manager
Homepage Application dashboard.
Miniflux Minimalist and opinionated feed reader
Stirling PDF PDF manipulation and conversion tool

License

This project is licensed under the terms of the MIT license. Check LICENSE for details.

About

NixOS & Home Manager IaC configurations for managing a couple of laptops and my home server.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Contributors

Languages