aboutsummaryrefslogtreecommitdiff
path: root/workstation/setup.py
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-04-01 17:52:30 +0200
committeralex <alex@pdp7.net>2023-04-01 17:52:30 +0200
commit61f960755573fcd5ac932b2fa2aac14138a667ae (patch)
tree8395fc9a89a0cd01a1483e34889a0703e26b22c7 /workstation/setup.py
parent643046e7e3d9d1fcd6dfdf94f226d63e9a45a383 (diff)
Symlink .ssh
Diffstat (limited to 'workstation/setup.py')
-rwxr-xr-xworkstation/setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/workstation/setup.py b/workstation/setup.py
index 25aa2039..2bf53fcd 100755
--- a/workstation/setup.py
+++ b/workstation/setup.py
@@ -39,3 +39,6 @@ with open(nextcloud_service_path, "w", encoding="utf8") as f:
"""))
subprocess.run(["systemctl", "--user", "enable", "--now", "nextcloud"], check=True)
+
+if not pathlib.Path(".ssh").exists():
+ subprocess.run(["ln", "-s", "Nextcloud/_ssh", ".ssh"], check=True)