macos/system.nix: use primaryUser
This commit is contained in:
@@ -97,6 +97,6 @@
|
|||||||
|
|
||||||
system.activationScripts.postActivation.text = ''
|
system.activationScripts.postActivation.text = ''
|
||||||
# Following line should allow us to avoid a logout/login cycle when changing settings
|
# Following line should allow us to avoid a logout/login cycle when changing settings
|
||||||
sudo -u tbingmann /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
|
sudo -u ${config.system.primaryUser} /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user