Skip to content

Commit 48c17a5

Browse files
committed
configuration.nix: fix eval with nixpkgs unstable
1 parent 83900d5 commit 48c17a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

configuration.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
{lib, ...}: {
1+
{ config, lib, ... }:
2+
{
23
services.sshd.enable = true;
34
services.nginx.enable = true;
45

5-
networking.firewall.allowedTCPPorts = [80];
6+
networking.firewall.allowedTCPPorts = [ 80 ];
67

7-
system.stateVersion = lib.version;
8+
system.stateVersion = config.system.nixos.release;
89

910
users.users.root.password = "nixos";
1011
services.openssh.settings.PermitRootLogin = lib.mkOverride 999 "yes";

0 commit comments

Comments
 (0)