Add darwin configuration into

This commit is contained in:
Laurent Gueret
2026-02-11 13:15:26 +01:00
parent 80e5d0b8b5
commit e75b09a750
71 changed files with 562 additions and 151 deletions
+30
View File
@@ -0,0 +1,30 @@
{ self, ... }:
{
# Add ability to use TouchID for sudo
security.pam.services.sudo_local.touchIdAuth = true;
system = {
stateVersion = 6;
configurationRevision = self.rev or self.dirtyRev or null;
defaults = {
controlcenter.BatteryShowPercentage = true;
dock = {
show-recents = false;
tilesize = 30;
autohide = false;
orientation = "bottom";
};
finder = {
ShowHardDrivesOnDesktop = false;
ShowMountedServersOnDesktop = false;
ShowExternalHardDrivesOnDesktop = false;
ShowRemovableMediaOnDesktop = false;
FXRemoveOldTrashItems = true;
NewWindowTarget = "Home";
};
loginwindow = {
GuestEnabled = false;
};
};
};
}