My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover 298792cd92
mobile-nixos: Limit audio to speaker/earpiece VoiceCall
This helps guarantee that phone call audio will work as long as the
phone wasn't suspended prior to the phone call, in which case the
pulseaudio server needs to be restarted first.

Note that this removes the possibility of using the PinePhone for tasks
where audio is particularly important, although it's likely more
enjoyable to accomplish those tasks on a more reliable device anyway.

I may come up with a solution that automates fixing the audio after
suspend in the future.
2024-08-15 11:20:23 -04:00
.github ci: Add check with nixf-tidy 2024-08-08 22:44:02 -04:00
assets ironbar: Update to latest commit 2024-08-04 11:34:40 -04:00
containers treewide(nix): Remove duplicate attribute name usage 2024-08-10 20:55:46 -04:00
example example: Format with nixfmt-rfc-style 2024-08-03 14:31:14 -04:00
home librewolf: Use mobile-friendly-firefox styles 2024-08-13 17:17:32 -04:00
hosts phone: Ensure 4G connection on initial build 2024-08-12 20:05:52 -04:00
lib treewide: Format remaining files with nixfmt-rfc-style 2024-08-03 14:49:00 -04:00
modules system: Open dnsmasq ports with hotspot option 2024-08-15 11:04:35 -04:00
overlays ironbar: Update to latest commit 2024-08-04 11:34:40 -04:00
packages packages(all-the-package-names): Run nix-update 2024-08-11 16:58:42 -04:00
specializations treewide(nix): Remove duplicate attribute name usage 2024-08-10 20:55:46 -04:00
tests chore: Format with nix fmt 2024-08-03 15:27:04 -04: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 mobile-nixos: Limit audio to speaker/earpiece VoiceCall 2024-08-15 11:20:23 -04:00
flake.nix flake: Switch to home-manager fork for librewolf support 2024-08-13 14:36:14 -04:00
LICENSE chore: Update LICENSE 2024-01-02 18:19:51 -05:00
README.md docs: Change link to new official NixOS wiki 2024-05-17 22:21:15 -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.

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.
  • Full Japanese support with fonts, input method, and wine covered.
  • Specializations for easy switching between Hyprland, GNOME, and Plasma.
  • 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!