Add some useful envvars
Change grim directory to ~/Pictures/Grim/
This commit is contained in:
parent
b866c582ac
commit
533ea7ada8
|
@ -18,7 +18,7 @@ in ''
|
|||
env = QT_QPA_PLATFORM,wayland
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
env = GRIM_DEFAULT_DIR=${config.xdg.userDirs.pictures}/Screenshots
|
||||
env = GRIM_DEFAULT_DIR=${config.xdg.userDirs.pictures}/Grim
|
||||
|
||||
exec-once = hyprctl setcursor ${cursorName} ${cursorSize}
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
|
|
|
@ -5,7 +5,13 @@
|
|||
nixpkgs.config.chromium.commandLineArgs =
|
||||
"--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
||||
environment = {
|
||||
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_SESSION_DESKTOP = "Hyprland";
|
||||
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
|
||||
};
|
||||
systemPackages = with pkgs; [
|
||||
libsForQt5.polkit-kde-agent
|
||||
xdg-utils
|
||||
|
|
Loading…
Reference in a new issue