diff --git a/hosts/common/darwin/default.nix b/hosts/common/darwin/default.nix new file mode 100644 index 0000000..0e5cd48 --- /dev/null +++ b/hosts/common/darwin/default.nix @@ -0,0 +1,5 @@ +{ ... } : { + imports = [ + ./dock.nix + ]; +} diff --git a/hosts/common/darwin/dock.nix b/hosts/common/darwin/dock.nix new file mode 100644 index 0000000..a160170 --- /dev/null +++ b/hosts/common/darwin/dock.nix @@ -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; + }; +} diff --git a/hosts/macbook/configuration.nix b/hosts/macbook/configuration.nix index 8c37ce0..04cb968 100644 --- a/hosts/macbook/configuration.nix +++ b/hosts/macbook/configuration.nix @@ -1,8 +1,9 @@ { self, pkgs, config, ... }: { imports = [ - ./hotkeys.nix + ../common/darwin ../../modules/common + ./hotkeys.nix ]; # To reflect hotkeys without a login cycle. diff --git a/hosts/msft-mac/configuration.nix b/hosts/msft-mac/configuration.nix index 52d85a6..a3f7747 100644 --- a/hosts/msft-mac/configuration.nix +++ b/hosts/msft-mac/configuration.nix @@ -1,8 +1,9 @@ { self, pkgs, config, ... }: { imports = [ - ./hotkeys.nix + ../common/darwin ../../modules/common + ./hotkeys.nix ]; # To reflect hotkeys without a login cycle.