My nix config for NixOS and Home Manager (NixOS module and standalone options). Check the profile options in the install section.
Important
Uses ~/dev/nix path (install script default).
Note: This uses Colemak-DH-ISO keyboard layout by default.
Related files: keyboard.nix, niri.kdl, mango.nix, install.sh
The install script auto-detects the distro (only NixOS or Fedora currently) and applies the appropriate configuration. Pass a flake profile as the first argument.
- NixOS: Clones config, runs nixos-rebuild switch with the profile provided
- Fedora: Applies system settings, installs system pkgs with dnf (keyd, pipewire, etc.), installs Nix, applies GPU fix, then runs home-manager switch with the profile provided
curl -fsSL jaycem.dev/nix | bash -- nixos-mangoAvailable profiles (defined in flake.nix):
| NixOS (with HM as module) | Home Manager standalone |
|---|---|
nixos-niri |
niri |
nixos-mango |
mango |
asahi-niri (arm64) |
|
asahi-mango (arm64) |
- Compositor and tools: niri/mangowc, fuzzel, waybar, mako, swayidle, swaylock
- Main programs: kitty, fish, neovim
- Theming: stylix
