Enable system flatpak via nix-flatpak and simplify HM
This commit is contained in:
parent
b7e9e1a2c2
commit
83ea723834
7 changed files with 86 additions and 14 deletions
25
modules/system/flatpak.nix
Normal file
25
modules/system/flatpak.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
remotes = [
|
||||
{
|
||||
name = "flathub";
|
||||
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
||||
}
|
||||
{
|
||||
name = "flathub-beta";
|
||||
location = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo";
|
||||
}
|
||||
];
|
||||
update.auto = {
|
||||
enable = true;
|
||||
onCalendar = "daily";
|
||||
};
|
||||
packages = [
|
||||
"com.github.tchx84.Flatseal"
|
||||
"io.github.kolunmi.Bazaar"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue