Sandbox: Difference between revisions

imported>Fadenb
m Upload test after migration
Pigs (talk | contribs)
m Add category contributions
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Sandbox ==
{{DISPLAYTITLE:The amazing SANDBOX!}}== Sandbox ==
=== What is a sandbox? ===
=== What is a sandbox? ===
The sandbox page in this wiki is intended to test things and toy around with syntax and features.
The sandbox page in this wiki is intended to test things and toy around with syntax and features.
Line 5: Line 5:


Please keep this header intact and do all your testing below :)
Please keep this header intact and do all your testing below :)
[[Category:Contributions]]
<hr />
<hr />


<!--
<!--
Cleaned up last 2023-09-09-->
Cleaned up last 2023-09-09--><syntaxHighlight lang=shell>
https://nixos.wiki/images/wikidump.xml.gz <-- this is currently stale/unavailable. Waiting to see whether the automation is working on the new host.
ls -al ${date}
 
</syntaxHighlight>
Test-1
Test-2


Upload test...
<syntaxHighlight lang=nix>
[[File:Testfile.png|thumb|Screenshot used to test upload functionality]]
{ config, lib, pkgs, ... }:
{
  imports = [
    ./hardware-configuration.nix
    # We rely on `nixos-hardware` to deal with HW quirks. This requires the `nixos-hardware` channel to be configured.
</syntaxHighlight>put sand in the box today. Retrieve it in years of scarcity