aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-09-30 08:16:13 +0200
committerMartin Fischer <martin@push-f.com>2026-09-30 11:03:08 +0200
commita45df5c11dd40b8f827470ff3e105b01591e0e4f (patch)
treea0ebb5be3ed3c4048a8cd136e6575f9d9b74b7a5
parent748d3282d351107723e79060a9471b08e66c4670 (diff)
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.
-rw-r--r--nixos/hosts/hamac/private.nix8
-rw-r--r--nixos/profiles/workstation/create.nix1
-rw-r--r--nixos/profiles/workstation/graphical.nix14
3 files changed, 8 insertions, 15 deletions
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"];