upload af nix configs

This commit is contained in:
2026-07-12 14:39:07 +02:00
commit f4382c7a97
8 changed files with 189 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
{ pkgs, ... }: {
services.flatpak.enable = true;
# Auto-install flatpak-apps ved rebuild
system.activationScripts.flatpak = {
text = ''
FLATPAK="${pkgs.flatpak}/bin/flatpak"
# Tilføj flathub remote
$FLATPAK remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Installer apps (--or-update opdaterer hvis allerede installeret)
apps="
io.github.Faugus.faugus-launcher
com.adamcake.Bolt
com.notesnook.Notesnook
com.saivert.pwvucontrol
com.github.tchx84.Flatseal
org.kde.kdenlive
it.mijorus.gearlever
com.github.Matoking.protontricks
com.vysp3r.ProtonPlus
org.musicbrainz.Picard
io.github.radiolamp.mangojuice
"
for app in $apps; do
$FLATPAK install --noninteractive --or-update flathub "$app" 2>/dev/null || true
done
'';
description = "Install flatpak apps";
};
}