nix-config/nixos/_mixins/services/flatpak.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

10 lines
291 B
Nix

{ 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
'';
};
}