darwin: Manage fonts via home-manager
This commit is contained in:
parent
2387ce60b5
commit
8db4d89fc5
5 changed files with 23 additions and 25 deletions
15
home/config/fonts.nix
Normal file
15
home/config/fonts.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
jetbrains-mono
|
||||||
|
noto-fonts
|
||||||
|
unifont
|
||||||
|
|
||||||
|
(nerdfonts.override {
|
||||||
|
fonts = [
|
||||||
|
"NerdFontsSymbolsOnly"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
|
@ -2,6 +2,8 @@ args@{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
../config/fonts.nix
|
||||||
|
|
||||||
../programs/fish.nix
|
../programs/fish.nix
|
||||||
../programs/atuin.nix
|
../programs/atuin.nix
|
||||||
../programs/starship.nix
|
../programs/starship.nix
|
||||||
|
|
|
@ -89,8 +89,8 @@ in
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ggandor";
|
owner = "ggandor";
|
||||||
repo = "leap.nvim";
|
repo = "leap.nvim";
|
||||||
rev = "3004104180391328fca40339587f254d835a9527";
|
rev = "c390eab0950ea01a0d118c2c3c29db7781430b33";
|
||||||
sha256 = "1slpbs7x72xijbzmbhmlzylhpq02a4y98rnnk3lnsk3n37pfmn82";
|
sha256 = "1pminnalq75r4cw0j8f4mh0qhvzakzgmr106p9c3qhj54km22jsp";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -462,12 +462,12 @@ in
|
||||||
};
|
};
|
||||||
nvim-treesitter-textobjects = buildVimPluginFrom2Nix {
|
nvim-treesitter-textobjects = buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-treesitter-textobjects";
|
pname = "nvim-treesitter-textobjects";
|
||||||
version = "2023-06-19";
|
version = "2023-06-26";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nvim-treesitter";
|
owner = "nvim-treesitter";
|
||||||
repo = "nvim-treesitter-textobjects";
|
repo = "nvim-treesitter-textobjects";
|
||||||
rev = "83c59ed1eeae70a55605990993cf4d208948fdf7";
|
rev = "52f1f3280d9092bfaee5c45be5962fabee3d9654";
|
||||||
sha256 = "1780104ap415dlnvik1s027vhd0ikvly23lcb4dq2d2smlkymjgf";
|
sha256 = "1k0065mn4hb3ama3qxrln24rf7cqziysddvw4anxws85dan5x9sj";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
fonts = {
|
|
||||||
fontDir.enable = true;
|
|
||||||
|
|
||||||
fonts = with pkgs; [
|
|
||||||
jetbrains-mono
|
|
||||||
noto-fonts
|
|
||||||
unifont
|
|
||||||
|
|
||||||
(nerdfonts.override {
|
|
||||||
fonts = [
|
|
||||||
"NerdFontsSymbolsOnly"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -3,7 +3,7 @@
|
||||||
../shared/show-update-changelog.nix
|
../shared/show-update-changelog.nix
|
||||||
|
|
||||||
../darwin/defaults.nix
|
../darwin/defaults.nix
|
||||||
../darwin/fonts.nix
|
#../darwin/fonts.nix
|
||||||
../darwin/sudo.nix
|
../darwin/sudo.nix
|
||||||
../darwin/fish.nix
|
../darwin/fish.nix
|
||||||
../darwin/attic.nix
|
../darwin/attic.nix
|
||||||
|
|
Loading…
Reference in a new issue