summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md49
1 files changed, 25 insertions, 24 deletions
diff --git a/README.md b/README.md
index 19ae9b0..c28b40a 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,31 @@ Master Boot Record
------------------
This is how your iso configuation may look like
+/etc/nixos/tsp-disk.json (TODO: find the correct disk)
+```json
+{
+ "type": "devices",
+ "content": {
+ "sda": {
+ "type": "table",
+ "format": "msdos",
+ "partitions": [{
+ "type": "partition",
+ "start": "1M",
+ "end": "100%",
+ "bootable": true,
+ "content": {
+ "type": "filesystem",
+ "format": "ext4",
+ "mountpoint": "/"
+ }
+ }]
+ }
+ }
+}
+```
+
+/etc/nixos/configuration.nix
```nix
{ pkgs, ... }:
let
@@ -26,30 +51,6 @@ in {
(pkgs.writeScriptBin "tsp-create" (disko.mount cfg))
(pkgs.writeScriptBin "tsp-mount" (disko.mount cfg))
];
-}
-```
-tsp-disk.json (TODO: find the correct disk)
-```json
-{
- "type": "devices",
- "content": {
- "sda": {
- "type": "table",
- "format": "msdos",
- "partitions": [
- { "type": "partition",
- "start": "1M",
- "end": "100%",
- "bootable": true,
- "content": {
- "type": "filesystem",
- "format": "ext4",
- "mountpoint": "/"
- }
- }
- ]
- }
- }
## Optional: Automatically creates a service which runs at startup to perform the partitioning
#systemd.services.install-to-hd = {
# enable = true;