Flatpak: add flathub
This commit is contained in:
parent
455790a5b1
commit
124322df4c
1 changed files with 7 additions and 0 deletions
|
|
@ -2,4 +2,11 @@
|
|||
|
||||
{
|
||||
services.flatpak.enable = true;
|
||||
system.activationScripts = {
|
||||
flatpak.text = ''
|
||||
echo "adding flatpak repos..."
|
||||
repo=${pkgs.fetchurl { url = "https://dl.flathub.org/repo/flathub.flatpakrepo"; hash = "sha256-M3HdJQ5h2eFjNjAHP+/aFTzUQm9y9K+gwzc64uj+oDo="; } }
|
||||
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub $repo
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue