treewide: add flatpak for sober

This commit is contained in:
Anthony Rodriguez 2024-12-05 15:58:37 +01:00
parent ef474ea4b2
commit 68a619879c
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
5 changed files with 2365 additions and 56 deletions

2400
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -59,7 +59,12 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
niri.url = "github:sodiboo/niri-flake"; niri.url = "github:sodiboo/niri-flake";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.5.0";
nvf.url = "github:notashelf/nvf"; nvf.url = "github:notashelf/nvf";
neovim-flake = {
url = "git+https://git.nezia.dev/nezia/neovim-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
portfolio.url = "github:nezia1/portfolio"; portfolio.url = "github:nezia1/portfolio";
plasma-manager = { plasma-manager = {
url = "github:nix-community/plasma-manager"; url = "github:nix-community/plasma-manager";

View file

@ -0,0 +1,9 @@
{inputs, ...}: {
imports = [inputs.nix-flatpak.homeManagerModules.nix-flatpak];
services.flatpak.packages = [
{
flatpakref = "https://sober.vinegarhq.org/sober.flatpakref";
sha256 = "1pj8y1xhiwgbnhrr3yr3ybpfis9slrl73i0b1lc9q89vhip6ym2l";
}
];
}

View file

@ -23,6 +23,8 @@ in {
"${system}/services/gnome.nix" "${system}/services/gnome.nix"
"${system}/services/documentation.nix" "${system}/services/documentation.nix"
"${system}/services/flatpak.nix"
]; ];
home-manager = { home-manager = {
@ -41,6 +43,8 @@ in {
"${home}/programs/swayidle.nix" "${home}/programs/swayidle.nix"
"${home}/terminal/emulators/foot.nix" "${home}/terminal/emulators/foot.nix"
"${home}/services/flatpak.nix"
"${home}/services/syncthing.nix" "${home}/services/syncthing.nix"
]; ];
extraSpecialArgs = specialArgs; extraSpecialArgs = specialArgs;

View file

@ -0,0 +1,3 @@
_: {
services.flatpak.enable = true;
}