From 203e40c2dbd4ee8d1598cb169e0a88c95539e2a3 Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Mon, 12 Aug 2024 02:33:26 +0400 Subject: [PATCH] change timezone --- hosts/laptop/configuration.nix | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index a87c340..4d085b2 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -192,7 +192,7 @@ in networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Set your time zone. - time.timeZone = "Europe/Volgograd"; + time.timeZone = "Asia/Tbilisi"; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -271,6 +271,22 @@ in # dedicatedServer.openFirewall = true; }; + services.xrdp = { + enable = true; + defaultWindowManager = "startplasma-x11"; + # openFirewall = true; + }; + + services.postgresql = { + enable = true; + ensureDatabases = [ "testdb" ]; + ensureUsers = [ { name = "lgm"; } ]; + authentication = pkgs.lib.mkOverride 10 '' + #type database DBuser auth-method + local all all trust + ''; + }; + # Configure keymap in X11 # services.xserver.layout = "us"; # services.xserver.xkbOptions = "eurosign:e,caps:escape"; @@ -406,7 +422,7 @@ in }; # Open ports in the firewall. - networking.firewall.trustedInterfaces = [ "p2p-wl+" ]; + networking.firewall.trustedInterfaces = [ "p2p-wl+" "tailscale0" ]; networking.firewall.allowedTCPPorts = [ 5900 5905 7236 7250 ]; networking.firewall.allowedUDPPorts = [ 5900 5905 7236 5353 26000 ];