My personal NixOS configuration, managed with Nix Flakes.
Important
Note: I am not currently using home-manager for user-level dotfile configuration.
![]() |
![]() |
![]() |
|---|
- Declarative & Reproducible: Managed entirely by Nix Flakes for a consistent environment.
- Window Managers: Includes configurations for both Hyprland and Niri.
- 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
pkgsandoverlaysdirectories. - Deployment: Utilizes deploy-rs for remote deployment.
This repository is organized as follows:
flake.nix: The entry point for the entire configuration, defining all inputs and outputs.hosts/: Contains system-level configurations for specific machines.home/: Manages user-level application configurations and dotfiles.system/: Holds global, cross-host system modules.programs/: Declaratively manages configurations for various applications.servers/: Contains configurations for system background services.modules/: Reusable custom NixOS modules for different configurations.overlays/: Modifications or overrides for existing packages innixpkgs.pkgs/: Contains custom-defined packages.themes/: Manages themes and visual styles for the system and applications.devShell/: Provides development environments for different programming languages.iso/: Configuration for building a bootable NixOS ISO image.deploy/: Contains configurations related to remote deployment.lib/: Contains custom Nix helper functions.secrets/: Manages encrypted files usingsops-nix.
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.shManual 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
rustdeskunder 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.
My personal Cachix Cache
- substituter:
https://loneros.cachix.org - public-key:
loneros.cachix.org-1:dVCECfW25sOY3PBHGBUwmQYrhRRK2+p37fVtycnedDU=






