summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-11-15 14:03:43 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-11-15 14:10:48 +1100
commitdae702993d18c608f07e9d320ccba816e9bce064 (patch)
treef7703d194fbe9a9bb51ca9744f9eb441a084ecb0 /tests
parent6c71c49e2448e51ad830ed211024e6d0edc50116 (diff)
activate-system: remove `enable` option
Disabling this is not supported as `/run` gets cleared out on every reboot so it is necessary for ensuring that the `/run/current-system` symlink exists.
Diffstat (limited to 'tests')
-rw-r--r--tests/services-activate-system-changed-label-prefix.nix1
-rw-r--r--tests/services-activate-system.nix2
2 files changed, 0 insertions, 3 deletions
diff --git a/tests/services-activate-system-changed-label-prefix.nix b/tests/services-activate-system-changed-label-prefix.nix
index 1ae2bcf..2c2f603 100644
--- a/tests/services-activate-system-changed-label-prefix.nix
+++ b/tests/services-activate-system-changed-label-prefix.nix
@@ -1,7 +1,6 @@
{ config, pkgs, ... }:
{
- services.activate-system.enable = true;
launchd.labelPrefix = "org.nix-darwin";
test = ''
diff --git a/tests/services-activate-system.nix b/tests/services-activate-system.nix
index c519aa8..702bb26 100644
--- a/tests/services-activate-system.nix
+++ b/tests/services-activate-system.nix
@@ -1,8 +1,6 @@
{ config, pkgs, ... }:
{
- services.activate-system.enable = true;
-
test = ''
echo checking activation service in /Library/LaunchDaemons >&2
grep "org.nixos.activate-system" ${config.out}/Library/LaunchDaemons/org.nixos.activate-system.plist