mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-18 22:33:00 +00:00
tests/targets-darwin: fix user-defaults test
Update to represent the new output generated by the module.
This commit is contained in:
parent
91f88408cc
commit
1909541fc7
1 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
targets.darwin = {
|
||||
|
@ -10,9 +8,9 @@
|
|||
|
||||
nmt.script = ''
|
||||
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 \
|
||||
"/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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue