2
0
Fork 0

nixos: move ExecStart to end of systemd children list

This commit is contained in:
Ehmry - 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::{ Init::{
, routes = , routes =
parentRoutes [ "File_system", "Rtc", "Terminal", "Timer" ] parentRoutes [ "File_system", "Rtc", "Terminal", "Timer" ]
, children = toMap , children =
toMap
{ vfs = { vfs =
Child.flat Child.flat
Child.Attributes::{ Child.Attributes::{
@ -55,7 +56,9 @@ in λ ( params
[ VFS.vfs [ VFS.vfs
( [ VFS.dir ( [ VFS.dir
"dev" "dev"
( [ VFS.dir "pipes" [ VFS.leaf "pipe" ] ( [ VFS.dir
"pipes"
[ VFS.leaf "pipe" ]
, VFS.leaf "log" , VFS.leaf "log"
, VFS.leaf "null" , VFS.leaf "null"
, VFS.leafAttrs , VFS.leafAttrs
@ -85,7 +88,9 @@ in λ ( params
[ VFS.dir [ VFS.dir
"store" "store"
[ VFS.fs [ 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.flat
Child.Attributes::{ Child.Attributes::{
, binary = params.binary , binary = params.binary
@ -165,6 +172,7 @@ in λ ( params
] ]
} }
} }
]
} }
in Init.toChild init Init.Attributes::{=} in Init.toChild init Init.Attributes::{=}