From 8a84311135cb9b347b08b8f8f6cad7528a4a1419 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Wed, 4 Mar 2026 19:10:58 +0100 Subject: [PATCH] Testing --- henrovnix_ok/end_script.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/henrovnix_ok/end_script.nix b/henrovnix_ok/end_script.nix index 5b17c3c79..90ddab159 100644 --- a/henrovnix_ok/end_script.nix +++ b/henrovnix_ok/end_script.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, flakeRoot ... }: +{ lib, config, pkgs, flakeRoot, ... }: let scriptPath = flakeRoot + "/assets/scripts/end_script.sh"; scriptExists = lib.fileExists scriptPath; @@ -6,12 +6,10 @@ in { systemd.user.services.endScript = lib.mkIf scriptExists { description = "Run end script after Home Manager"; - wantedBy = [ "multi-user.target" ]; + wantedBy = lib.mkDefault []; # Empty list to avoid automatic enablement after = [ "home-manager-activate.service" ]; serviceConfig.Type = "oneshot"; script = '' - echo "Flake root: ${flakeRoot}" >> /tmp/flake_root.log - echo "Script path: ${scriptPath}" >> /tmp/script_path.log ${scriptPath} ''; };