Install NixOS on Hetzner Cloud: Difference between revisions
update example to 24.11 |
drop 24.05 compat |
||
| Line 278: | Line 278: | ||
}; | }; | ||
system.stateVersion = "24. | system.stateVersion = "24.11"; | ||
} | } | ||
</syntaxhighlight>'''Note''': the value of <code>initialHashedPassword</code> above was obtained using <code>mkpasswd</code> command in Linux, and corresponds to <code>Password.123</code> string used as password.<syntaxhighlight lang="nix"> | </syntaxhighlight>'''Note''': the value of <code>initialHashedPassword</code> above was obtained using <code>mkpasswd</code> command in Linux, and corresponds to <code>Password.123</code> string used as password.<syntaxhighlight lang="nix"> | ||
| Line 286: | Line 286: | ||
inputs = { | inputs = { | ||
nixpkgs = { | nixpkgs = { | ||
url = "github:NixOS/nixpkgs/nixos-24. | url = "github:NixOS/nixpkgs/nixos-24.11"; | ||
}; | }; | ||