forked from lix-project/lix-installer
nix -> Nix (#106)
* nix -> Nix * Update create_user.rs * Update create_users_and_groups.rs
This commit is contained in:
parent
c2a4f3cbc9
commit
cda9fcfc03
|
@ -42,7 +42,7 @@ impl Action for CreateUser {
|
|||
vec![ActionDescription::new(
|
||||
self.tracing_synopsis(),
|
||||
vec![format!(
|
||||
"The nix daemon requires system users it can act as in order to build"
|
||||
"The Nix daemon requires system users it can act as in order to build"
|
||||
)],
|
||||
)]
|
||||
}
|
||||
|
@ -226,7 +226,7 @@ impl Action for CreateUser {
|
|||
self.name, self.uid, self.groupname, self.gid
|
||||
),
|
||||
vec![format!(
|
||||
"The nix daemon requires system users it can act as in order to build"
|
||||
"The Nix daemon requires system users it can act as in order to build"
|
||||
)],
|
||||
)]
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ impl Action for CreateUsersAndGroups {
|
|||
}
|
||||
|
||||
let mut explanation = vec![
|
||||
format!("The nix daemon requires system users (and a group they share) which it can act as in order to build"),
|
||||
format!("The Nix daemon requires system users (and a group they share) which it can act as in order to build"),
|
||||
];
|
||||
if let Some(val) = create_group.describe_execute().iter().next() {
|
||||
explanation.push(val.description.clone())
|
||||
|
@ -175,7 +175,7 @@ impl Action for CreateUsersAndGroups {
|
|||
}
|
||||
|
||||
let mut explanation = vec![
|
||||
format!("The nix daemon requires system users (and a group they share) which it can act as in order to build"),
|
||||
format!("The Nix daemon requires system users (and a group they share) which it can act as in order to build"),
|
||||
];
|
||||
if let Some(val) = create_group.describe_revert().iter().next() {
|
||||
explanation.push(val.description.clone())
|
||||
|
|
|
@ -47,7 +47,7 @@ impl PlaceNixConfiguration {
|
|||
#[typetag::serde(name = "place_nix_configuration")]
|
||||
impl Action for PlaceNixConfiguration {
|
||||
fn tracing_synopsis(&self) -> String {
|
||||
format!("Place the nix configuration in `{NIX_CONF}`")
|
||||
format!("Place the Nix configuration in `{NIX_CONF}`")
|
||||
}
|
||||
|
||||
fn execute_description(&self) -> Vec<ActionDescription> {
|
||||
|
@ -75,7 +75,7 @@ impl Action for PlaceNixConfiguration {
|
|||
|
||||
fn revert_description(&self) -> Vec<ActionDescription> {
|
||||
vec![ActionDescription::new(
|
||||
format!("Remove the nix configuration in `{NIX_CONF}`"),
|
||||
format!("Remove the Nix configuration in `{NIX_CONF}`"),
|
||||
vec![
|
||||
"This file is read by the Nix daemon to set its configuration options at runtime."
|
||||
.to_string(),
|
||||
|
|
Loading…
Reference in a new issue