Fix: hugo build

This commit is contained in:
DuN0z 2025-10-08 11:40:24 +02:00
parent 72154f92b7
commit da8f43f652
2 changed files with 4 additions and 2 deletions

View file

@ -46,7 +46,6 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
git git
hugo
]; ];
networking = { networking = {
useNetworkd = true; useNetworkd = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ...}: { { pkgs, lib, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
hugo hugo
]; ];
@ -15,6 +15,9 @@
''; '';
User = "lomig"; User = "lomig";
}; };
environment = {
PATH = lib.mkForce "${pkgs.git}/bin:${pkgs.hugo}/bin:${pkgs.openssh}/bin";
};
}; };
systemd.timers.hugo-build = { systemd.timers.hugo-build = {
description = "Timer pour rebuild du blog"; description = "Timer pour rebuild du blog";