Skip to content

nixos: migrate to flakes + nixos-hardware #1

Description

@fkarg

Retire the standing flakes? / nixos-hardware TODOs in the README.

Motivation. szaffarano/nix-dotfiles (see README → Related configs) shows the mature end-state for a repo with our exact "keep Ansible and Nix" philosophy: a flake pinning nixos-hardware, so the Framework laptop quirks for artus/margo come from nixos-hardware.nixosModules.framework-* upstream instead of being hand-maintained here.

Scope.

  • Add flake.nix / flake.lock; expose nixosConfigurations.{artus,margo,jolly,...}.
  • Pull hardware modules from nixos-hardware for the Framework hosts.
  • Keep the channels-based path working during transition; configuration.nix stays a reference entrypoint.
  • Follow-on (separate, once on flakes): add renovate.json for automated flake.lock bumps.

Constraint — jolly. Do NOT live-switch the graphical stack on jolly; prepare upgrades for the next boot (see docs/jolly.md). The migration must respect this — no nixos-rebuild switch on jolly as part of cutover.

Open decision. Whether to adopt home-manager at the same time is deliberately out of scope here — tracked separately.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions