treewide: add flatpak for sober
This commit is contained in:
parent
ef474ea4b2
commit
68a619879c
5 changed files with 2365 additions and 56 deletions
2400
flake.lock
2400
flake.lock
File diff suppressed because it is too large
Load diff
|
@ -59,7 +59,12 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
niri.url = "github:sodiboo/niri-flake";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.5.0";
|
||||
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";
|
||||
plasma-manager = {
|
||||
url = "github:nix-community/plasma-manager";
|
||||
|
|
9
home/services/flatpak.nix
Normal file
9
home/services/flatpak.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
}
|
|
@ -23,6 +23,8 @@ in {
|
|||
"${system}/services/gnome.nix"
|
||||
|
||||
"${system}/services/documentation.nix"
|
||||
|
||||
"${system}/services/flatpak.nix"
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
|
@ -41,6 +43,8 @@ in {
|
|||
"${home}/programs/swayidle.nix"
|
||||
|
||||
"${home}/terminal/emulators/foot.nix"
|
||||
|
||||
"${home}/services/flatpak.nix"
|
||||
"${home}/services/syncthing.nix"
|
||||
];
|
||||
extraSpecialArgs = specialArgs;
|
||||
|
|
3
system/services/flatpak.nix
Normal file
3
system/services/flatpak.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
_: {
|
||||
services.flatpak.enable = true;
|
||||
}
|
Loading…
Reference in a new issue