From 9e95e6c8d3683728f39169676f221f5b3d530379 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 30 Dec 2023 23:06:19 +0000 Subject: [PATCH] Set state version and update deprecated configuration Signed-off-by: Danila Fedorin --- configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 49f775e..37ffcbf 100644 --- a/configuration.nix +++ b/configuration.nix @@ -28,6 +28,8 @@ in ./networking.nix # generated at runtime by nixos-infect ]; + system.stateVersion = "24.05"; + nix = { package = pkgs.nixUnstable; extraOptions = '' @@ -39,7 +41,7 @@ in git ]; - boot.cleanTmpDir = true; + boot.tmp.cleanOnBoot = true; networking.hostName = "nixos-droplet-v2"; networking.firewall.allowPing = true; networking.firewall.allowedTCPPorts = [ 22 80 443 ];