fixed nix config
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 39s

This commit is contained in:
2025-06-09 17:40:04 +02:00
parent 283fd95666
commit 3f5cfc3d66
2 changed files with 55 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
{
description = "Bennos Private Hugo Page";
nixConfig.bash-prompt = "gohugo";
nixConfig.bash-prompt = "\[gohugo\]$ ";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
@@ -12,8 +11,7 @@
};
};
outputs = { nixpkgs, flake-utils }: {
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
@@ -26,11 +24,11 @@
];
shellHook = ''
echo "Hugo + Tailwind dev environment ready!"
# Optionally install npm dependencies if you use a package.json
if [ -f package.json ]; then
npm install
fi
'';
};
};
}
}
);
}