66 lines
1.6 KiB
Nix
66 lines
1.6 KiB
Nix
{
|
|
services.flatpak = {
|
|
enable = true;
|
|
remotes = [
|
|
{
|
|
name = "flathub";
|
|
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
|
}
|
|
];
|
|
packages = [
|
|
# misc
|
|
"io.github.zen_browser.zen"
|
|
"net.mullvad.MullvadBrowser"
|
|
"com.obsproject.Studio"
|
|
"com.bitwarden.desktop"
|
|
"com.github.tchx84.Flatseal"
|
|
|
|
"com.usebottles.bottles"
|
|
"com.logseq.Logseq"
|
|
|
|
# chatting
|
|
"org.signal.Signal"
|
|
"org.telegram.desktop"
|
|
"org.mozilla.Thunderbird"
|
|
|
|
# media
|
|
#"io.github.celluloid_player.Celluloid"
|
|
"io.mpv.Mpv"
|
|
];
|
|
overrides = {
|
|
"global" = {
|
|
# Force Wayland by default
|
|
Context = {
|
|
sockets = ["wayland" "!x11" "!fallback-x11"];
|
|
filesystems = [
|
|
"xdg-run/pipewire-0"
|
|
"xdg-config/gtk-3.0:ro"
|
|
"xdg-config/gtk-4.0:ro"
|
|
# "~/.local/share/fonts:ro"
|
|
"~/.local/share/icons:ro"
|
|
# "~/.nix-profile/share/icons:ro"
|
|
# "~/.nix-profile/share/fonts:ro"
|
|
"/nix/store:ro"
|
|
];
|
|
};
|
|
Environment = {
|
|
XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons";
|
|
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
|
#GTK_THEME = "adw-gtk3";
|
|
};
|
|
};
|
|
"org.signal.Signal" = {
|
|
Environment = {
|
|
SIGNAL_PASSWORD_STORE = "gnome-libsecret";
|
|
};
|
|
};
|
|
"com.usebottles.Bottles" = {
|
|
Context = {
|
|
sockets = ["x11" "wayland"];
|
|
# filesystems = ["/home/user/docs/nure/tex-template/assets/BridgeKSG"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|