[mac] Extract dock configuration to its own module.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
79aefc3cee
commit
e40afb9f8d
4 changed files with 19 additions and 2 deletions
5
hosts/common/darwin/default.nix
Normal file
5
hosts/common/darwin/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ ... } : {
|
||||
imports = [
|
||||
./dock.nix
|
||||
];
|
||||
}
|
||||
10
hosts/common/darwin/dock.nix
Normal file
10
hosts/common/darwin/dock.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
{ self, pkgs, config, ... }: {
|
||||
|
||||
imports = [
|
||||
./hotkeys.nix
|
||||
../common/darwin
|
||||
../../modules/common
|
||||
./hotkeys.nix
|
||||
];
|
||||
|
||||
# To reflect hotkeys without a login cycle.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
{ self, pkgs, config, ... }: {
|
||||
|
||||
imports = [
|
||||
./hotkeys.nix
|
||||
../common/darwin
|
||||
../../modules/common
|
||||
./hotkeys.nix
|
||||
];
|
||||
|
||||
# To reflect hotkeys without a login cycle.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue