Skip to content

Commit

Permalink
revert: replace home-manager activation with service restart
Browse files Browse the repository at this point in the history
  • Loading branch information
elliott-farrall committed Jan 26, 2025
1 parent 3478f03 commit 9d8b935
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/age-home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ in {
systemd.user.services.agenix = lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
Unit = {
Description = "agenix activation";
X-SwitchMethod = "restart";
};
Service = {
Type = "oneshot";
Expand All @@ -253,9 +254,5 @@ in {
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/agenix/stderr";
};
};

home.activation.agenix = lib.mkIf pkgs.stdenv.hostPlatform.isLinux (
lib.hm.dag.entryAfter ["linkGeneration"] mountingScript
);
};
}

0 comments on commit 9d8b935

Please sign in to comment.