WIP: Switch to NixOS #5
2 changed files with 20 additions and 0 deletions
|
@ -172,6 +172,9 @@ dotfiles:
|
||||||
f_electron12-flags.conf:
|
f_electron12-flags.conf:
|
||||||
src: .config/electron12-flags.conf
|
src: .config/electron12-flags.conf
|
||||||
dst: ~/.config/electron12-flags.conf
|
dst: ~/.config/electron12-flags.conf
|
||||||
|
f_wayland.sh:
|
||||||
|
src: .config/plasma-workspace/env/wayland.sh
|
||||||
|
dst: ~/.config/plasma-workspace/env/wayland.sh
|
||||||
profiles:
|
profiles:
|
||||||
base:
|
base:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
|
@ -246,6 +249,7 @@ profiles:
|
||||||
- f_gpg.conf
|
- f_gpg.conf
|
||||||
- f_electron-flags.conf
|
- f_electron-flags.conf
|
||||||
- f_electron12-flags.conf
|
- f_electron12-flags.conf
|
||||||
|
- f_wayland.sh
|
||||||
Moria:
|
Moria:
|
||||||
include:
|
include:
|
||||||
- terminal
|
- terminal
|
||||||
|
|
16
home/.config/plasma-workspace/env/wayland.sh
vendored
Normal file
16
home/.config/plasma-workspace/env/wayland.sh
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Set environment variables for Sway
|
||||||
|
|
||||||
|
# Firefox
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
export MOZ_USE_XINPUT2=1
|
||||||
|
export MOZ_WEBRENDER=1
|
||||||
|
export MOZ_DBUS_REMOTE=1
|
||||||
|
|
||||||
|
# Fix java on wayland
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
|
||||||
|
|
||||||
|
# Enable wayland support on clutter
|
||||||
|
export CLUTTER_BACKEND=wayland
|
Loading…
Add table
Add a link
Reference in a new issue