Update flatpaks.nix

This commit is contained in:
ediblerope 2025-12-25 11:17:35 +00:00 committed by GitHub
parent 7c942aa490
commit 6cbf9ef7ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,23 +1,24 @@
{ config, pkgs, ... }:
let
nix-flatpak = builtins.fetchTarball {
url = "https://github.com/gmodena/nix-flatpak/archive/main.tar.gz";
};
in
{
imports = [
# Pointing to the specific sub-folder path
"${nix-flatpak}/modules/nixos.nix"
<nix-flatpak/modules/nixos.nix>
];
services.flatpak = {
enable = true;
# This matches the options provided by the nix-flatpak module
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
packages = [
"io.github.zen_browser.zen"
"dev.vencord.Vesktop"
];
overrides = {
"io.github.zen_browser.zen" = {
Context.filesystems = [ "home:rw" ];