Remove network settings from tmp

This commit is contained in:
Mateusz Słodkowicz 2023-05-18 22:56:33 +02:00
parent a2e2fad68e
commit f44581143a
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 2 additions and 9 deletions

View File

@ -36,9 +36,7 @@ in
services.flatpak.enable = true; services.flatpak.enable = true;
services.gvfs.enable = true; services.gvfs.enable = true;
networking.hostName = "materusPC";
networking.networkmanager.enable = true;
time.timeZone = "Europe/Warsaw"; time.timeZone = "Europe/Warsaw";
i18n.defaultLocale = "pl_PL.UTF-8"; i18n.defaultLocale = "pl_PL.UTF-8";
@ -189,9 +187,7 @@ in
services.samba-wsdd.enable = true; services.samba-wsdd.enable = true;
services.samba.enable = true; services.samba.enable = true;
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656];
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656];
networking.firewall.enable = true;
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
@ -222,10 +218,7 @@ in
command-not-found.enable = false; command-not-found.enable = false;
dconf.enable = true; dconf.enable = true;
}; };
networking.networkmanager.extraConfig = lib.mkDefault ''
[connectivity]
uri=http://nmcheck.gnome.org/check_network_status.txt
'';
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox firefox