This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
14
modules/home/stylix/targets/nixvim.nix
Normal file
14
modules/home/stylix/targets/nixvim.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.stylix;
|
||||
target = cfg.targets.nixvim;
|
||||
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
stylix.targets.nixvim.enable = false;
|
||||
programs.nixvim.colorschemes."${cfg.scheme}".enable = !target.enable;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue