diff --git a/hosts/terre-neuvas/configuration.nix b/hosts/terre-neuvas/configuration.nix index 0a6c5c7..77b7456 100644 --- a/hosts/terre-neuvas/configuration.nix +++ b/hosts/terre-neuvas/configuration.nix @@ -46,7 +46,6 @@ environment.systemPackages = with pkgs; [ neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. git - hugo ]; networking = { useNetworkd = true; diff --git a/modules/sites/levr.porzh.me.nix b/modules/sites/levr.porzh.me.nix index 20280b6..7401c30 100644 --- a/modules/sites/levr.porzh.me.nix +++ b/modules/sites/levr.porzh.me.nix @@ -1,4 +1,4 @@ -{ pkgs, ...}: { +{ pkgs, lib, ...}: { environment.systemPackages = with pkgs; [ hugo ]; @@ -15,6 +15,9 @@ ''; User = "lomig"; }; + environment = { + PATH = lib.mkForce "${pkgs.git}/bin:${pkgs.hugo}/bin:${pkgs.openssh}/bin"; + }; }; systemd.timers.hugo-build = { description = "Timer pour rebuild du blog";