making some config changes to better setup qt environments

This commit is contained in:
Chris Cochrun 2022-07-05 09:26:54 -05:00
parent 1e2cc2c916
commit 982b86059f
12 changed files with 278 additions and 79 deletions

View file

@ -64,8 +64,6 @@
# desktopManager.gnome.enable = true;
};
# programs.qt5ct.enable = true;
# Configure keymap in X11
services.xserver.layout = "us";
# services.xserver.xkbOptions = "eurosign:e";
@ -84,7 +82,7 @@
wireplumber.enable = true;
};
# Needed for some pipewire progs
# Needed for some pipewire progs and other gtk apps
programs.dconf.enable = true;
# Turn on flatpak
@ -96,13 +94,14 @@
# Set default shell to be dash for speed
# Apparently this is bad because a lot of nix relies on bash
# environment.binsh = "${pkgs.dash}/bin/dash";
environment.variables = {
EDITOR = "emacsclient -t -a";
VISUAL = "emacsclient -c -a";
# Fixing Qt apps in other environments
# QT_XCB_GL_INTEGRATION = "xcb_egl";
QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
# QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
};
environment.homeBinInPath = true;
programs.fish.enable = true;
@ -188,6 +187,7 @@
nerdfonts
latte-dock
bat
jq
alacritty
libsForQt5.bismuth
libnotify
@ -214,6 +214,7 @@
qrencode
brave
scribus
qutebrowser
# firefox
kate
kdialog
@ -253,6 +254,7 @@
OVMFFull
element-desktop-wayland
scrcpy
python
# hyprland
blender
neofetch
@ -326,7 +328,7 @@
services.emacs = {
enable = true;
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
};
services.samba-wsdd.enable = true;
services.samba = {

View file

@ -64,8 +64,6 @@
desktopManager.plasma5.enable = true;
# desktopManager.gnome.enable = true;
};
# programs.qt5ct.enable = true;
# Configure keymap in X11
services.xserver.layout = "us";
@ -89,7 +87,7 @@
wireplumber.enable = true;
};
# Needed for some pipewire progs
# Needed for some pipewire progs and other gtk apps
programs.dconf.enable = true;
# Turn on flatpak
@ -123,13 +121,14 @@
# Set default shell to be dash for speed
# Apparently this is bad because a lot of nix relies on bash
# environment.binsh = "${pkgs.dash}/bin/dash";
environment.variables = {
EDITOR = "emacsclient -t -a";
VISUAL = "emacsclient -c -a";
# Fixing Qt apps in other environments
# QT_XCB_GL_INTEGRATION = "xcb_egl";
QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
# QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
};
environment.homeBinInPath = true;
programs.fish.enable = true;
@ -202,6 +201,7 @@
nerdfonts
latte-dock
bat
jq
alacritty
libsForQt5.bismuth
libnotify
@ -228,6 +228,7 @@
qrencode
brave
scribus
qutebrowser
# firefox
kate
kdialog
@ -267,6 +268,7 @@
OVMFFull
element-desktop-wayland
scrcpy
python
# hyprland
neofetch
afetch
@ -343,7 +345,7 @@
services.emacs = {
enable = true;
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
};
services.samba-wsdd.enable = true;
services.samba = {