This repository contains a framework to get started with NixOS quickly, featuring opinionated and selected default settings. It also contains my personal NixOS configuration, which might serve as inspiration for other people's setups.
While starting out with NixOS, especially reading other peoples flakes proved to be very helpful, so I figured sharing
my personal setup my help other people as well!
Those who like the "dr460nized" look of Garuda will definitely like this one as well
ISO builds are available as well as a simple installer, which employs nix flake init
to deploy a basic and generic
version of this flake's template based on user's choices.
Partitioning is achieved via disko presets, and the installer may be used on
regular NixOS live mediums as well.
Users may then continue building their own version of NixOS using code snippets of this repository and further linked
sources.
Furthermore, the flakes' outputs are automatically built and cached via garnix.
There is a documentation available about various topics, which also contains the code snippets that might provide further useful customization options.
Right now, it basically just bootstraps a basic desktop environment with theming, Nix, and OS-related defaults to have common things working out of the box.
{
dr460nixed = {
chromium = true;
desktops.enable = true;
example-boot.enable = true;
performance = true;
};
}
Which translates to:
- Enjoying a fully pre-configured Garuda dr460nized KDE themed setup: Dr460nixed !
- Being able to use all of Garuda Nix Subsystems modules
- The custom Linux-cachyos BORE EEVDF kernel of the Linux CachyOS developers
- Having access to additional packages not existing in Nixpkgs (yet) via Chaotic Nyx
- Using Garnix CI cache for this flakes' outputs
- Keeping all of it well organized via flake-parts
It might receive more module options in the future, though I currently believe that showing people how to achieve things in Nix might be more useful than just providing a toggle for it.
- Multiple NixOS configurations, including desktop, server, nixos-wsl , raspberry pi & live-usb
- Root-on-ZFS and secure-boot enabled systems via Lanzaboote
- Opt-in persistence through impermanence + ZFS snapshots
- Mesh networked hosts with Tailscale
- Opt-in 2FA protection of ssh and password prompts with Duo Security
- Secrets managed via nix-sops
- Always up-to-date live images automatically built via Github actions
- Custom devshells with fully declarative pre-commit-hooks
- No password prompts when having a Yubikey connected to a device
- Easily remote-controllable machines via KDEConnect and a self-hosted Rustdesk server
- Custom bleeding-edge Mesa builds
βββ docker-compose
β βββ oracle-dragon
β βββ tv-nixos
βββ home-manager
βββ nixos
β βββ dragons-ryzen
β βββ images
β βββ modules
β β βββ chaotic
β β βββ disko
β βββ nixos-wsl
β βββ oracle-dragon
β βββ rpi-dragon
β βββ tv-nixos
βββ overlays
βββ secrets
Inspiration for parts of this configuration came from these awesome people's setups βοΈ