summary refs log tree commit diff
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-10-27 11:31:23 +0300
committerK900 <me@0upti.me>2023-10-27 12:56:12 +0300
commit6f06066e948872527c2f17632a8ce255e5fea888 (patch)
tree4b7a6d4835b40768788eb98cc84f0e15d85d8980
parent118694944d5c0f425bd03f025ee9d02f6fdadd99 (diff)
downloadnixpkgs-6f06066e948872527c2f17632a8ce255e5fea888.tar
nixpkgs-6f06066e948872527c2f17632a8ce255e5fea888.tar.gz
nixpkgs-6f06066e948872527c2f17632a8ce255e5fea888.tar.bz2
nixpkgs-6f06066e948872527c2f17632a8ce255e5fea888.tar.lz
nixpkgs-6f06066e948872527c2f17632a8ce255e5fea888.tar.xz
nixpkgs-6f06066e948872527c2f17632a8ce255e5fea888.tar.zst
nixpkgs-6f06066e948872527c2f17632a8ce255e5fea888.zip
nixos/containers: use latest stateVersion as example
Hopefully this way we don't confuse people into thinking you have to set it to 21.05.
-rw-r--r--nixos/modules/virtualisation/nixos-containers.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/nixos-containers.nix b/nixos/modules/virtualisation/nixos-containers.nix
index aa85665af69..6fdb177b968 100644
--- a/nixos/modules/virtualisation/nixos-containers.nix
+++ b/nixos/modules/virtualisation/nixos-containers.nix
@@ -754,7 +754,7 @@ in
                   { services.postgresql.enable = true;
                     services.postgresql.package = pkgs.postgresql_14;
 
-                    system.stateVersion = "21.05";
+                    system.stateVersion = "${lib.trivial.release}";
                   };
               };
           }
@@ -906,4 +906,6 @@ in
       "tun"
     ];
   });
+
+  meta.buildDocsInSandbox = false;
 }