We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a79da7 + fdc04c3 commit 42ee229Copy full SHA for 42ee229
configuration.nix
@@ -1,10 +1,11 @@
1
-{lib, ...}: {
+{ config, lib, ... }:
2
+{
3
services.sshd.enable = true;
4
services.nginx.enable = true;
5
- networking.firewall.allowedTCPPorts = [80];
6
+ networking.firewall.allowedTCPPorts = [ 80 ];
7
- system.stateVersion = lib.version;
8
+ system.stateVersion = config.system.nixos.release;
9
10
users.users.root.password = "nixos";
11
services.openssh.settings.PermitRootLogin = lib.mkOverride 999 "yes";
0 commit comments