Skip to content

Commit

Permalink
remove --accept-flake-config from home-manager in sysdo
Browse files Browse the repository at this point in the history
  • Loading branch information
bri committed Feb 13, 2024
1 parent fd5a4c9 commit ecae590
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/do.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ def build(
"home-manager",
"build",
"--refresh",
"--accept-flake-config",
"--flake",
]
else:
Expand Down Expand Up @@ -330,7 +329,7 @@ def switch(
elif cfg == FlakeOutputs.DARWIN:
cmd = "darwin-rebuild switch --refresh --flake"
elif cfg == FlakeOutputs.HOME_MANAGER:
cmd = "home-manager switch --refresh --accept-flake-config --flake"
cmd = "home-manager switch --refresh --flake"
else:
typer.secho("could not infer system type.", fg=Colors.ERROR.value)
raise typer.Abort()
Expand Down

0 comments on commit ecae590

Please sign in to comment.