Skip to content

Commit

Permalink
testing-base: enable flatpak in vm base config. (#81)
Browse files Browse the repository at this point in the history
Ensure that the flatpak binary will be available
also when building a VM variant that loads
nix-flatpak as an home-manager module.
  • Loading branch information
gmodena authored Oct 8, 2024
1 parent dbce39e commit d65dbf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion testing-base/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
# xdg-desktop-portal-gtk
];
};


# install flatpak binary
services.flatpak.enable = true;
system.stateVersion = "23.11";
}
3 changes: 0 additions & 3 deletions testing-base/flatpak.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# home.nix
{ lib, ... }: {

# nix-flatpak setup
services.flatpak.enable = true;

services.flatpak.remotes = lib.mkOptionDefault [{
name = "flathub-beta";
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
Expand Down

0 comments on commit d65dbf5

Please sign in to comment.