Reorganized

This commit is contained in:
Jan-Bulthuis committed 2025-05-09 15:27:44 +02:00
1 parent c3c61ce654
commit 760815da50
145 files changed
-1444

No files matched your search

@@ -0,0 +1,25 @@
{
lib,
config,
...
}:
with lib;
{
options.modules.flatpak = {
enable = mkEnableOption "flatpak";
remotes = mkOption {
type = types.attrsOf types.str;
default = {
flathub = "https://dl.flathub.org/repo/flathub.flatpakrepo";
flathub-beta = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo";
};
description = "A set of flatpak repositories to add.";
};
};
config = mkIf config.modules.flatpak.enable {
services.flatpak.enableModule = true;
services.flatpak.remotes = config.modules.flatpak.remotes;
};
}
@@ -0,0 +1,5 @@
{
flatpak = {
# services.flatpak.enable = true;
};
}