Set state version and update deprecated configuration

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2023-12-30 23:06:19 +00:00
parent 2286867025
commit 9e95e6c8d3

View File

@ -28,6 +28,8 @@ in
./networking.nix # generated at runtime by nixos-infect ./networking.nix # generated at runtime by nixos-infect
]; ];
system.stateVersion = "24.05";
nix = { nix = {
package = pkgs.nixUnstable; package = pkgs.nixUnstable;
extraOptions = '' extraOptions = ''
@ -39,7 +41,7 @@ in
git git
]; ];
boot.cleanTmpDir = true; boot.tmp.cleanOnBoot = true;
networking.hostName = "nixos-droplet-v2"; networking.hostName = "nixos-droplet-v2";
networking.firewall.allowPing = true; networking.firewall.allowPing = true;
networking.firewall.allowedTCPPorts = [ 22 80 443 ]; networking.firewall.allowedTCPPorts = [ 22 80 443 ];