!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

1230 Members
NixOS Deployment tooling292 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Apr 2025
@kalessin:cybre.spacekalessin Ok, so it's not just all of the imports phase? 18:10:23
@roberthensing:matrix.orgRobert Hensing (roberth)

But to really see the potential:

  1. Make significant cuts in modules-list.nix and fix a few broken options references
  2. Watch instantiation of toplevel go down from 4.0 to 1.4 seconds.
  • https://github.com/NixOS/nixpkgs/issues/137168

Seems safe to assume the list hasn't shrunk in the past 3.5 years :)

18:18:07
@roberthensing:matrix.orgRobert Hensing (roberth)I assumed vars generation would run on the host, being part of the config. Is this representative or accidentally wonky? https://github.com/Lassulus/vars/blob/066dbc738838b79be6bc80b88559cb88e0fffffd/testing.nix#L7518:25:40
@roberthensing:matrix.orgRobert Hensing (roberth)fwiw this way the test can't run on a darwin VM host, but that's probably besides the point18:27:50
@kalessin:cybre.spacekalessinIt's one representation, e.g. in clan vars generation is done from on the developer machine, ahead of deploying to a nixos host.18:27:52
@kalessin:cybre.spacekalessin* It's one representation, e.g. in clan vars generation is done on the developer machine, ahead of deploying to a nixos host.18:28:43
@kalessin:cybre.spacekalessin Like the vars definitions get evaluated, the result is exported, something does the prompting, and interacts with some secrets backend, then that something uploads some result/generated vars to the nixos host, or a key to decrypt them (if the result/generated vars are uploaded through the nix store), to the nixos host, and finally when you get to nixos-rebuild switch on your nixos host, your secrets get "activated" by something else that matches how something laid out the result/generated vars. 18:34:43
@kalessin:cybre.spacekalessinhope that helps 🥵18:35:25
@kalessin:cybre.spacekalessinMy effort here, is to figure out how the vars interfaces could be used in different systems: clan, nixops4, …, in order to help the vars PR progress, and figure out where things intersect and overlap, to see if some of the work can be shared across different systems.18:42:38

Show newer messages


Back to Room ListRoom Version: 6