From 65b43bfd84057b3667c7244841e3d248680bc93a Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Mon, 16 Oct 2023 22:32:07 +0200 Subject: [PATCH] pinwheel: Extract fonts to `fonts` module --- hosts/pinwheel/configuration.nix | 8 -------- hosts/pinwheel/modules/fonts/default.nix | 10 ++++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 hosts/pinwheel/modules/fonts/default.nix diff --git a/hosts/pinwheel/configuration.nix b/hosts/pinwheel/configuration.nix index c944a2b..3b8cffd 100644 --- a/hosts/pinwheel/configuration.nix +++ b/hosts/pinwheel/configuration.nix @@ -96,14 +96,6 @@ bash ]; - fonts.packages = with pkgs; [ - noto-fonts - noto-fonts-cjk - noto-fonts-emoji - nerdfonts - liberation_ttf - ]; - config-manager.flakePath = "/home/alex/config"; mod = { diff --git a/hosts/pinwheel/modules/fonts/default.nix b/hosts/pinwheel/modules/fonts/default.nix new file mode 100644 index 0000000..8ec0d80 --- /dev/null +++ b/hosts/pinwheel/modules/fonts/default.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: +{ + fonts.packages = [ + pkgs.noto-fonts + pkgs.noto-fonts-cjk + pkgs.noto-fonts-emoji + pkgs.nerdfonts + pkgs.liberation_ttf + ]; +}