fixed nix config
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 39s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 39s
This commit is contained in:
12
flake.nix
12
flake.nix
@@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user