Skip to content

Instantly share code, notes, and snippets.

View BigValen's full-sized avatar

John Looney BigValen

  • Facebook
  • Dublin, Ireland
View GitHub Profile
# nvme list -o json -v|jq '.Devices[0].Subsystems[0]'
{
"Subsystem": "nvme-subsys7",
"SubsystemNQN": "nqn.2016-08.com.micron:nvme:nvm-subsystem-sn-0524102AE16B",
"Controllers": [
{
"Controller": "nvme7",
"SerialNumber": "0524102AE16B",
"ModelNumber": "MTFDKCC15T3TGP-1BK1DABYY",
"Firmware": "E3MQ000",
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];