Files
nix/modules/software/flatpak.nix
2026-03-07 10:52:18 -06:00

29 lines
717 B
Nix

{ inputs, lib, ... }: {
den.aspects.flatpak = {
nixos = { ... }: {
imports = [ inputs.nix-flatpak.nixosModules.nix-flatpak ];
services.flatpak = {
enable = true;
remotes = lib.mkOptionDefault [{
name = "flathub-beta";
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
} {
name = "RSILauncher";
location = "https://mactan-sc.github.io/rsilauncher/RSILauncher.flatpakrepo";
}];
update.auto.enable = true;
uninstallUnmanaged = true;
overrides = {
global = {
Context.sockets = [ "wayland" "!x11" "!fallback-x11" ];
};
};
};
};
};
}