Add declarative flatpak apps
This commit is contained in:
parent
fa15362b60
commit
8fad99d37f
3 changed files with 17 additions and 1 deletions
|
@ -28,13 +28,13 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
xremap.url = "github:xremap/nix-flake";
|
||||
flatpaks.url = "github:GermanBread/declarative-flatpak/stable";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
arkenfox,
|
||||
...
|
||||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./playerctl.nix
|
||||
./easyeffects.nix
|
||||
./nextcloud.nix
|
||||
./flatpak.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
15
home/features/desktop/common/flatpak.nix
Normal file
15
home/features/desktop/common/flatpak.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue