Skip to content

Commit

Permalink
activate: Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 14, 2024
1 parent 040b4db commit 4d2954e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions activate/activate.nu
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,11 @@ def parseFlakeOutputRef [ spec: string ] {
}
}

# Activate system configuration of the given host
# Activate system or home configuration
#
# The hostname should match the name of the corresponding nixosConfigurations or
# darwinConfigurations attrkey. "localhost" is an exception, which will use the
# current host.
# The ref should match the name of the corresponding nixosConfigurations, darwinConfigurations or homeConfigurations attrkey. "localhost" is an exception, which will use the current host.
def main [
ref: string = "localhost" # Hostname to activate
ref: string = "localhost" # Hostname or username (if containing `@`) to activate
] {
let spec = parseFlakeOutputRef $ref
if $spec.user != null {
Expand Down

0 comments on commit 4d2954e

Please sign in to comment.