mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Remove flatpak systemd intialization service
This commit is contained in:
3
nixos-configurations/flatpak.sh
Normal file
3
nixos-configurations/flatpak.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
|
flatpak install flathub io.dbeaver.DBeaverCommunity
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs, ... }:
|
{ inputs, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -33,14 +33,6 @@
|
|||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.flatpak-repo = {
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
path = [ pkgs.flatpak ];
|
|
||||||
script = ''
|
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 53317 ];
|
allowedTCPPorts = [ 53317 ];
|
||||||
allowedUDPPorts = [ 53317 ];
|
allowedUDPPorts = [ 53317 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user