Skip to content

Commit

Permalink
Merge pull request #14 from SuperSandro2000/patch-1
Browse files Browse the repository at this point in the history
Improve readme.

Makes code examples more idiomatic.
Fix indentation.
  • Loading branch information
gmodena authored Nov 13, 2023
2 parents 0b84423 + a17b448 commit 981dc59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Using flake, installing `nix-flatpak` as a NixOs module would looks something li
{
inputs = {
# ...
nix-flatpak.url = "github:gmodena/nix-flatpak/main"; # unstable branch. Use github:gmodena/nix-flatpak/?ref=<tag> to pin releases.
nix-flatpak.url = "github:gmodena/nix-flatpak"; # unstable branch. Use github:gmodena/nix-flatpak/?ref=<tag> to pin releases.
};
outputs = { nix-flatpak, ... }: {
Expand All @@ -72,7 +72,9 @@ By default `nix-flatpak` will add the flathub remote. Remotes can be manually
configured via the `services.flatpak.remotes` option:

```nix
services.flatpak.remotes = [{ name = "flathub-beta"; location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo"; }];
services.flatpak.remotes = [{
name = "flathub-beta"; location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
}];
```

### Packages
Expand Down Expand Up @@ -100,11 +102,9 @@ pinned to a specific commit hash will not be updated.

Periodic updates can be enabled by setting:
```nix
services.flatpak.update = {
auto = {
enable = true;
onCalendar = "weekly"; # Default value
};
services.flatpak.update.auto = {
enable = true;
onCalendar = "weekly"; # Default value
};
```
Auto updates trigger on system activation.
Expand Down

0 comments on commit 981dc59

Please sign in to comment.