diff --git a/home-manager/home.nix b/home-manager/home.nix index a44076c..1374455 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -40,15 +40,15 @@ let DUNST_ORIGIN = "top-center"; in { - - home.activation.runScript = lib.hm.dag.entryAfter - [ "writeBoundary" ] - (lib.hm.dag.execScript "script" "$HOME/scripts/post-build.sh"); - # Home Manager needs a bit of information about you and the paths it should # manage. home = { + activation = { + myActivationAction = lib.hm.dag.entryAfter ["writeBoundary"] '' + bash $HOME/scripts/wallpaper-updater + ''; + }; username = "deadvey"; homeDirectory = "/home/deadvey"; enableNixpkgsReleaseCheck = false; @@ -120,7 +120,6 @@ in }; "~/scripts/post-build.sh" = { text = '' - bash $HOME/scripts/wallpaper-updater ''; executable = true; };