My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover e24c9805af
chore: update to nixos-unstable 2025-01-29
Note that this broke wine on X and I haven't figured out why yet. Likely
related to Wine 10 since the kernel supposedly wasn't the issue.

```
0074:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0074:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0074:err:systray:initialize_systray Could not create tray window
```

Wine continues to work in Hyprland however inputs are now broken and
some programs crash when they worked fine previously.
2025-02-02 06:07:41 -05:00
.github ci: ensure packages build successfully 2024-11-06 15:36:47 -05:00
assets nadesiko3: 3.6.22 -> 3.6.24 2024-10-23 19:01:20 -04:00
example chore: revert function spacing 2025-01-27 13:29:25 -05:00
home fish: use pr to checkout GitHub PRs 2025-02-01 10:07:18 -05:00
hosts/laptop hosts: drop iso 2025-01-27 13:09:52 -05:00
modules Revert "system: use latest nix version" 2025-02-02 05:52:24 -05:00
overlays overlays: remove rofi-wayland-unwrapped 2025-01-18 00:05:44 -05:00
packages chore: drop phosh-backgrounds 2025-01-27 13:14:23 -05:00
tests chore: revert function spacing 2025-01-27 13:29:25 -05:00
.gitignore Update .gitignore 2023-05-10 22:19:36 -04:00
cover.jpg docs: Add new cover image 2023-09-12 16:09:08 -04:00
flake.lock chore: update to nixos-unstable 2025-01-29 2025-02-02 06:07:41 -05:00
flake.nix chore: revert function spacing 2025-01-27 13:29:25 -05:00
LICENSE chore: update copyright years 2025-01-17 12:29:47 -05:00
README.md docs: Mention Mobile NixOS config 2024-09-02 10:26:24 -04:00

nix-config

My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.

A screenshot of Pepper looking earnestly at declaratively configured Git abbreviations for the fish shell, written in Nix. Background art: The market, In Bloom and Vertical cover book two screen by David Revoy CC-BY 4.0.

A screenshot of a Rust programming environment with Neovim, kitty, and bacon. Background art: Video game jam by David Revoy CC-BY 4.0.

A screenshot of a phone running NixOS and Phosh with the kitty terminal emulator. microfetch by NotAShelf, Beautiful freedom by Ick - CC-BY-SA 4.0

Features

  • Clean, readable code that can be easily modified to add/remove things as needed.
  • Fully reproducible and declarative environment thanks to NixOS.
  • Reasonably secure containers isolated from your personal files and network.
  • Nix Flakes + Home Manager + Btrfs on LUKS.
  • Simple yet effective Neovim setup with nvim-lspconfig.
  • Modern Wayland support with Hyprland and the master-stack layout.
  • Easily switch to a similar dwm config if X is necessary.
  • Full Japanese support with fonts, input method, and wine covered.
  • Working Mobile NixOS config with FriendlyFox and Phosh to run NixOS on your phone.
  • A universal color scheme inherited by all applications.

Usage

git clone https://github.com/donovanglover/nix-config && cd nix-config
nixos-rebuild build-vm --flake .#nixos
./result/bin/run-nixos-vm

The code base is designed to be small so it's easy to adjust things as needed. Have fun!