WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
2 changed files with 20 additions and 0 deletions
Showing only changes of commit c52737d9b3 - Show all commits

View file

@ -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

View 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