Add declarative flatpak apps

This commit is contained in:
GHOSCHT 2024-01-26 18:04:50 +01:00
parent fa15362b60
commit 8fad99d37f
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
3 changed files with 17 additions and 1 deletions

View file

@ -28,13 +28,13 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
xremap.url = "github:xremap/nix-flake"; xremap.url = "github:xremap/nix-flake";
flatpaks.url = "github:GermanBread/declarative-flatpak/stable";
}; };
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
home-manager, home-manager,
arkenfox,
... ...
} @ inputs: let } @ inputs: let
inherit (self) outputs; inherit (self) outputs;

View file

@ -7,6 +7,7 @@
./playerctl.nix ./playerctl.nix
./easyeffects.nix ./easyeffects.nix
./nextcloud.nix ./nextcloud.nix
./flatpak.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -0,0 +1,15 @@
{
inputs,
pkgs,
vars,
...
}: {
imports = [inputs.flatpaks.homeManagerModules.default];
services.flatpak = {
remotes.flathub = "https://flathub.org/repo/flathub.flatpakrepo";
packages = [
"flathub:app/us.zoom.Zoom//stable"
"flathub:app/com.discordapp.Discord//stable"
];
};
}