chore: remove flakepath in font activation hook

This commit is contained in:
winston 2023-05-18 12:48:51 +02:00
parent 77e31df662
commit 8085645429
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -1,6 +1,5 @@
{
config,
flakePath,
lib,
pkgs,
...
@ -11,9 +10,10 @@
if pkgs.stdenv.isDarwin
then "${config.home.homeDirectory}/Library/Fonts"
else "${config.xdg.dataHome}/fonts";
fontPath = ../secrets/fonts;
in
lib.hm.dag.entryAfter ["writeBoundary"] ''
install -Dm644 ${flakePath}/home/secrets/fonts/* "${fontDirectory}"
install -Dm644 ${fontPath}/* "${fontDirectory}"
'';
};
home.packages = with pkgs; [