summaryrefslogtreecommitdiff
path: root/disko.sh
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-10-09 18:19:57 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-10-09 18:19:57 +0530
commitf4301e2194ede90f6fe3ab70be5e598a6eb5f2e4 (patch)
tree29490e04e9400ca16be6ee2d16bb4c05a65d7feb /disko.sh
parent55bc8a949a13e0909d05ee1ecaeae0ab3035f37b (diff)
(impermanence): Initial try.
Diffstat (limited to 'disko.sh')
-rwxr-xr-xdisko.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/disko.sh b/disko.sh
new file mode 100755
index 0000000..7c1296b
--- /dev/null
+++ b/disko.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+sudo nix \
+ --experimental-features "nix-command flakes" \
+ run github:nix-community/disko -- --mode disko ./disko.nix \
+ --arg device "/dev/nvme0n1"