Files
nix/user/configs/stylix.nix
Nikolaos Karaolidis df315f97d6 Refactor modules
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2024-06-13 12:20:45 +03:00

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;
};
};
}