modified: configuration.nix
This commit is contained in:
parent
2ca2f0454a
commit
127d0d846f
1 changed files with 2 additions and 1 deletions
|
|
@ -752,8 +752,9 @@ in
|
|||
|
||||
# каждый компьютер имеет выход в интернет
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
networking.hostName = "nixos";
|
||||
networking.firewall.allowedTCPPorts = [ 22 ] ++ lib.optionals config.services.harmonia.enable [ 80 ];
|
||||
|
||||
|
||||
# каждый компьютер знает, что kafpi.local - это адрес нашего сервера
|
||||
networking.hosts."${serverIP}" = [ "kafpi.local" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue