We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83900d5 commit 48c17a5Copy full SHA for 48c17a5
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