Skip to content

Commit

Permalink
Make switch the default command for NixOS
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 23, 2024
1 parent 75f8377 commit ed5b1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/cmd/apply/nixos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ use clap::{Parser, ValueEnum};
pub(super) struct NixOS {
/// The command to run from the profile's bin/switch-to-configuration.
/// Takes the form bin/switch-to-configuration <cmd>.
#[arg(long, env = "FH_NIXOS_VERB", name = "CMD")]
#[arg(long, env = "FH_NIXOS_VERB", name = "CMD", default_value = "switch")]
pub(super) run: Option<Verb>,

/// The FlakeHub output reference to apply to the profile.
/// The FlakeHub output reference to apply to the system profile.
/// References must be of this form: {org}/{flake}/{version_req}#{attr_path}
pub(super) output_ref: String,
}
Expand Down

0 comments on commit ed5b1c9

Please sign in to comment.