mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-25 04:28:01 +01:00
change timezone
This commit is contained in:
parent
3cb341c241
commit
203e40c2db
1 changed files with 18 additions and 2 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue