Set state version and update deprecated configuration
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
2286867025
commit
9e95e6c8d3
|
@ -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 ];
|
||||
|
|
Loading…
Reference in New Issue
Block a user