Use flatpacked vivaldi, flake update
This commit is contained in:
25
modules/hm/flatpak.nix
Normal file
25
modules/hm/flatpak.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user