More correctly get home directory in Firefox config

inky
Elnu 2 years ago
parent 75f97a4940
commit 8014e13950

@ -1,8 +1,8 @@
{ pkgs, user, ... }:
{ pkgs, user, config, ... }:
let
startpageDir = import ../startpage/dir.nix;
startpage = "file:///home/${user}/${startpageDir}/index.html";
startpage = "file:///${config.home.homeDirectory}/${startpageDir}/index.html";
firefox-csshacks = pkgs.fetchFromGitHub {
owner = "MrOtherGuy";
repo = "firefox-csshacks";

Loading…
Cancel
Save