From c87bb2a81d9e6d2dab603e67e64a677e9d2e353d Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Sat, 14 Sep 2024 12:32:50 -0300 Subject: [PATCH] Enable flatpak repo --- nixos/kde-desktop.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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