audio plugins variables

feat/kile-v2
Ricard Illa 2022-04-24 16:53:55 +02:00
parent 23f08f931c
commit 1aee378b57
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 22 additions and 6 deletions

View File

@ -4,7 +4,8 @@
{ config, pkgs, stablePkgs, impermanence, ... }: { config, pkgs, stablePkgs, impermanence, ... }:
{ let home = "/home/rilla";
in {
imports = [ ./nixos/hardware-configuration/capibara.nix ./nixos/common.nix ]; imports = [ ./nixos/hardware-configuration/capibara.nix ./nixos/common.nix ];
home-manager = { home-manager = {
@ -26,8 +27,15 @@
# }; # };
#}; #};
environment.variables.NIXOS_CONFIG = environment.variables = {
"/home/rilla/configs/nix-config/capibara.nix"; NIXOS_CONFIG = "${home}/configs/nix-config/capibara.nix";
LV2_PATH =
"${home}/.nix-profile/lib/lv2:${home}/Audio/plugins/lv2:/run/current-system/sw/lib/lv2";
LXVST_PATH =
"${home}/.nix-profile/lib/lxvst:${home}/Audio/plugins/lxvst:/run/current-system/sw/lib/lxvst";
LADSPA_PATH =
"${home}/.nix-profile/lib/ladspa:${home}/Audio/plugins/ladspa:/run/current-system/sw/lib/ladspa";
};
networking.networkmanager.wifi.macAddress = "CC:AF:78:75:29:32"; networking.networkmanager.wifi.macAddress = "CC:AF:78:75:29:32";

View File

@ -4,7 +4,8 @@
{ config, pkgs, stablePkgs, impermanence, ... }: { config, pkgs, stablePkgs, impermanence, ... }:
{ let home = "/home/rilla";
in {
imports = [ ./nixos/hardware-configuration/trantor.nix ./nixos/common.nix ]; imports = [ ./nixos/hardware-configuration/trantor.nix ./nixos/common.nix ];
home-manager = { home-manager = {
@ -35,8 +36,15 @@
}; };
environment.variables.NIXOS_CONFIG = environment.variables = {
"/home/rilla/configs/nix-config/trantor.nix"; NIXOS_CONFIG = "${home}/configs/nix-config/trantor.nix";
LV2_PATH =
"${home}/.nix-profile/lib/lv2:${home}/Audio/plugins/lv2:/run/current-system/sw/lib/lv2";
LXVST_PATH =
"${home}/.nix-profile/lib/lxvst:${home}/Audio/plugins/lxvst:/run/current-system/sw/lib/lxvst";
LADSPA_PATH =
"${home}/.nix-profile/lib/ladspa:${home}/Audio/plugins/ladspa:/run/current-system/sw/lib/ladspa";
};
networking.networkmanager.wifi.macAddress = "80:FA:5B:41:12:0F"; networking.networkmanager.wifi.macAddress = "80:FA:5B:41:12:0F";