15 lines
506 B
Nix
15 lines
506 B
Nix
{ lib, config, ... }:
|
|
{
|
|
xdg.systemDirs.data = lib.optionals
|
|
config.meta.home-manager.desktop.enable
|
|
[ "/var/lib/flatpak/exports/share" "${config.xdg.dataHome}/flatpak/exports/share" ];
|
|
services.flatpak = lib.mkIf config.meta.home-manager.desktop.enable {
|
|
enableModule = true;
|
|
packages = [
|
|
"sober:app/org.vinegarhq.Sober/x86_64/master"
|
|
];
|
|
remotes = {
|
|
sober = "https://sober.vinegarhq.org/sober.flatpakref";
|
|
};
|
|
};
|
|
}
|