diff --git a/flake.nix b/flake.nix index 15015be..dbcad39 100644 --- a/flake.nix +++ b/flake.nix @@ -15,15 +15,15 @@ ]; systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; - perSystem = { config, self', inputs', pkgs, system, ... }: { + perSystem = { config, self', inputs', pkgs, system, ... }: + { # Per-system attributes can be defined here. The self' and inputs' # module parameters provide easy access to attributes of the same # system. # Equivalent to inputs'.nixpkgs.legacyPackages.hello; - # packages.default = pkgs.hello; devShells.default = pkgs.mkShell { - buildInputs = [ pkgs.hugo pkgs.yarn pkgs.go_1_21 ]; + nativeBuildInputs = [ pkgs.hugo pkgs.yarn pkgs.go_1_21 pkgs.nodePackages.postcss pkgs.nodePackages.postcss-cli pkgs.nodejs_18 pkgs.nodePackages.autoprefixer]; }; }; flake = { diff --git a/hugo.toml b/hugo.toml index f45b068..933dca4 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,9 +1,16 @@ baseURL = 'https://example.org/' languageCode = 'en-us' -title = 'My New Hugo Site' +title = 'grlx.dev' [module] proxy = "direct" [[module.imports]] path = "github.com/google/docsy" [[module.imports]] path = "github.com/google/docsy/dependencies" +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + [markup.highlight] + # See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html + style = "catppuccin-latte" diff --git a/package.json b/package.json new file mode 100644 index 0000000..eb6675e --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "dependencies": { + "autoprefixer": "^10.4.16", + "postcss": "^8.4.31", + "postcss-cli": "^10.1.0" + } +}