Fix: hugo build
This commit is contained in:
parent
72154f92b7
commit
da8f43f652
2 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue