-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshell-environment.nix
executable file
·35 lines (35 loc) · 1.11 KB
/
shell-environment.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ pkgs, lib,... }:
{
environment.shellAliases = {
sudo = "sudo ";
"ls-gens" = "nix-env --list-generations --profile /nix/var/nix/profiles/system";
"rm-gens" = "nix-env --profile /nix/var/nix/profiles/system --delete-generations";
pn = "pnpm";
pnx = "pnpm dlx";
py = "python";
hm = "home-manager";
remake = "reisen remake";
};
environment.localBinInPath = true;
environment.sessionVariables = rec {
CHROME_EXECUTABLE = "google-chrome-unstable";
MOZ_ENABLE_WAYLAND = "1";
# If cursor becomes invisible
# WLR_NO_HARDWARE_CURSORS = "1";
PNPM_HOME = "$HOME/.pnpm";
NIXOS_OZONE_WL = "1";
VSCODE_EXTENSIONS = "/opt/code/extensions";
GRIMBLAST_EDITOR = "swappy";
NOTIFICATION_TIMEOUT = "5"; # in seconds
QT_QPA_PLATFORM = "wayland;xcb";
QT_QPA_PLATFORMTHEME = "adwaita";
QT_STYLE_OVERRIDE = "adwaita-dark";
# For nautilus to show media information
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
]);
};
}