Use flatpacked vivaldi, flake update

This commit is contained in:
2025-11-23 10:20:20 +03:00
parent b1f5a9fd6b
commit 658a645080
6 changed files with 72 additions and 17 deletions

25
modules/hm/flatpak.nix Normal file
View File

@@ -0,0 +1,25 @@
{
osConfig,
config,
lib,
...
}:
{
services.flatpak = lib.mkIf (osConfig.services.flatpak.enable) {
enable = true;
uninstallUnmanaged = true;
remotes = [
{
name = "flathub";
location = "https://flathub.org/repo/flathub.flatpakrepo";
}
];
packages = lib.mkIf (config.programs.vivaldi.flatpak) [
{
appId = "com.vivaldi.Vivaldi";
origin = "flathub";
}
];
};
}