diff --git a/nixos/kde-desktop.nix b/nixos/kde-desktop.nix index 34ddaa5..c63d101 100644 --- a/nixos/kde-desktop.nix +++ b/nixos/kde-desktop.nix @@ -39,6 +39,15 @@ services.printing.enable = true; programs.kdeconnect.enable = true; + #Enable flatpak repo by default for all users + systemd.services.flatpak-repo = { + wantedBy = [ "multi-user.target" ]; + path = [ pkgs.flatpak ]; + script = '' + flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + ''; + }; + environment.systemPackages = with pkgs; [ pkgs.krfb pkgs.krdc