Complete, modular NixOS setup covering shell, GUI, development tools, window manager, audio, fonts, theming and more.
This repository is the main configuration of Typovrak NixOS
, a fully modular and declarative operating system configuration built entirely with :
- π§± 30+ standalone modules : Each managing a specific tool, feature or aesthetic like
zsh
,i3
,lighdm
,polybar
,gtk
and more. - π¨ Catppuccin Mocha : The default theme across terminal, GUI, and login interfaces.
- π‘οΈ 100% FOSS compliant : No proprietary software included unless explicitly chosen.
- π§βπ» Built for developers : Optimized for speed, keyboard-centric workflows and expressive CLI tooling.
Explore the full system : π Right here
Caution
This module is opinionated, it may override, replace, or remove files and settings without prompt. To avoid unexpected changes, back up your existing files or fork this module to take full control. Follow this documentation to avoid any of this problem.
- π Modular configuration : Each component (shell, editor, WM, audio and more) lives in its own reusable Nix module.
- π Secure configs : automatically creates and locks down
~/.config/*
with correct ownership and permissions. - π Shells : zsh, with autosuggestions and syntax-highlighting, and bash set up out-of-the-box.
- π Git tooling : Git, GitHub CLI & LazyGit with your
.gitconfig
deployed and ready. - π¨ Theming : Catppuccin mocha green applied to GTK2/3/4, Alacritty, i3, Polybar & cursors.
- π₯οΈ Window manager : i3wm + Polybar + LightDM GTK greeter with custom wallpaper.
- π€ Fonts & emoji : JetBrainsMono Nerd Font + Noto Emoji for complete glyph coverage.
- π¬ Multimedia : PipeWire audio stack, pavucontrol, CAVA visualizer & screenkey.
- π Monitoring : htop, btop, Fastfetch & Neofetch with tuned defaults.
- π» Dev stack : Node.js, TypeScript, Go, Rust, Python, Ruby, Docker & essential CLI tools.
- π Project workspace : automatically creates
~/projects
directory. - π Flatpak support : Flathub enabled and OBS Studio auto-installed.
- π Localization : Europe/Paris timezone with en_US default and French regional formats.
β― tree -a -I ".git*"
.
βββ configuration.nix # module configuration
βββ LICENSE.md # MIT license
βββ README.md # this documentation
βββ variables.nix # define your user username
1 directory, 4 files
Requires NixOS 24.11 or newer.
the target user must be defined in config.username
.
You need to update variables.nix
to your user username, the default is "typovrak"
.
Change it to your own login or a typovrak
user will be created.
Before proceeding, back up existing configuration if needed
sudo cp /etc/nixos/configuration.nix{,.bak}
cp ~/nixos{,.bak}
cp ~/.config{,.bak}
cp ~/.local/share/applications/*.desktop{,.bak}
And other configurations if needed.
git clone https://github.com/typovrak/nixos.git ~/nixos
# ~/nixos/variables.nix
{ lib, ... }:
{
options.username = lib.mkOption {
type = lib.types.str;
default = "<YOUR_USER_USERNAME>";
};
}
sudo ln -sf ~/nixos/configuration.nix /etc/nixos/configuration.nix
sudo ln -sf ~/nixos/variables.nix /etc/nixos/variables.nix
sudo nixos-rebuild switch
Want to make it your own from the start ?
Fork the repo and clone your version instead.
Click on the fork button to create your own version of this NixOS configuration in your own GitHub.
git clone https://github.com/<YOUR_USERNAME>/nixos.git ~/nixos
# ~/nixos/variables.nix
{ lib, ... }:
{
options.username = lib.mkOption {
type = lib.types.str;
default = "<YOUR_USER_USERNAME>";
};
}
sudo ln -sf ~/nixos/configuration.nix /etc/nixos/configuration.nix
sudo ln -sf ~/nixos/variables.nix /etc/nixos/variables.nix
sudo nixos-rebuild switch
- Enable or disable modules by adding/removing their
(import "${<MODULE_NAME>}/configuration.nix")
line in configuration.nix. - Updates modules by changing the
rev = "<HASH> from git log -1"
for each fetchGit entry. - Adjust
systemPackages
or service options directly in the top-level configuration. - Do whatever you want !
- π§± NixOS official documentation : Complete guide to system configuration and module options.
- βοΈ Nixpkgs manual : Reference for
packages
,overlays
,fetchGit
and module system internals. - π¦ Search Nix packages : Find and inspect packages available in the Nix ecosystem.
- πΌοΈ Catppuccin themes : Official Catppuccin color schemes for terminals, apps, and desktops.
- π§ Zero to Nix : A modern and beginner friendly guide to Nix, flakes and system management.
Dive into typovrak.tv/nixos Catppuccin mocha green themed gateway to my GitHub and NixOS setup.
Browse every module, example and config in a sleek with an interactive interface that feels just like your desktop.
If this module saved you time, please βοΈ the repo and share feedback.
You can also support me on β Buy me a coffee
If you've ever rm -rf
ed your config by mistake or rebuilt for the 42nd time because a semicolon was missingβ¦
You're not alone, Welcome home !
π§ What youβll find is :
π» #nixos-setup
- get help with modules, rebuilds and configs.π #web-dev
- talk JS, TypeScript, React, Node and more.π§ #open-source
- share your repos, contribute to others and discuss FOSS culture.β¨οΈ #typing
- layouts, mechanical keyboards and speed goals.π¨ #ricing
- dotfiles, theming tips and desktop screenshots.
Everyone's welcome no matter how many times you've broken your system (except for Windows users) π
Made with π by typovrak