2
0
Fork 0

nixos: move ExecStart to end of systemd children list

This commit is contained in:
Emery Hemingway 2020-12-21 00:53:54 +01:00
parent 8a8f67bdda
commit 5d4fee3bf2
1 changed files with 129 additions and 121 deletions

View File

@ -40,7 +40,8 @@ in λ ( params
Init::{
, routes =
parentRoutes [ "File_system", "Rtc", "Terminal", "Timer" ]
, children = toMap
, children =
toMap
{ vfs =
Child.flat
Child.Attributes::{
@ -55,7 +56,9 @@ in λ ( params
[ VFS.vfs
( [ VFS.dir
"dev"
( [ VFS.dir "pipes" [ VFS.leaf "pipe" ]
( [ VFS.dir
"pipes"
[ VFS.leaf "pipe" ]
, VFS.leaf "log"
, VFS.leaf "null"
, VFS.leafAttrs
@ -85,7 +88,9 @@ in λ ( params
[ VFS.dir
"store"
[ VFS.fs
VFS.FS::{ label = "nix-store" }
VFS.FS::{
, label = "nix-store"
}
]
]
]
@ -124,7 +129,9 @@ in λ ( params
]
}
}
, ExecStart =
}
# [ { mapKey = "ExecStart"
, mapValue =
Child.flat
Child.Attributes::{
, binary = params.binary
@ -165,6 +172,7 @@ in λ ( params
]
}
}
]
}
in Init.toChild init Init.Attributes::{=}