mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
18 lines
520 B
Nix
18 lines
520 B
Nix
{ lib, config, pkgs, ... }:
|
|
{
|
|
options.swarselsystems.modules.env = lib.mkEnableOption "environment config";
|
|
config = lib.mkIf config.swarselsystems.modules.env {
|
|
environment = {
|
|
wordlist.enable = true;
|
|
sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
GST_PLUGIN_SYSTEM_PATH_1_0 = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" (with pkgs.gst_all_1; [
|
|
gst-plugins-good
|
|
gst-plugins-bad
|
|
gst-plugins-ugly
|
|
gst-libav
|
|
]);
|
|
};
|
|
};
|
|
};
|
|
}
|