NixOS -Wayland | NixOS - Wayland/Xorg | NixOS - Xorg | Darwin | |
---|---|---|---|---|
DM | TTY1 Login | GDM | LightDM | / |
WM/DE | Hyprland | Gnome | Bspwm | Yabai |
Compositor | Hyprland | Mutter | Picom (jonaburg) | / |
Bar | Eww + Waybar | Dock-to-Panel | Polybar | / |
Hotkeys | Hyprland | / | Sxhkd | Skhd |
Launcher | Wofi | Gnome | Rofi | / |
GTK Theme | Catppuccin | Catppuccin / Adwaita | Catppuccin | / |
Notifications | Dunst | Gnome | Dunst | / |
Terminal | Alacritty | Alacritty | Alacritty | Alacritty |
Used by host | Desktop | Work | Laptop & VM | Macbook |
There are some other desktop environments/window manager (See NixOS - Other). Just link to correct default/home.nix
in ./hosts/<host>/default and home.nix
.
There is also a general Nix config with hostname pacman
that can be used on pretty much any disto.
Compontents relevant to all hosts:
Shell | Zsh |
Terminal | Alacritty |
Editors | Nvim + Doom Emacs |
This flake currently has 4 hosts
- desktop
- UEFI boot w/ systemd-boot
- laptop
- UEFI boot w/ grub (Dual Boot)
- work
- UEFI boot w/ grub (Dual Boot)
- vm
- Legacy boot w/ grub
If you have nixos installed already, you can clone this repository:
$ git clone https://github.com/matthiasbenaets/nixos-config /etc/nixos/<name>
then build the flakes with:
$ sudo nixos-rebuild switch --flake <path>#<hostname>
- example
$ sudo nixos-rebuild switch --flake .#laptop