Add environment variables.
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
./services/sound.nix
|
./services/sound.nix
|
||||||
./services/xserver.nix
|
./services/xserver.nix
|
||||||
./system/bluetooth.nix
|
./system/bluetooth.nix
|
||||||
|
./system/environment.nix
|
||||||
./system/locale.nix
|
./system/locale.nix
|
||||||
./system/security.nix
|
./system/security.nix
|
||||||
./system/time.nix
|
./system/time.nix
|
||||||
|
|||||||
18
nodes/hosts/common/system/environment.nix
Normal file
18
nodes/hosts/common/system/environment.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
# Optional, hint electron apps to use wayland:
|
||||||
|
sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/jay/.steam/root/compatibilitytools.d";
|
||||||
|
};
|
||||||
|
|
||||||
|
shellAliases = {
|
||||||
|
ls = "lsd -la";
|
||||||
|
ryujinx = "flatpak run io.github.ryubing.Ryujinx";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Get plasma integration with browsers to work better.
|
||||||
|
etc."chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json".source = "${pkgs.kdePackages.plasma-browser-integration}/etc/chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user