mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
enable flatpak on all desktops
This commit is contained in:
parent
3d1f8393f4
commit
c45080ccd5
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -15,8 +15,5 @@
|
||||||
enablePrinting = true;
|
enablePrinting = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# flatpak xdg-portal-kde crashes, otherwise this would be global
|
|
||||||
services.flatpak.enable = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue