From a45df5c11dd40b8f827470ff3e105b01591e0e4f Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 30 Sep 2026 08:16:13 +0200 Subject: tweak(workstation): remove hugo Hugo 0.166.0 broke mounts when a parent dir is a symlink. 0.167.0 fixes it but it's not released yet. I am now pinning hugo in my private notes repo. --- nixos/hosts/hamac/private.nix | 8 ++++++++ nixos/profiles/workstation/create.nix | 1 - nixos/profiles/workstation/graphical.nix | 14 -------------- 3 files changed, 8 insertions(+), 15 deletions(-) create mode 100644 nixos/hosts/hamac/private.nix diff --git a/nixos/hosts/hamac/private.nix b/nixos/hosts/hamac/private.nix new file mode 100644 index 0000000..30aeb08 --- /dev/null +++ b/nixos/hosts/hamac/private.nix @@ -0,0 +1,8 @@ +{ ... }: + +{ + imports = [ + ./default.nix + /home/martin/repos/notes/service.nix + ]; +} diff --git a/nixos/profiles/workstation/create.nix b/nixos/profiles/workstation/create.nix index 99eb753..5580ec4 100644 --- a/nixos/profiles/workstation/create.nix +++ b/nixos/profiles/workstation/create.nix @@ -7,7 +7,6 @@ in environment.systemPackages = with pkgs; [ graphviz-nox # for dot - pkgs-unstable.hugo typst (inkscape-with-extensions.override { diff --git a/nixos/profiles/workstation/graphical.nix b/nixos/profiles/workstation/graphical.nix index 707df27..8336159 100644 --- a/nixos/profiles/workstation/graphical.nix +++ b/nixos/profiles/workstation/graphical.nix @@ -14,20 +14,6 @@ services.upower.enable = true; - systemd.user.services.hugo-notes = { - after = ["network.target"]; - - serviceConfig = { - Type = "simple"; - WorkingDirectory = "%h/repos/notes"; - ExecStart = "/run/current-system/sw/bin/hugo serve --port 1313"; - Restart = "on-failure"; - RestartSec = "5s"; - }; - - wantedBy = ["default.target"]; - }; - systemd.user.services.serve = { after = ["network.target"]; -- cgit v1.3.1