remove redundant sourcing of ${serviceFns}

this is done by the oneshot and longrun functions
This commit is contained in:
Daniel Barlow
2024-08-28 21:28:27 +01:00
parent 283c3154a7
commit 7351e143c5
8 changed files with 0 additions and 10 deletions

View File

@@ -60,7 +60,6 @@ in rec {
dependencies = [ services.dhcpc ];
name = "resolvconf";
up = ''
. ${serviceFns}
( in_outputs ${name}
for i in $(output ${services.dhcpc} dns); do
echo "nameserver $i" > resolv.conf
@@ -72,7 +71,6 @@ in rec {
services.growfs = let name = "growfs"; in oneshot {
inherit name;
up = ''
. ${serviceFns}
device=$(grep /persist /proc/1/mountinfo | cut -f9 -d' ')
${pkgs.e2fsprogs}/bin/resize2fs $device
'';