ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

set_profile: only run on Switch or Boot

+4 -2
+4 -2
wire/lib/src/hive/steps/activate.rs
··· 85 85 unreachable!("Cannot reach as guarded by should_execute") 86 86 }; 87 87 88 - if !matches!( 88 + if matches!( 89 89 goal, 90 - SwitchToConfigurationGoal::DryActivate | SwitchToConfigurationGoal::Boot 90 + // switch profile if switch or boot 91 + // https://github.com/NixOS/nixpkgs/blob/a2c92aa34735a04010671e3378e2aa2d109b2a72/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/services.py#L224 92 + SwitchToConfigurationGoal::Switch | SwitchToConfigurationGoal::Boot 91 93 ) { 92 94 set_profile(*goal, built_path, ctx).await?; 93 95 }