My personal NixOS configuration, managed with Nix Flakes.
Important
Note: I am not currently using home-manager for user-level dotfile configuration.
![]() |
![]() |
![]() |
---|
🎨 Gruvbox Style (Click to expand)
|  |  |  | | :---------------------------------: | :---------------------------------: | :---------------------------------: |
- Declarative & Reproducible: Managed entirely by Nix Flakes for a consistent environment.
- Window Manager: Uses Hyprland, a dynamic tiling Wayland compositor.
- Theming: Themed with Stylix and the beautiful Catppuccin color scheme.
- Secrets Management: Securely manages secrets using sops-nix.
- Custom Packages: Includes custom packages and overlays, defined in the
pkgs
andoverlays
directories. - Deployment: Utilizes deploy-rs for remote deployment.
This repository is organized as follows:
flake.nix
: The entry point for the entire configuration.hosts/
: Contains machine-specific configurations.loneros/
: Main desktop configuration.remote-vm/
: Configuration for a remote virtual machine.
home/
: User-specific configurations (not managed by home-manager).modules/
: Reusable NixOS modules for drivers and services.overlays/
: Customizations and overrides for existing packages.pkgs/
: Definitions for custom packages.programs/
: Configurations for various applications.system/
: Global, system-wide settings.secrets/
: Holds secret definitions forsops-nix
.themes/
: Theming definitions, primarily forstylix
.
To install this configuration on a new machine, you can use the provided install.sh
script or manually use nixos-install
.
Automated Script:
git clone https://github.com/lonerOrz/loneros-nixos.git
cd loneros-nixos
chmod +x install.sh
./install.sh
Manual Flake Installation:
Replace <hostname>
with one of the defined hosts (e.g., loneros
).
sudo nixos-install --flake .#<hostname>
To apply changes after modifying the configuration, run the following command:
# Using a helper tool like nh
nh os switch --flake .#<hostname>
# Or using standard nixos-rebuild
sudo nixos-rebuild switch --flake .#<hostname>
- Support more themes.
- Fix the "RemoteDesktop portal not implemented" error in
rustdesk
under Hyprland. - Write more detailed documentation.
This configuration was inspired by and utilizes resources from the following projects:
- NixOS Manual: For NixOS options and documentation.
- Catppuccin: For the color scheme.
- ZaneyOS: As a reference for configuration patterns.