dev: temporarily deprecate darwin builds

This commit is contained in:
NotAShelf 2023-02-28 12:01:56 +03:00
commit 72b0086830
No known key found for this signature in database
GPG key ID: 5B5C8895F28445F1
5 changed files with 89 additions and 68 deletions

23
modules/tidal/config.nix Normal file
View file

@ -0,0 +1,23 @@
{
pkgs,
config,
lib,
...
}:
with lib;
with builtins; let
cfg = config.vim.tidal;
in {
config = mkIf (cfg.enable) {
vim.startPlugins = [
# From tidalcycles flake
pkgs.vimPlugins.vim-tidal
];
vim.globals = {
"tidal_target" = "terminal";
"tidal_flash_duration" = 150;
"tidal_sc_enable" = cfg.openSC;
};
};
}

View file

@ -6,5 +6,6 @@
}: {
imports = [
./tidal.nix
./config.nix
];
}

View file

@ -23,17 +23,4 @@ in {
default = true;
};
};
config = mkIf (cfg.enable) {
vim.startPlugins = [
# From tidalcycles flake
pkgs.vimPlugins.vim-tidal
];
vim.globals = {
"tidal_target" = "terminal";
"tidal_flash_duration" = 150;
"tidal_sc_enable" = cfg.openSC;
};
};
}