mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
21 lines
608 B
Nix
21 lines
608 B
Nix
{ self, lib, config, vars, ... }:
|
|
{
|
|
options.swarselmodules.stylix = lib.mkEnableOption "stylix config";
|
|
config = {
|
|
stylix = {
|
|
enable = true;
|
|
base16Scheme = "${self}/files/stylix/swarsel.yaml";
|
|
} // lib.optionalAttrs config.swarselmodules.stylix
|
|
(lib.recursiveUpdate
|
|
{
|
|
targets.grub.enable = false; # the styling makes grub more ugly
|
|
image = config.swarselsystems.wallpaper;
|
|
}
|
|
vars.stylix);
|
|
home-manager.users."${config.swarselsystems.mainUser}" = {
|
|
stylix = {
|
|
targets = vars.stylixHomeTargets;
|
|
};
|
|
};
|
|
};
|
|
}
|