general improvements
1. Security: Navidrome no longer exposed to network (localhost only) 2. Maintainability: Single username definition in flake.nix:45 3. Organization: Kernel params now in configuration.nix, session vars in desktop.nix 4. Automation: Flathub repository added automatically on activation 5. Cleanup: Removed duplicate programs.dconf.enable
This commit is contained in:
@@ -40,7 +40,8 @@
|
||||
# Enable Flatpak for additional apps (Feishin, etc.)
|
||||
services.flatpak.enable = true;
|
||||
|
||||
# Add Flathub repository automatically on activation
|
||||
# Run manually after first boot: flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
# Then install Feishin: flatpak install flathub io.github.feishin.feishin
|
||||
# Automatically add Flathub repository on system activation
|
||||
system.activationScripts.flatpak-flathub.text = ''
|
||||
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo || true
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user