home-manager: Update; enable NIXOS_OZONE_WL and remove fnott fix
- `NIXOS_OZONE_WL` now properly gets passed to applications launched through systemd, which makes it way more useful [0]. - The fnott fix has been merged [1], so remove it. [0]a5a294a622
[1]3895469036
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
65d38a0732
commit
c3784c3ad5
|
@ -5,7 +5,7 @@ let
|
|||
name = "nixos-home-manager-unstable";
|
||||
url = "https://github.com/nix-community/home-manager";
|
||||
ref = "refs/heads/master";
|
||||
rev = "5160039edca28a7e66bad0cfc72a07c91d6768ad"; # 20-04-2023
|
||||
rev = "6f9781b1b0cf3fedbe9d2d0a785aeec4d6085c10"; # 24-04-2023
|
||||
};
|
||||
in {
|
||||
imports = [ (import "${homeManager}/nixos") ];
|
||||
|
|
|
@ -6,15 +6,16 @@ in {
|
|||
enable = true;
|
||||
systemdIntegration = true;
|
||||
extraSessionCommands = ''
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export CLUTTER_BACKEND=wayland
|
||||
export ECORE_EVAS_ENGINE=wayland-egl
|
||||
export ELM_ENGINE=wayland_egl
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export NIXOS_OZONE_WL=1
|
||||
export NO_AT_BRIDGE=1
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
'';
|
||||
xwayland = false;
|
||||
config = {
|
||||
|
@ -291,15 +292,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# FIXME: Temporary until upstream is fixed
|
||||
# https://github.com/nix-community/home-manager/pull/3899
|
||||
xdg.dataFile."dbus-1/services/fnott.service".text = ''
|
||||
[D-BUS Service]
|
||||
Name=org.freedesktop.Notifications
|
||||
Exec=${config.services.fnott.package}/bin/fnott"
|
||||
SystemdService=fnott.service
|
||||
'';
|
||||
|
||||
programs.wofi = {
|
||||
enable = true;
|
||||
style = builtins.readFile ../../extra/wofi/style.css;
|
||||
|
|
Loading…
Reference in a new issue