1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-18 14:28:15 +00:00

tests/targets-darwin: fix user-defaults test

Update to represent the new output generated by the module.
This commit is contained in:
Austin Horstman 2025-02-27 20:54:49 -05:00
parent 91f88408cc
commit 1909541fc7

View file

@ -1,5 +1,3 @@
{ lib, ... }:
{ {
config = { config = {
targets.darwin = { targets.darwin = {
@ -10,9 +8,9 @@
nmt.script = '' nmt.script = ''
assertFileRegex activate \ assertFileRegex activate \
"/usr/bin/defaults import 'com.apple.desktopservices' /nix/store/[a-z0-9]\\{32\\}-com\\.apple\\.desktopservices\\.plist" "/usr/bin/defaults import com.apple.desktopservices /nix/store/[a-z0-9]\\{32\\}-com\\.apple\\.desktopservices\\.plist"
assertFileRegex activate \ assertFileRegex activate \
"/usr/bin/defaults -currentHost import 'com.apple.controlcenter' /nix/store/[a-z0-9]\\{32\\}-com\\.apple\\.controlcenter\\.plist" "/usr/bin/defaults -currentHost import com.apple.controlcenter /nix/store/[a-z0-9]\\{32\\}-com\\.apple\\.controlcenter\\.plist"
''; '';
}; };
} }