Update flatpaks.nix
This commit is contained in:
parent
801e6d6678
commit
fadec133a1
1 changed files with 9 additions and 2 deletions
|
|
@ -1,8 +1,15 @@
|
||||||
# flatpaks.nix
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
# This fetches the code directly from GitHub without needing a 'channel'
|
||||||
|
nix-flatpak = builtins.fetchTarball {
|
||||||
|
url = "https://github.com/gmodena/nix-flatpak/archive/main.tar.gz";
|
||||||
|
# You can add a sha256 here for security later
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<nix-flatpak/nixos.nix>
|
"${nix-flatpak}/nixos.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.flatpak = {
|
services.flatpak = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue