Skip to content

Commit

Permalink
Merge pull request #3 from gmodena/gmodena-add-hm-setup-info
Browse files Browse the repository at this point in the history
README: add hm import notes
  • Loading branch information
gmodena authored Nov 1, 2023
2 parents 6ae9d1f + 67d9875 commit c8053e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ Using flake, installing `nix-flatpak` as a NixOs module would looks something li
```


Depending on how config and inputs are derived `homeManagerModules` import can be flaky. Here's an example of how `homeManagerModules` is imported on my nixos systems config in [modules/home-manager/desktop/nixos/default.nix](https://github.com/gmodena/config/blob/5b3c1ce979881700f9f5ead88f2827f06143512f/modules/home-manager/desktop/nixos/default.nix#L17). `flake-inputs` is a special extra arg set in the repo `flake.nix`
[mkNixosConfiguration]([https://github.com/gmodena/config/blob/main/flake.nix#L29](https://github.com/gmodena/config/blob/5b3c1ce979881700f9f5ead88f2827f06143512f/flake.nix#L29).

### Remotes
By default `nix-flatpak` will add the flathub remote. Remotes can be manually
configured via the `services.flatpak.remotes` option:
Expand All @@ -72,3 +74,4 @@ Declare packages to install with:
You can pin a specific commit setting `commit=<hash>` attribute.

Rebuild your system (or home-manager) for changes to take place.

0 comments on commit c8053e4

Please sign in to comment.