22 lines
372 B
Nix
22 lines
372 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.stylix;
|
|
in
|
|
{
|
|
options.stylix = {
|
|
wallpaper = lib.mkOption {
|
|
type = lib.types.path;
|
|
description = "The path to the wallpaper";
|
|
};
|
|
};
|
|
|
|
config = {
|
|
stylix = {
|
|
enable = true;
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/da-one-sea.yaml";
|
|
image = cfg.wallpaper;
|
|
};
|
|
};
|
|
}
|