diff --git a/flake.lock b/flake.lock index f2d2da2..b27632e 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1755027561, - "narHash": "sha256-IVft239Bc8p8Dtvf7UAACMG5P3ZV+3/aO28gXpGtMXI=", + "lastModified": 1755186698, + "narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "005433b926e16227259a1843015b5b2b7f7d1fc3", + "rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c", "type": "github" }, "original": { diff --git a/modules/common/networking.nix b/modules/common/networking.nix index 0c4fbbc..6754cca 100644 --- a/modules/common/networking.nix +++ b/modules/common/networking.nix @@ -1,4 +1,8 @@ -{ config, pkgs, ... }: { +{ + config, + pkgs, + ... +}: { networking.networkmanager.enable = true; time.timeZone = "Europe/Bucharest"; i18n.defaultLocale = "en_US.UTF-8"; @@ -15,24 +19,24 @@ LC_TIME = "ro_RO.UTF-8"; }; - environment.systemPackages = with pkgs; [ torsocks ]; + environment.systemPackages = with pkgs; [torsocks]; # 9050,9063,8118(HTTP) services.tor = { enable = true; client.enable = true; openFirewall = true; - settings = { ControlPort = 9051; }; + settings = {ControlPort = 9051;}; }; - security.pki.certificates = [ "/home/user/.config/bigbox.local.crt" ]; + security.pki.certificates = ["/home/user/.config/bigbox.local.crt"]; networking.extraHosts = ""; services.chrony = { enable = true; enableNTS = true; - servers = - [ "nts.teambelgium.net" "ptbtime1.ptb.de" "paris.time.system76.com" ]; + extraConfig = "rtcsync"; + servers = ["nts.teambelgium.net" "ptbtime1.ptb.de" "paris.time.system76.com"]; }; }