Update flatpaks.nix
This commit is contained in:
parent
fadec133a1
commit
7f8cf75e1c
1 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue