Skip to content

Commit

Permalink
home-manager/minimal: disable reloadSystemd/setupLaunchAgents
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Oct 6, 2023
1 parent 81ea303 commit 0e66d93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion home-manager/minimal.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, ... }:
{ pkgs, lib, ... }:

{
imports = [ ./default.nix ];
Expand All @@ -25,6 +25,12 @@
};

# Disable systemd services/sockets/timers/etc.
home.activation = {
reloadSystemd = lib.mkIf pkgs.stdenv.isLinux
(lib.mkForce (lib.hm.dag.entryAfter [ "linkGeneration" ] ""));
setupLaunchAgents = lib.mkIf pkgs.stdenv.isDarwin
(lib.mkForce (lib.hm.dag.entryAfter [ "writeBoundary" ] ""));
};
systemd.user = {
automounts = lib.mkForce { };
mounts = lib.mkForce { };
Expand Down

0 comments on commit 0e66d93

Please sign in to comment.