1

README + comments

This commit is contained in:
2022-08-11 14:35:36 +02:00
parent e903b048e9
commit a4e3b7a175
6 changed files with 26 additions and 17 deletions

View File

@ -24,7 +24,7 @@ in {
# Instruments/Plugins
vcvrack.enable = mkEnableOpt "VCV-Rack (Eurorack simulator)";
# vital.enable = mkEnableOpt "Vital (Wavetable synthesizer)";
# vital.enable = mkEnableOpt "Vital (Wavetable synthesizer)"; # Replaced by distrho
distrho.enable = mkEnableOpt "Distrho (Linux VST ports)";
# Misc
@ -95,7 +95,7 @@ in {
(optionals cfg.noisesuppression.noisetorch.enable [ noisetorch ])
(optionals cfg.vcvrack.enable [ vcv-rack ])
# (optionals cfg.vital.enable [ vital-synth ])
# (optionals cfg.vital.enable [ vital-synth ]) # Replaced by distrho
(optionals cfg.distrho.enable [ distrho ])
];
@ -159,14 +159,15 @@ in {
(mkUnlink "${config.home.homeDirectory}/.config/carla");
})
# (mkIf cfg.vital.enable {
# linkVitalVST3 = hm.dag.entryAfter [ "writeBoundary" ]
# (mkLink "${pkgs.vital-synth}/lib/vst3/Vital.vst3" "${config.home.homeDirectory}/.vst3/Vital.vst3");
# })
# (mkElse cfg.vital.enable {
# unlinkVitalVST3 = hm.dag.entryAfter [ "writeBoundary" ]
# (mkUnlink "${config.home.homeDirectory}/.vst3/Vital.vst3");
# })
# Replaced by distrho
# (mkIf cfg.vital.enable {
# linkVitalVST3 = hm.dag.entryAfter [ "writeBoundary" ]
# (mkLink "${pkgs.vital-synth}/lib/vst3/Vital.vst3" "${config.home.homeDirectory}/.vst3/Vital.vst3");
# })
# (mkElse cfg.vital.enable {
# unlinkVitalVST3 = hm.dag.entryAfter [ "writeBoundary" ]
# (mkUnlink "${config.home.homeDirectory}/.vst3/Vital.vst3");
# })
(mkIf cfg.distrho.enable {
linkDistrhoLV2 = hm.dag.entryAfter [ "writeBoundary" ]

View File

@ -18,6 +18,8 @@ in {
# This module defines only the "emacs" option and suboptions "enable" and "doom"
options.modules.emacs = {
enable = mkEnableOpt "Emacs module";
# TODO: Use an enum for this not individual options
nativeComp = mkBoolOpt false "Use Emacs 28.x branch with native comp support";
pgtkNativeComp = mkBoolOpt false "Use Emacs 29.x branch with native comp and pure gtk support";

View File

@ -7,8 +7,6 @@ with mylib.modules;
# It is important that every flatpak interaction is handled through this module
# to prevent that anything is removed by a module although it is required by another one
# TODO: Also need a library function to enable and concatenate different flatpak overrides (also global overrides)
let
cfg = config.modules.flatpak;
in {
@ -78,11 +76,12 @@ in {
{
".local/share/flatpak/overrides/global".text = let
default_overrides = [
"/nix/store:ro"
# These are not necessary
# Make sure flatpaks are allowed to use the icons/fonts that are symlinked by icon/font fix
# "/run/current-system/sw/share/X11/fonts:ro"
# "/run/current-system/sw/share/icons:ro"
"/nix/store:ro"
];
all_overrides = builtins.concatLists [ default_overrides cfg.extraGlobalOverride ];