nix-config/nixos/_mixins/services/flatpak.nix

11 lines
291 B
Nix
Raw Normal View History

{ pkgs, ... }: {
services.flatpak.enable = true;
systemd.services.configure-flathub-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
}