diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-13 09:52:40 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-13 09:52:40 -0500 |
| commit | 28df42fb03d8c2ee67bc860d2c2ebfecc60c1112 (patch) | |
| tree | 965648e79f57f3d0f21017b83187d22c19874af8 /home/apps/caelestia/default.nix | |
| parent | fix desktop portals (diff) | |
| download | dotfiles-nix-28df42fb03d8c2ee67bc860d2c2ebfecc60c1112.tar.gz dotfiles-nix-28df42fb03d8c2ee67bc860d2c2ebfecc60c1112.tar.bz2 dotfiles-nix-28df42fb03d8c2ee67bc860d2c2ebfecc60c1112.zip | |
fix caelestia module
Diffstat (limited to 'home/apps/caelestia/default.nix')
| -rw-r--r-- | home/apps/caelestia/default.nix | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/home/apps/caelestia/default.nix b/home/apps/caelestia/default.nix index 4693f67..e2e5e96 100644 --- a/home/apps/caelestia/default.nix +++ b/home/apps/caelestia/default.nix @@ -1,8 +1,11 @@ { lib, inputs, + config, ... }: let + inherit (lib) mkIf; + cfg = config.apps.caelestia; in { imports = [ inputs.caelestia-shell.homeManagerModules.default @@ -10,12 +13,14 @@ in { ./scheme.nix ]; - default.appLauncher = lib.mkOverride 600 "caelestia-shell ipc call drawers toggle launcher"; - default.lockScreen = lib.mkOverride 600 "caelestia-shell ipc call lock lock"; + config = mkIf cfg.enable { + default.appLauncher = lib.mkOverride 600 "caelestia-shell ipc call drawers toggle launcher"; + default.lockScreen = lib.mkOverride 600 "caelestia-shell ipc call lock lock"; - programs.caelestia = { - enable = true; - systemd.enable = true; - cli.enable = true; + programs.caelestia = { + enable = true; + systemd.enable = true; + cli.enable = true; + }; }; } |