split flatpak.nix in software and config part

This commit is contained in:
Ranomier 2024-12-01 20:15:54 +01:00
parent 3d284f9229
commit 6d82cb9640
3 changed files with 53 additions and 48 deletions

View file

@ -81,6 +81,7 @@
../../modules/software/audio_video.nix ../../modules/software/audio_video.nix
../../modules/software/obs-studio.nix ../../modules/software/obs-studio.nix
../../modules/software/shell.nix ../../modules/software/shell.nix
../../modules/software/flatpak.nix
../../modules/wm_and_de/hyprland.nix ../../modules/wm_and_de/hyprland.nix

View file

@ -1,4 +1,4 @@
{lib, ...}: { { ... }: {
services.flatpak = { services.flatpak = {
enable = true; enable = true;
update.auto = { update.auto = {
@ -19,52 +19,5 @@
} }
]; ];
packages = [
{
origin = "flathub";
appId = "com.github.tchx84.Flatseal";
} # flatpak permisssion gui
{
origin = "flathub";
appId = "com.mojang.Minecraft";
} # Lego for adults
{
origin = "flathub";
appId = "de.schmidhuberj.DieBahn";
} # Public transport connection viewer
{
origin = "flathub";
appId = "com.github.hugolabe.Wike";
} # Wikpedia, but in nice
#{ origin = "flathub"; appId = "com.jeffser.Alpaca"; } # Local chat AI
{
origin = "flathub";
appId = "io.gpt4all.gpt4all";
} # Local chat AI
{
origin = "flathub";
appId = "md.obsidian.Obsidian";
} # note taking and brain organising
# messenger
{
origin = "flathub";
appId = "org.signal.Signal";
}
{
origin = "flathub";
appId = "org.telegram.desktop";
}
{
origin = "flathub";
appId = "dev.vencord.Vesktop";
} # More usable discord for linux
{
origin = "flathub";
appId = "io.github.Soundux";
} # soundboard
#"com.obsproject.Studio" #this is another way to write it
];
}; };
} }

View file

@ -0,0 +1,51 @@
{ ... }: {
services.flatpak = {
packages = [
{
origin = "flathub";
appId = "com.github.tchx84.Flatseal";
} # flatpak permisssion gui
{
origin = "flathub";
appId = "com.mojang.Minecraft";
} # Lego for adults
{
origin = "flathub";
appId = "de.schmidhuberj.DieBahn";
} # Public transport connection viewer
{
origin = "flathub";
appId = "com.github.hugolabe.Wike";
} # Wikpedia, but in nice
#{ origin = "flathub"; appId = "com.jeffser.Alpaca"; } # Local chat AI
{
origin = "flathub";
appId = "io.gpt4all.gpt4all";
} # Local chat AI
{
origin = "flathub";
appId = "md.obsidian.Obsidian";
} # note taking and brain organising
# messenger
{
origin = "flathub";
appId = "org.signal.Signal";
}
{
origin = "flathub";
appId = "org.telegram.desktop";
}
{
origin = "flathub";
appId = "dev.vencord.Vesktop";
} # More usable discord for linux
{
origin = "flathub";
appId = "io.github.Soundux";
} # soundboard
#"com.obsproject.Studio" #this is another way to write it
];
};
}