Skip to content

Commit

Permalink
chore!: fix grawler
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Jul 30, 2024
1 parent 1bc1e2d commit b79c738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions core/registry.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{ inputs, config, lib, user, ... }: {
{ inputs, config, lib, ... }: {
# Use flake's inputs system-wide
# TODO: https://github.com/NixOS/nix/issues/8890
# TODO: https://github.com/NixOS/nix/pull/8902

# !!!

nix = {
# NOTE: включение этой опции вызывает `nix-path = ` в nix.conf
# что из-за неправильных приоритетов значений вызывает баги
# (`NIX_PATH` игнорируется в пользу `nix-path = `)
# NOTE: скорее всего проблема ещё в отсуствии каналов в системе
channel.enable = false;

registry = lib.mapAttrs (_: v: {flake = v;}) inputs;
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
settings.flake-registry = "/etc/nix/registry.json";
Expand Down
10 changes: 1 addition & 9 deletions modules/desktop/apps/reaper/jsfx.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
{ inputs, pkgs, lib, config, user, ... }: let
{ inputs, lib, config, user, ... }: let
inherit (lib) mkIf;
cfg = config.modules.desktop.apps.reaper;

# FIXME: https://github.com/NixOS/nix/pull/9053
tale = pkgs.fetchzip {
url = "https://www.taletn.com/reaper/mono_synth/Tale_20230711.zip";
hash = "sha256-3qfOgAsQR91hXXah44PrLITNS44a5VMitbIVKZ4E9y4=";
stripRoot = false;
} + "/Effects/Tale";
in {
config = mkIf cfg.enable {
home-manager.users.${user} = {
home.file.".config/REAPER/Effects/Geraint".source = inputs.jsfx-geraint;
home.file.".config/REAPER/Effects/ReJJ".source = inputs.jsfx-rejj;
home.file.".config/REAPER/Effects/chkhld".source = inputs.jsfx-chkhld;
home.file.".config/REAPER/Effects/Tale".source = tale;
};
};
}

0 comments on commit b79c738

Please sign in to comment.