Refactor modules

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-13 12:20:45 +03:00
parent 0357a7bfbf
commit df315f97d6
32 changed files with 317 additions and 253 deletions

21
user/configs/stylix.nix Normal file
View File

@@ -0,0 +1,21 @@
{ 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;
};
};
}