Skip to content

Commit

Permalink
micro: init (#716)
Browse files Browse the repository at this point in the history
Initialize the micro module.

Extending the 'simple' theme is possible by adding 'include "simple"' to the
user configuration. [1]

[1]: #714 (comment)

Closes: #714
Link: #716

Approved-by: https://github.com/LemmusLemmus
Approved-by: https://github.com/matkijahenkilo
  • Loading branch information
trueNAHO authored Jan 4, 2025
1 parent fe25ebf commit 2256b7d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions modules/micro/hm.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
config,
lib,
...
}: {
options.stylix.targets.micro.enable =
config.lib.stylix.mkEnableTarget "micro" true;

config =
lib.mkIf
(config.stylix.enable && config.stylix.targets.micro.enable)
{
# TODO: Provide a real colorscheme once [1] is resolved.
#
# [1]: https://github.com/danth/stylix/issues/249
programs.micro.settings.colorscheme = "simple";
};
}

0 comments on commit 2256b7d

Please sign in to comment.