aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/eww/default.nix
blob: e22f8c63cb2bf50c81ac0d8798ba6660199bf6c8 (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
27
{
  config,
  lib,
  ...
}:
{
  imports = [
    ./yuck.nix
  ];

  options.desktop.eww = {
    package = lib.mkOption {
      type = lib.types.package;
      readOnly = true;
      default = config.programs.eww.package;
      description = "The eww package to use.";
    };
  };

  config = {
    programs.eww = {
      enable = true;
      systemd.enable = true;
      scssConfig = builtins.readFile (import ./scss.nix { inherit config; });
    };
  };
}