mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2026-02-02 17:35:08 +01:00
README.md: comment install-to-hd by default out
otherwise people might accidentally loose data.
This commit is contained in:
parent
beda422c5f
commit
1eb200a050
1 changed files with 13 additions and 13 deletions
26
README.md
26
README.md
|
|
@ -26,19 +26,6 @@ in {
|
||||||
(pkgs.writeScriptBin "tsp-create" (disko.mount cfg))
|
(pkgs.writeScriptBin "tsp-create" (disko.mount cfg))
|
||||||
(pkgs.writeScriptBin "tsp-mount" (disko.mount cfg))
|
(pkgs.writeScriptBin "tsp-mount" (disko.mount cfg))
|
||||||
];
|
];
|
||||||
# Optional: Automatically creates a service which runs at startup to perform the partitioning
|
|
||||||
systemd.services.install-to-hd = {
|
|
||||||
enable = true;
|
|
||||||
wantedBy = ["multi-user.target"];
|
|
||||||
after = ["getty@tty1.service" ];
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
ExecStart = [ (disko.create cfg) (disk.mount cfg) ];
|
|
||||||
StandardInput = "null";
|
|
||||||
StandardOutput = "journal+console";
|
|
||||||
StandardError = "inherit";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
tsp-disk.json (TODO: find the correct disk)
|
tsp-disk.json (TODO: find the correct disk)
|
||||||
|
|
@ -63,6 +50,19 @@ tsp-disk.json (TODO: find the correct disk)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
## Optional: Automatically creates a service which runs at startup to perform the partitioning
|
||||||
|
#systemd.services.install-to-hd = {
|
||||||
|
# enable = true;
|
||||||
|
# wantedBy = ["multi-user.target"];
|
||||||
|
# after = ["getty@tty1.service" ];
|
||||||
|
# serviceConfig = {
|
||||||
|
# Type = "oneshot";
|
||||||
|
# ExecStart = [ (disko.create cfg) (disk.mount cfg) ];
|
||||||
|
# StandardInput = "null";
|
||||||
|
# StandardOutput = "journal+console";
|
||||||
|
# StandardError = "inherit";
|
||||||
|
# };
|
||||||
|
#};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue