Skip to content

Commit 42ee229

Browse files
authored
Merge pull request #430 from nix-community/fix-eval
configuration.nix: fix eval with nixpkgs unstable
2 parents 7a79da7 + fdc04c3 commit 42ee229

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

configuration.nix

+4-3
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)