code dump v1

This commit is contained in:
2024-12-12 20:41:58 -05:00
parent 72c9007b05
commit d8a9e92dff
12 changed files with 137 additions and 87 deletions

36
modules/apps/flatpak.nix Normal file
View File

@ -0,0 +1,36 @@
{
lib,
pkgs,
flatpakPackages ? [],
flatpakRemotes ? [],
}: {
services.flatpak = {
enable = true;
remotes =
if flatpakRemotes == []
then [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
]
else flatpakRemotes;
# packages = [
# "com.github.tchx84.Flatseal"
# "com.slack.Slack"
# "info.beyondallreason.bar"
# "io.dbeaver.DBeaverCommunity"
# "io.openrct2.OpenRCT2"
# "md.obsidian.Obsidian"
# "org.prismlauncher.PrismLauncher"
# "sh.cider.Cider"
# ];
packages = flatpakPackages;
update = {
auto = {
enable = true;
onCalendar = "weekly";
};
};
};
}