summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-02-17 11:21:12 +0100
committerDaiderd Jordan <daiderd@gmail.com>2019-02-17 11:31:40 +0100
commit4d892e777486a5830abe0eb824b142a239b77f88 (patch)
tree8d2dced3fff4aa1e9649727b3d8ea5738f3b5459 /modules/system
parent0a8785c61bc893816276d00b9947c130ef33a521 (diff)
fonts: rewrite activation
The new implementation is a bit smarter and only updates fonts that changed. But more importantly /run/current-system isn't used anymore which breaks initial activation and installs the previous set of fonts instead of the one in the new system. Fixes #115
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/default.nix b/modules/system/default.nix
index 9feaf3f..f507750 100644
--- a/modules/system/default.nix
+++ b/modules/system/default.nix
@@ -91,6 +91,7 @@ in
mkdir -p $out/Library
ln -s ${cfg.build.applications}/Applications $out/Applications
+ ln -s ${cfg.build.fonts}/Library/Fonts $out/Library/Fonts
ln -s ${cfg.build.launchd}/Library/LaunchAgents $out/Library/LaunchAgents
ln -s ${cfg.build.launchd}/Library/LaunchDaemons $out/Library/LaunchDaemons