fix: NetworkManager impermanence
This commit is contained in:
parent
e33a6e181e
commit
7874412a48
@ -34,24 +34,8 @@ in
|
|||||||
glib
|
glib
|
||||||
gnome-menus
|
gnome-menus
|
||||||
gtk3.out
|
gtk3.out
|
||||||
xdg-user-dirs
|
|
||||||
xdg-user-dirs-gtk
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable Gnome Remote Desktop
|
|
||||||
services.gnome.gnome-remote-desktop.enable = true;
|
|
||||||
systemd.services."gnome-remote-desktop".wantedBy = [ "graphical.target" ];
|
|
||||||
networking.firewall = {
|
|
||||||
allowedTCPPorts = [
|
|
||||||
3389
|
|
||||||
3390
|
|
||||||
];
|
|
||||||
allowedUDPPorts = [
|
|
||||||
3389
|
|
||||||
3390
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# For GSConnect/KDE Connect
|
# For GSConnect/KDE Connect
|
||||||
# TODO: Move to host config?
|
# TODO: Move to host config?
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
@ -70,8 +54,9 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Enable dependencies
|
# Enable dependencies
|
||||||
modules = {
|
modules.networkmanager.enable = true;
|
||||||
networkmanager.enable = true;
|
|
||||||
};
|
# Impermanence
|
||||||
|
modules.impermanence.directories = [ "/etc/NetworkManager/system-connections" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user