start syncthing on load with launchd and improve dock/spaces defaults

This commit is contained in:
Haak Saxberg 2023-05-17 22:24:58 -07:00
parent cfeb53b1ed
commit cbb40696de

View file

@ -51,6 +51,15 @@
'' ''
); );
launchd.user.agents.syncthing = {
path = [ pkgs.syncthing ];
command = "syncthing serve";
serviceConfig = {
ProcessType = "Background";
KeepAlive = true;
};
};
system.keyboard = { system.keyboard = {
enableKeyMapping = true; enableKeyMapping = true;
remapCapsLockToEscape = true; remapCapsLockToEscape = true;
@ -58,6 +67,12 @@
system.defaults = { system.defaults = {
finder.AppleShowAllExtensions = true; finder.AppleShowAllExtensions = true;
dock = {
autohide = true;
mru-spaces = false;
showhidden = true;
};
}; };
# Used for backwards compatibility, please read the changelog before changing. # Used for backwards compatibility, please read the changelog before changing.