diff --git a/home-manager/completion.bash b/home-manager/completion.bash index de7804515..d59c8a118 100644 --- a/home-manager/completion.bash +++ b/home-manager/completion.bash @@ -301,7 +301,7 @@ _home-manager_completions () "--verbose" "--cores" "--debug" "--impure" "--keep-failed" \ "--keep-going" "-j" "--max-jobs" "--no-substitute" "--no-out-link" \ "-L" "--print-build-logs" \ - "--show-trace" "--substitute" "--builders" "--version" \ + "--show-trace" "--flake" "--substitute" "--builders" "--version" \ "--update-input" "--override-input" "--experimental-features" \ "--extra-experimental-features" "--refresh") diff --git a/home-manager/completion.zsh b/home-manager/completion.zsh index 52bcce90e..43cc9bdb9 100644 --- a/home-manager/completion.zsh +++ b/home-manager/completion.zsh @@ -6,6 +6,7 @@ _arguments \ '-A[attribute]:ATTRIBUTE:()' \ '-I[search path]:PATH:_files -/' \ '-b[backup files]:EXT:()' \ + '--flake[flake-uri]:PATH:_files -/' \ '--cores[cores]:NUM:()' \ '--debug[debug]' \ '--impure[impure]' \ @@ -53,6 +54,7 @@ case "$state" in build|switch) _arguments \ '--cores[cores]:NUM:()' \ + '--flake[flake-uri]:PATH:_files -/' \ '--debug[debug]' \ '--impure[impure]' \ '--keep-failed[keep failed]' \