chore: remove flakepath in font activation hook
This commit is contained in:
parent
77e31df662
commit
8085645429
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
flakePath,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -11,9 +10,10 @@
|
||||||
if pkgs.stdenv.isDarwin
|
if pkgs.stdenv.isDarwin
|
||||||
then "${config.home.homeDirectory}/Library/Fonts"
|
then "${config.home.homeDirectory}/Library/Fonts"
|
||||||
else "${config.xdg.dataHome}/fonts";
|
else "${config.xdg.dataHome}/fonts";
|
||||||
|
fontPath = ../secrets/fonts;
|
||||||
in
|
in
|
||||||
lib.hm.dag.entryAfter ["writeBoundary"] ''
|
lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
install -Dm644 ${flakePath}/home/secrets/fonts/* "${fontDirectory}"
|
install -Dm644 ${fontPath}/* "${fontDirectory}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue