Sandbox: Difference between revisions

From NixOS Wiki
imported>Fadenb
m test
No edit summary
 
(4 intermediate revisions by 4 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 8: Line 8:


<!--
<!--
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.
 
Test-1
Test-2
Test-3
Test-4
 
<syntaxHighlight lang=shell>
ls -al ${date}
ls -al ${date}
</syntaxHighlight>
</syntaxHighlight>
Line 26: Line 18:
     ./hardware-configuration.nix
     ./hardware-configuration.nix
     # We rely on `nixos-hardware` to deal with HW quirks. This requires the `nixos-hardware` channel to be configured.
     # We rely on `nixos-hardware` to deal with HW quirks. This requires the `nixos-hardware` channel to be configured.
</syntaxHighlight>
</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