mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 04:04:16 +02:00
Use the short install link steam-frame-nix.lhns.de
It redirects to install.sh on main; README keeps the raw GitHub URL as a fallback.
This commit is contained in:
1 parent
9fdb21e598
commit
0c7622ab64
2 files changed
+7
-7
No files matched your search
@@ -17,7 +17,7 @@ On the Frame (or a Steam Deck), open a terminal (Konsole in the desktop
|
|||||||
mode / nested desktop) and run:
|
mode / nested desktop) and run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://raw.githubusercontent.com/lhns/steam-frame-nix/main/install.sh | bash -s -- install
|
curl -fsSL https://steam-frame-nix.lhns.de | bash -s -- install
|
||||||
```
|
```
|
||||||
|
|
||||||
`sudo` needs a password: if you never set one, run `passwd` first.
|
`sudo` needs a password: if you never set one, run `passwd` first.
|
||||||
@@ -41,10 +41,10 @@ desktop.
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# status: Nix, Home Manager generation, steam-frame-nix services
|
# status: Nix, Home Manager generation, steam-frame-nix services
|
||||||
curl -fsSL https://raw.githubusercontent.com/lhns/steam-frame-nix/main/install.sh | bash -s -- status
|
curl -fsSL https://steam-frame-nix.lhns.de | bash -s -- status
|
||||||
|
|
||||||
# uninstall Home Manager and Nix (--keep-nix keeps Nix)
|
# uninstall Home Manager and Nix (--keep-nix keeps Nix)
|
||||||
curl -fsSL https://raw.githubusercontent.com/lhns/steam-frame-nix/main/install.sh | bash -s -- uninstall
|
curl -fsSL https://steam-frame-nix.lhns.de | bash -s -- uninstall
|
||||||
```
|
```
|
||||||
|
|
||||||
The uninstaller first stops the user services Home Manager installed (which
|
The uninstaller first stops the user services Home Manager installed (which
|
||||||
|
|||||||
+4
-4
@@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Install or uninstall Nix + Home Manager on SteamOS (Steam Frame, Steam Deck).
|
# Install or uninstall Nix + Home Manager on SteamOS (Steam Frame, Steam Deck).
|
||||||
#
|
#
|
||||||
# curl -fsSL https://raw.githubusercontent.com/lhns/steam-frame-nix/main/install.sh | bash -s -- install
|
# curl -fsSL https://steam-frame-nix.lhns.de | bash -s -- install
|
||||||
# curl -fsSL https://raw.githubusercontent.com/lhns/steam-frame-nix/main/install.sh | bash -s -- uninstall
|
# curl -fsSL https://steam-frame-nix.lhns.de | bash -s -- uninstall
|
||||||
#
|
#
|
||||||
# Run `install.sh --help` for details. Works from a file or piped into bash
|
# Run `install.sh --help` for details. Works from a file or piped into bash
|
||||||
# (prompts read from /dev/tty).
|
# (prompts read from /dev/tty).
|
||||||
@@ -70,7 +70,7 @@ Options:
|
|||||||
--help, -h Show this help.
|
--help, -h Show this help.
|
||||||
|
|
||||||
Piped:
|
Piped:
|
||||||
curl -fsSL https://raw.githubusercontent.com/lhns/steam-frame-nix/main/install.sh | bash -s -- install
|
curl -fsSL https://steam-frame-nix.lhns.de | bash -s -- install
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -494,7 +494,7 @@ cmd_uninstall() {
|
|||||||
if [[ -f ${BASH_SOURCE[0]:-} && -x /usr/bin/bash ]]; then
|
if [[ -f ${BASH_SOURCE[0]:-} && -x /usr/bin/bash ]]; then
|
||||||
exec /usr/bin/bash "${BASH_SOURCE[0]}" uninstall "${orig_args[@]}"
|
exec /usr/bin/bash "${BASH_SOURCE[0]}" uninstall "${orig_args[@]}"
|
||||||
fi
|
fi
|
||||||
die "this shell's bash is from Nix; run: curl -fsSL https://raw.githubusercontent.com/lhns/steam-frame-nix/main/install.sh | /usr/bin/bash -s -- uninstall"
|
die "this shell's bash is from Nix; run: curl -fsSL https://steam-frame-nix.lhns.de | /usr/bin/bash -s -- uninstall"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( keep_nix )); then
|
if (( keep_nix )); then
|
||||||
|
|||||||
Reference in new issue
Block a user