enable flatpak on all desktops

This commit is contained in:
Vinzenz Schroeter 2023-11-06 13:37:38 +01:00
parent 3d1f8393f4
commit c45080ccd5
3 changed files with 5 additions and 7 deletions

View file

@ -23,11 +23,14 @@ in {
config = lib.mkIf isEnabled {
services = {
xserver = {
# Enable the X11 windowing system / wayland depending on DE
xserver = {
enable = true;
libinput.enable = true;
};
# flatpak xdg-portal-kde crashes, otherwise this would be global
flatpak.enable = true;
};
# Enable sound with pipewire.
@ -76,6 +79,7 @@ in {
# save some boot time because nothing actually requires network connectivity
services.NetworkManager-wait-online.enable = false;
# prevent stuck units from preventing shutdown (default is 120s)
extraConfig = ''
DefaultTimeoutStopSec=12s
'';

View file

@ -11,9 +11,6 @@ in {
config = lib.mkIf isEnabled {
my.desktop.enable = true;
# flatpak xdg-portal-kde crashes, otherwise this would be global
services.flatpak.enable = false;
services = {
# Enable the KDE Plasma Desktop Environment.
xserver = {

View file

@ -15,8 +15,5 @@
enablePrinting = true;
};
};
# flatpak xdg-portal-kde crashes, otherwise this would be global
services.flatpak.enable = true;
};
}