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

View file

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

View file

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