From 11c6b634f00aa69e3cb066dc8712129f3886b259 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Mon, 18 May 2026 11:46:27 +0200 Subject: [PATCH] nix-index: added --- modules/home-manager/caelestia.nix | 7 +++++++ modules/nixos/nixUtils.nix | 1 + 2 files changed, 8 insertions(+) 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 ]; }