Files
Nomarchy/templates/downstream/flake.nix
Bernardo Magri 748d4af414
Some checks failed
Check / eval (push) Has been cancelled
fix(install): bake dconf, seed main, name ISO, display modes (#123–#126)
Batch of existing-bug fixes from Acer/XPS install findings:

- #123: HM pre-activate creates /run/user/$UID and prefers
  dbus-run-session so dconf no longer aborts the desktop bake
- #124: main-built ISOs seed ?ref=main; patch-template rewrites
  inputs.nomarchy.url from NOMARCHY_FLAKE_URL (was set but unused)
- #125: image.baseName → nomarchy-live-….iso (not nixos-live-…)
- #126: Display mode list sorted by pixel area; toast shows hyprctl
  size; TESTING notes QEMU fixed-window scaling illusion

Verified: V0 flake check, installer-safety, baseName eval, patch-template
flakeUrl rewrite, mode-sort fixture.
2026-07-15 09:58:53 +01:00

25 lines
1006 B
Nix

{
description = "My Nomarchy machine";
# The only input. nixpkgs, home-manager etc. come pinned through it —
# tested together upstream. This file is written once (by you or the
# installer) and never hand-edited afterwards; your machine lives in
# system.nix and home.nix.
# Development tip is `main`. Release consumers pin `?ref=v1` once that
# pointer is current (installer overwrites this URL from the ISO build).
# Installer copies this template and patches username + hardwareProfile
# + the nomarchy input URL.
inputs.nomarchy.url = "git+https://git.bemagri.xyz/bernardo/nomarchy.git?ref=main";
outputs = { nomarchy, ... }:
nomarchy.lib.mkFlake {
src = ./.;
username = "me"; # <- your login name
# Optional: a nixos-hardware module name for your machine, e.g.
# hardwareProfile = "framework-13-7040-amd";
# Names: https://github.com/NixOS/nixos-hardware
# (the future installer fills this in automatically from DMI data)
};
}