change timezone

This commit is contained in:
Lgmrszd 2024-08-12 02:33:26 +04:00
parent 3cb341c241
commit 203e40c2db
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -192,7 +192,7 @@ in
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Volgograd"; time.timeZone = "Asia/Tbilisi";
# Configure network proxy if necessary # Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
@ -271,6 +271,22 @@ in
# dedicatedServer.openFirewall = true; # 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 # Configure keymap in X11
# services.xserver.layout = "us"; # services.xserver.layout = "us";
# services.xserver.xkbOptions = "eurosign:e,caps:escape"; # services.xserver.xkbOptions = "eurosign:e,caps:escape";
@ -406,7 +422,7 @@ in
}; };
# Open ports in the firewall. # 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.allowedTCPPorts = [ 5900 5905 7236 7250 ];
networking.firewall.allowedUDPPorts = [ 5900 5905 7236 5353 26000 ]; networking.firewall.allowedUDPPorts = [ 5900 5905 7236 5353 26000 ];