Files
frank-nix/features/flatpak.nix
T

36 lines
772 B
Nix

{ lib, pkgs, ... }:
{
services.flatpak = {
enable = true;
update.auto = {
enable = true;
onCalendar = "weekly";
};
remotes = lib.mkOptionDefault [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
{
name = "flathub-beta";
location = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
{
name = "flatpark";
location = "https://dl.flatpark.org/flatpark.flatpakrepo";
}
{
name = "amethyst-mod-manager";
location = "https://chrisdkn.github.io/Amethyst-Mod-Manager/amethyst.flatpakrepo";
}
];
};
environment.systemPackages = with pkgs; [
flatpak-builder
appstream
];
}