This repository contains my personal NixOS configuration! The setup leverages Nix flakes and integrates Home Manager for the user configuration. As my daily driver, I rely on the Hyprland window manager for Wayland.
- Possible multi-user/multi-system setup
- Encrypted BTRFS partition
- Ephemeral root setup with opt-in persistence through impermance
- Consistent theming with catppucccin
- Declarative Secrets with sops-nix
To set up a similar environment, one would need to roughly follow theses steps:
- Create a BTRFS filesystem with subvolumes
/nix
,/persist
, swap file and root subvolume. - Generate a simple NixOS configuration for your system.
- Place the
hardware-configuration.nix
file from this setup into thehosts/mycomputer
folder to configure a new host. - Make new secrets file with login password.
- Customize user-specific configurations in the folder
home/moritz
and adjust the user name accordingly.
Name | Description |
---|---|
Window manager | Hyprland |
Status bar | waybar |
Shell | zsh |
Terminal emulator | alacritty |
Terminal multiplexer | tmux |
Editor | neovim (managed in a separate repo) |
Browser | firefox |
neomutt with mbsync | |
Calendar/contacts | khal, khard and vdirsyncer |
Application launcher | fuzzel |
Password manager | pass with GPG key stored on a YubiKey |
PDF reader | zathura |
Music player | ncmpcpp |
Colorscheme | catpuccin frappe |
Most of the code in this configuration was adapted from this amazing configuration. Check out as well the starter-templates to getting started with Nix flakes.