[mac] Extract dock configuration to its own module.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
jmug
2025-08-07 17:15:58 -07:00
parent 79aefc3cee
commit e40afb9f8d
4 changed files with 19 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
{ ... } : {
imports = [
./dock.nix
];
}
+10
View File
@@ -0,0 +1,10 @@
{ ... } : {
system.defaults.dock = {
autohide = true;
mru-spaces = false; # Don't reorder spaces.
show-recents = false; # Don't keep recent app icons around.
magnification= true;
tilesize = 48;
largesize= 96;
};
}
+2 -1
View File
@@ -1,8 +1,9 @@
{ self, pkgs, config, ... }: { { self, pkgs, config, ... }: {
imports = [ imports = [
./hotkeys.nix ../common/darwin
../../modules/common ../../modules/common
./hotkeys.nix
]; ];
# To reflect hotkeys without a login cycle. # To reflect hotkeys without a login cycle.
+2 -1
View File
@@ -1,8 +1,9 @@
{ self, pkgs, config, ... }: { { self, pkgs, config, ... }: {
imports = [ imports = [
./hotkeys.nix ../common/darwin
../../modules/common ../../modules/common
./hotkeys.nix
]; ];
# To reflect hotkeys without a login cycle. # To reflect hotkeys without a login cycle.