diff --git a/modules/home-manager/caelestia.nix b/modules/home-manager/caelestia.nix index 6eeca71..035539d 100644 --- a/modules/home-manager/caelestia.nix +++ b/modules/home-manager/caelestia.nix @@ -3,11 +3,18 @@ pkgs, pkgs-unstable, caelestia-shell, + lib, ... }: let sisyphe = ../../assets/sisyphe.gif; pepe-music = ../../assets/pepe-music.gif; in { + home.activation.reloadCaelestia = # reloads caelestia on rebuild + lib.hm.dag.entryAfter [ "reloadSystemd" ] '' + pkill caelestia-shell + pkill shell + caelestia-shell -n + ''; home.file.".local/state/caelestia/wallpaper/path.txt" = { # dummy file. Does nothing. Prevent an error enable = true; text = "${sisyphe}"; diff --git a/modules/nixos/nixUtils.nix b/modules/nixos/nixUtils.nix index fdf6108..b0f61c2 100644 --- a/modules/nixos/nixUtils.nix +++ b/modules/nixos/nixUtils.nix @@ -28,5 +28,6 @@ deadnix alejandra vimPluginsUpdater # used for building plugins + nix-index ]; }