Extract dock configuration to its own module.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-08-07 17:15:14 -07:00
parent 79aefc3cee
commit 2dd0e4e951
4 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,5 @@
{ ... } : {
imports = [
./dock.nix
];
}

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;
};
}

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.

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.