1
0
Fork 0

nix-darwin: Dock configuration

This commit is contained in:
Daniel Kempkens 2022-02-06 15:03:02 +01:00
parent 392d99ddcc
commit 4f65146fb8
4 changed files with 35 additions and 13 deletions

View file

@ -1,6 +1,11 @@
{ pkgs, lib, ... }:
{
imports = [
./system/defaults.nix
./system/fonts.nix
];
nix = {
binaryCaches = [
"https://nix-community.cachix.org"
@ -37,11 +42,4 @@
services = {
nix-daemon.enable = true;
};
fonts = {
enableFontDir = true;
fonts = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
};
}

View file

@ -81,11 +81,11 @@
},
"locked": {
"dir": "contrib",
"lastModified": 1643987241,
"narHash": "sha256-s94M2ta+BkdVUrrSQQvwz7kenc+GPP7W1vvkwBLD0zk=",
"lastModified": 1644113939,
"narHash": "sha256-n5rTM+kjEoXxTqaHle4AhrSiqRW2fc2U+Kor1whbaXQ=",
"owner": "neovim",
"repo": "neovim",
"rev": "dcbf9f93e9038d9b4eb782aff2a07e2560f6e04e",
"rev": "8215c05945054755b2c3cadae198894372dbfe0f",
"type": "github"
},
"original": {
@ -104,11 +104,11 @@
]
},
"locked": {
"lastModified": 1644048646,
"narHash": "sha256-wYTDoEI+ImMZN9oYvoNGQcFTxTDvrrLZKwohRIS+SN4=",
"lastModified": 1644135144,
"narHash": "sha256-ga02Em84w/rmDVoHha8PG9wiznz9Ew7ReETbXnokj7M=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"rev": "002d0079996c03a318ee6ca389c4df87d3bbec31",
"rev": "98a805c76bf18c9a45b0e0c729cc0e2975c25628",
"type": "github"
},
"original": {

13
system/defaults.nix Normal file
View file

@ -0,0 +1,13 @@
{
system.defaults = {
dock = {
autohide = true;
orientation = "left";
mineffect = "scale";
minimize-to-application = true;
showhidden = true;
show-recents = false;
tilesize = 40;
};
};
}

11
system/fonts.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
fonts = {
enableFontDir = true;
fonts = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
};
}