Update flatpaks.nix

This commit is contained in:
ediblerope 2025-12-19 09:33:30 +00:00 committed by GitHub
parent fadec133a1
commit 7f8cf75e1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,19 +1,19 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
# This fetches the code directly from GitHub without needing a 'channel'
nix-flatpak = builtins.fetchTarball { nix-flatpak = builtins.fetchTarball {
url = "https://github.com/gmodena/nix-flatpak/archive/main.tar.gz"; url = "https://github.com/gmodena/nix-flatpak/archive/main.tar.gz";
# You can add a sha256 here for security later
}; };
in in
{ {
imports = [ imports = [
"${nix-flatpak}/nixos.nix" # Pointing to the specific sub-folder path
"${nix-flatpak}/modules/nixos.nix"
]; ];
services.flatpak = { services.flatpak = {
enable = true; enable = true;
# This matches the options provided by the nix-flatpak module
packages = [ packages = [
"io.github.zen_browser.zen" "io.github.zen_browser.zen"
]; ];