Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
fix: flake lock error with home-manager (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen authored Apr 14, 2023
1 parent e271fcb commit 94ab72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/flake/flake.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func (f *Flake) Apply() error {
if err != nil {
return err
}
applyCmdLine := []string{"run", "--impure", "home-manager/master", "--", "-b", "bak", "switch", "--flake", ".#" + user + "@" + host}
applyCmdLine := []string{"run", "--no-write-lock-file", "--impure", "home-manager/master", "--", "-b", "bak", "switch", "--flake", ".#" + user + "@" + host}
out, err := f.runNix(nixbin, applyCmdLine)
if err != nil {
if bytes.Contains(out, []byte("priority")) {
Expand Down

0 comments on commit 94ab72d

Please sign in to comment.