aboutsummaryrefslogtreecommitdiffstats
path: root/modules/nixos/sils/theming.nix
blob: 5e7d1977fccb8c40f89b6197b0a851912933d836 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  config,
  lib,
  base16-tokyo-night-scheme,
  ...
}: let
  cfg = config.sils.theming;
in {
  options.sils.theming.enable = lib.mkEnableOption "theming";
  config = lib.mkIf cfg.enable {
    stylix = {
      base16Scheme = "${base16-tokyo-night-scheme}/tokyo-night-dark.yaml";
      image = ../../../files/wallpaper.jpg;
      polarity = "dark";
    };
  };
}