diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 9bda09c..24f5368 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -148,7 +148,7 @@ Describe containers using NixOS-style modules. There are a few options: project.name = "full-nixos"; services.webserver = { pkgs, lib, ... }: { nixos.useSystemd = true; - nixos.configuration.boot.tmpOnTmpfs = true; + nixos.configuration.boot.tmp.useTmpfs = true; nixos.configuration.services.nginx.enable = true; nixos.configuration.services.nginx.virtualHosts.localhost.root = "${pkgs.nix.doc}/share/doc/nix/manual"; nixos.configuration.services.nscd.enable = false; diff --git a/examples/full-nixos/arion-compose.nix b/examples/full-nixos/arion-compose.nix index cd3f150..825aaed 100644 --- a/examples/full-nixos/arion-compose.nix +++ b/examples/full-nixos/arion-compose.nix @@ -2,7 +2,7 @@ project.name = "full-nixos"; services.webserver = { pkgs, lib, ... }: { nixos.useSystemd = true; - nixos.configuration.boot.tmpOnTmpfs = true; + nixos.configuration.boot.tmp.useTmpfs = true; nixos.configuration.networking.useDHCP = false; nixos.configuration.services.nginx.enable = true; nixos.configuration.services.nginx.virtualHosts.localhost.root = "${pkgs.nix.doc}/share/doc/nix/manual"; diff --git a/src/haskell/testdata/Arion/NixSpec/arion-compose.nix b/src/haskell/testdata/Arion/NixSpec/arion-compose.nix index 40c5907..53cf594 100644 --- a/src/haskell/testdata/Arion/NixSpec/arion-compose.nix +++ b/src/haskell/testdata/Arion/NixSpec/arion-compose.nix @@ -2,7 +2,7 @@ project.name = "unit-test-data"; services.webserver = { pkgs, ... }: { nixos.useSystemd = true; - nixos.configuration.boot.tmpOnTmpfs = true; + nixos.configuration.boot.tmp.useTmpfs = true; nixos.configuration.services.nginx.enable = true; nixos.configuration.services.nginx.virtualHosts.localhost.root = "${pkgs.nix.doc}/share/doc/nix/manual"; service.useHostStore = true;