diff --git a/en/home-manager.md b/en/home-manager.md index 0522f43c..2ec33c8f 100644 --- a/en/home-manager.md +++ b/en/home-manager.md @@ -10,4 +10,10 @@ To view help from terminal, ```sh $ man home-configuration.nix -``` \ No newline at end of file +``` + +## Sub-pages + +```query +children:. +``` diff --git a/en/tips/hm-fonts.md b/en/tips/hm-fonts.md new file mode 100644 index 00000000..bc429347 --- /dev/null +++ b/en/tips/hm-fonts.md @@ -0,0 +1,21 @@ +# Installing fonts using home-manager + +Whethere you are on #[[macos|macOS]] or [[nixos|NixOS]], you can install and setup fonts in an unified fashion using [[nix|Nix]] using #[[home-manager|home-manager]]. + +To do this, add: + +```nix +{ + home.packages = [ + # Fonts + cascadia-code + ]; + + fonts.fontconfig.enable = true; +} +``` + +The above installs the [Cascadia Code](https://x.com/dhh/status/1791920107637354964) font. + +>[!tip] Verify on macOS +> To confirm that the font was successfully installed on [[macos]], you can open the "Font Book" app and search for the font. \ No newline at end of file