1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ config, lib, pkgs, ... }: let cfg = config.sils.theming; in { options.sils.theming.enable = lib.mkEnableOption "theming"; config = lib.mkIf cfg.enable { stylix = { enable = true; base16Scheme = "${pkgs.base16-schemes}/share/themes/ayu-dark.yaml"; image = ../../../../files/wallpaper.jpg; polarity = "dark"; }; }; }