From 8f0549b434381a85671e4f2c1606979cd703b6d0 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Wed, 12 Jun 2024 22:14:14 +0000 Subject: [PATCH] rename boot.tmpOnTmpfs -> boot.tmp.useTmpfs resolves warning: trace: Obsolete option `boot.tmpOnTmpfs' is used. It was renamed to `boot.tmp.useTmpfs'. c.f. https://github.com/NixOS/nixpkgs/commit/a5d95ac5fca37482f55feb0870c9ed6b1b9bb4b4 --- docs/modules/ROOT/pages/index.adoc | 2 +- examples/full-nixos/arion-compose.nix | 2 +- src/haskell/testdata/Arion/NixSpec/arion-compose.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;