nix-darwin: Dock configuration
This commit is contained in:
parent
392d99ddcc
commit
4f65146fb8
4 changed files with 35 additions and 13 deletions
|
@ -1,6 +1,11 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./system/defaults.nix
|
||||||
|
./system/fonts.nix
|
||||||
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
binaryCaches = [
|
binaryCaches = [
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
|
@ -37,11 +42,4 @@
|
||||||
services = {
|
services = {
|
||||||
nix-daemon.enable = true;
|
nix-daemon.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts = {
|
|
||||||
enableFontDir = true;
|
|
||||||
fonts = with pkgs; [
|
|
||||||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
12
flake.lock
12
flake.lock
|
@ -81,11 +81,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1643987241,
|
"lastModified": 1644113939,
|
||||||
"narHash": "sha256-s94M2ta+BkdVUrrSQQvwz7kenc+GPP7W1vvkwBLD0zk=",
|
"narHash": "sha256-n5rTM+kjEoXxTqaHle4AhrSiqRW2fc2U+Kor1whbaXQ=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "dcbf9f93e9038d9b4eb782aff2a07e2560f6e04e",
|
"rev": "8215c05945054755b2c3cadae198894372dbfe0f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -104,11 +104,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1644048646,
|
"lastModified": 1644135144,
|
||||||
"narHash": "sha256-wYTDoEI+ImMZN9oYvoNGQcFTxTDvrrLZKwohRIS+SN4=",
|
"narHash": "sha256-ga02Em84w/rmDVoHha8PG9wiznz9Ew7ReETbXnokj7M=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "002d0079996c03a318ee6ca389c4df87d3bbec31",
|
"rev": "98a805c76bf18c9a45b0e0c729cc0e2975c25628",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
13
system/defaults.nix
Normal file
13
system/defaults.nix
Normal 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
11
system/fonts.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
fonts = {
|
||||||
|
enableFontDir = true;
|
||||||
|
|
||||||
|
fonts = with pkgs; [
|
||||||
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue