summaryrefslogtreecommitdiff
path: root/home/apps/caelestia/default.nix
blob: 75dbb26ad14cae71ea67b4f913f5625d17b6dfa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  inputs,
  config,
  ...
}: let
  inherit (lib) mkIf;
  cfg = config.apps.caelestia;
in {
  imports = [
    inputs.caelestia-shell.homeManagerModules.default
    ./settings.nix
    ./scheme.nix
  ];

  config = mkIf cfg.enable {
    default.appLauncher = lib.mkOverride 600 "caelestia-shell ipc call drawers toggle launcher";
    #default.lockScreen = "caelestia-shell ipc call lock lock";

    programs.caelestia = {
      enable = true;
      systemd.enable = true;
      cli.enable = true;
    };
  };
}