Sandbox: Difference between revisions

From NixOS Wiki
imported>Samueldr
m Checking slowness
No edit summary
 
(49 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 =
<!--
== another 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, ... }:
{
  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

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