aboutsummaryrefslogtreecommitdiff
path: root/home-manager/tests/modules/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/tests/modules/systemd')
-rw-r--r--home-manager/tests/modules/systemd/services.nix2
-rw-r--r--home-manager/tests/modules/systemd/session-variables.nix2
-rw-r--r--home-manager/tests/modules/systemd/timers.nix4
3 files changed, 4 insertions, 4 deletions
diff --git a/home-manager/tests/modules/systemd/services.nix b/home-manager/tests/modules/systemd/services.nix
index f1f7a42bb1a..ea9b2b4fb87 100644
--- a/home-manager/tests/modules/systemd/services.nix
+++ b/home-manager/tests/modules/systemd/services.nix
@@ -15,7 +15,7 @@ with lib;
};
nmt.script = ''
- local serviceFile=home-files/.config/systemd/user/test-service@.service
+ serviceFile=home-files/.config/systemd/user/test-service@.service
assertFileExists $serviceFile
assertFileContent $serviceFile ${./services-expected.conf}
'';
diff --git a/home-manager/tests/modules/systemd/session-variables.nix b/home-manager/tests/modules/systemd/session-variables.nix
index 7cfb4a6c7c3..b725827ce69 100644
--- a/home-manager/tests/modules/systemd/session-variables.nix
+++ b/home-manager/tests/modules/systemd/session-variables.nix
@@ -10,7 +10,7 @@ with lib;
};
nmt.script = ''
- local envFile=home-files/.config/environment.d/10-home-manager.conf
+ envFile=home-files/.config/environment.d/10-home-manager.conf
assertFileExists $envFile
assertFileContent $envFile ${./session-variables-expected.conf}
'';
diff --git a/home-manager/tests/modules/systemd/timers.nix b/home-manager/tests/modules/systemd/timers.nix
index eaa43f17695..1c0e2722299 100644
--- a/home-manager/tests/modules/systemd/timers.nix
+++ b/home-manager/tests/modules/systemd/timers.nix
@@ -13,8 +13,8 @@ with lib;
};
nmt.script = ''
- local unitDir=home-files/.config/systemd/user
- local timerFile=$unitDir/test-timer.timer
+ unitDir=home-files/.config/systemd/user
+ timerFile=$unitDir/test-timer.timer
assertFileExists $timerFile
assertFileContent $timerFile ${./timers-expected.conf}