diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2019-09-16 10:51:13 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2019-09-16 10:51:13 +0100 |
commit | 1eb200a050486485ee116d9accff813520a49483 (patch) | |
tree | 02ef1277a50567b078b4f04282878fd4390d2f3a | |
parent | beda422c5fa830f0ae8d4aa34a305a10166590f8 (diff) |
README.md: comment install-to-hd by default out
otherwise people might accidentally loose data.
-rw-r--r-- | README.md | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -26,19 +26,6 @@ in { (pkgs.writeScriptBin "tsp-create" (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) @@ -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"; + # }; + #}; } ``` |