Sandbox: Difference between revisions

From NixOS Wiki
imported>Fadenb
Final test for today. Let's see if the bot survives the night ;)
No edit summary
 
(69 intermediate revisions by 8 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 thing 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.
Do not expect your content to stay here very long as any registered user can overwrite it at any time.
Do not expect your content to stay here very long as any registered user can overwrite it at any time.


Please keep this header intact and do all you testing below :)
Please keep this header intact and do all your testing below :)
<hr />


= test =
<!--
Cleaned up last 2023-09-09--><syntaxHighlight lang=shell>
ls -al ${date}
</syntaxHighlight>


{{warning}}
<syntaxHighlight lang=nix>
{{warning|text=Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}
{ config, lib, pkgs, ... }:
 
{
{{Notice|text=test}}
  imports = [
This is a link to the meta-article Discussion: [[:Category:Discussion|Discussion]]
    ./hardware-configuration.nix
{{outdated}}
    # We rely on `nixos-hardware` to deal with HW quirks. This requires the `nixos-hardware` channel to be configured.
Sand that box
</syntaxHighlight>put sand in the box today. Retrieve it in years of scarcity
Shoop da whoop!
Herp Derp
 
 
== Pything highlighting test ==
<syntaxhighlight lang="python" line='line'>
def quickSort(arr):
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass
</syntaxhighlight>
 
bottest3
 
[[category:test]]

Latest revision as of 23:39, 2 April 2024

Sandbox

What is a sandbox?

The sandbox page in this wiki is intended to test things and toy around with syntax and features. Do not expect your content to stay here very long as any registered user can overwrite it at any time.

Please keep this header intact and do all your testing below :)


ls -al ${date}
{ 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.

put sand in the box today. Retrieve it in years of scarcity