Commit c1a536f3 authored by Eman Resu's avatar Eman Resu
Browse files

nixos-rebuild: add `-F` convenience flag for `--flake`

parent 7f009a16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ _nixos-rebuild() {

    # flakes options
    --commit-lock-file
    --flake # flake-uri
    --flake -F # flake-uri
    --override-input # input-name flake-uri
    --recreate-lock-file
    --update-input
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
.br
.Op Fl -file | f Ar path
.Op Fl -attr | A Ar attrPath
.Op Fl -flake Ar flake-uri
.Op Fl -flake | F Ar flake-uri
.Op Fl -no-flake
.Op Fl -recreate-lock-file
.Op Fl -no-update-lock-file
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ while [ "$#" -gt 0 ]; do
      --no-ssh-tty)
        noSSHTTY=1
        ;;
      --flake)
      --flake|-F)
        flake="$1"
        shift 1
        ;;