diff --git a/flake.nix b/flake.nix index 44bae5c..e1ddeb2 100644 --- a/flake.nix +++ b/flake.nix @@ -74,15 +74,6 @@ }; }; - result = let inherit (self) __findFile; in - - - {charset="UTF-8";} - "Hello, internet!"<.title> - <.head> - <body> - <p>"What the fuck is this?"<.p> - <.body> - <.html>; + result = builtins.scopedImport { inherit (self) raw __findFile; } ./html.nix; }; } diff --git a/html.nix b/html.nix new file mode 100644 index 0000000..0e052c2 --- /dev/null +++ b/html.nix @@ -0,0 +1,9 @@ +<html> + <head> + <meta.>{charset="UTF-8";} + <title>"Hello, internet!"<.title> + <.head> + <body> + <p>"What the fuck is this?"<.p> + <.body> +<.html>