diff --git a/startpage/.gitignore b/startpage/.gitignore deleted file mode 100644 index 96f5ffd..0000000 --- a/startpage/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Link in generate colors file for testing -# ln -s ~/.startpage/colors.css . -colors.css diff --git a/startpage/default.nix b/startpage/default.nix index aaca054..18fdde6 100644 --- a/startpage/default.nix +++ b/startpage/default.nix @@ -7,15 +7,11 @@ let in { home.file = { - "${out}index.html".source = ./index.html; + "${out}" = { + source = ./html; + recursive = true; + }; "${out}colors.css".text = ":root {\n" + (colors.css lib) + "\n}"; - "${out}style.css".source = ./style.css; - "${out}anilist.svg".source = ./anilist.svg; - "${out}envelope-regular.svg".source = ./envelope-regular.svg; - "${out}git.svg".source = ./git.svg; - "${out}jellyfin.svg".source = ./jellyfin.svg; - "${out}nyaa.webp".source = ./nyaa.webp; - "${out}nixos.svg".source = ./nixos.svg; }; # Make files not symlinks, this causes issues displaying in Firefox home.activation.startpage = lib.hm.dag.entryAfter["writeBoundary"] '' diff --git a/startpage/anilist.svg b/startpage/html/anilist.svg similarity index 100% rename from startpage/anilist.svg rename to startpage/html/anilist.svg diff --git a/startpage/envelope-regular.svg b/startpage/html/envelope-regular.svg similarity index 100% rename from startpage/envelope-regular.svg rename to startpage/html/envelope-regular.svg diff --git a/startpage/git.svg b/startpage/html/git.svg similarity index 100% rename from startpage/git.svg rename to startpage/html/git.svg diff --git a/startpage/index.html b/startpage/html/index.html similarity index 100% rename from startpage/index.html rename to startpage/html/index.html diff --git a/startpage/jellyfin.svg b/startpage/html/jellyfin.svg similarity index 100% rename from startpage/jellyfin.svg rename to startpage/html/jellyfin.svg diff --git a/startpage/nixos.svg b/startpage/html/nixos.svg similarity index 100% rename from startpage/nixos.svg rename to startpage/html/nixos.svg diff --git a/startpage/nyaa.webp b/startpage/html/nyaa.webp similarity index 100% rename from startpage/nyaa.webp rename to startpage/html/nyaa.webp diff --git a/startpage/style.css b/startpage/html/style.css similarity index 100% rename from startpage/style.css rename to startpage/html/style.css