Quick Start
Option 1: Use the workstation template
Section titled “Option 1: Use the workstation template”The fastest way to get started is with the built-in template:
nix flake init -t github:Jylhis/marchyo#workstationThis creates a complete configuration with desktop environment, development tools, and sensible defaults. See the Workstation Template guide for details.
Option 2: Add to an existing flake
Section titled “Option 2: Add to an existing flake”Add Marchyo as your only input and build with marchyo.lib.mkNixosSystem. It
selects nixpkgs (unstable),
home-manager, overlay and marchyo modules automatically — you supply
only your own config modules.
{ inputs.marchyo.url = "github:Jylhis/marchyo";
outputs = { marchyo, ... }: { nixosConfigurations.myhost = marchyo.lib.mkNixosSystem { system = "x86_64-linux"; modules = [ ./hardware-configuration.nix { marchyo.desktop.enable = true; marchyo.development.enable = true; marchyo.users.myuser = { fullname = "Your Name"; email = "your.email@example.com"; }; } ]; }; };}Home Manager only?
Section titled “Home Manager only?”Not supported. marchyo’s Home Manager modules read the NixOS options
(osConfig.marchyo.*) as their single source of truth, so they only evaluate
under the marchyo NixOS module, which imports them for every marchyo.users
entry.
Minimal example
Section titled “Minimal example”A minimal configuration that enables only the desktop environment:
{ marchyo.desktop.enable = true; marchyo.users.myuser = { fullname = "Your Name"; email = "you@example.com"; };}Enabling marchyo.desktop.enable automatically enables media and office applications via cascading defaults. You can override any of these:
{ marchyo.desktop.enable = true; marchyo.media.enable = false; # Override: disable media apps}Next steps
Section titled “Next steps”- Feature Flags — Learn about the available feature groups
- User Configuration — Configure user accounts
- Theming — Customize the look and feel
- Keyboard — Set up keyboard layouts and input methods
- Keybindings & Navigation — The desktop hotkeys you’ll use every day