feat: disable unneeded stuff

This commit is contained in:
dusk 2021-04-04 16:50:19 +03:00
parent 4c9ecbc3ae
commit 6f02cfa730
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 11 additions and 9 deletions

View File

@ -172,19 +172,19 @@ in
enableGC = true;
autoMount = true;
};
flatpak.enable = true;
flatpak.enable = false;
xserver = {
videoDrivers = [ "amdgpu" ];
};
pipewire = {
enable = true;
enable = false;
alsa = {
enable = true;
support32Bit = true;
};
};
postgresql = {
enable = true;
enable = false;
enableTCPIP = true;
authentication = pkgs.lib.mkOverride 10 ''
local all all trust

View File

@ -258,14 +258,15 @@ in
sway = {
enable = true;
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland
#export SDL_VIDEODRIVER=wayland
# needs qt5.qtwayland in systemPackages
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
#export QT_QPA_PLATFORM=wayland
#export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# Fix for some Java AWT applications (e.g. Android Studio),
# use this if they aren't displayed properly:
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_PLATFORM_PLUGIN=qt5ct
'';
wrapperFeatures.gtk = true;
config = {
@ -477,14 +478,15 @@ in
dotDir = ".config/zsh";
history.path = ".local/share/zsh/history";
envExtra = ''
export SDL_VIDEODRIVER=wayland
#export SDL_VIDEODRIVER=wayland
# needs qt5.qtwayland in systemPackages
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
#export QT_QPA_PLATFORM=wayland
#export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# Fix for some Java AWT applications (e.g. Android Studio),
# use this if they aren't displayed properly:
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_PLATFORM_PLUGIN=qt5ct
'';
loginExtra =
''