Full Code of bbigras/nix-config for AI

master 22a414abe9eb cached
141 files
515.9 KB
146.7k tokens
1 requests
Download .txt
Showing preview only (553K chars total). Download the full file or copy to clipboard to get everything.
Repository: bbigras/nix-config
Branch: master
Commit: 22a414abe9eb
Files: 141
Total size: 515.9 KB

Directory structure:
gitextract_vecdwbat/

├── .envrc
├── .gitattributes
├── .github/
│   ├── actionlint.yaml
│   ├── renovate.json
│   ├── workflows/
│   │   ├── ci.yaml
│   │   └── regenerate-workflows.yaml
│   └── zizmor.yml
├── .gitignore
├── .justfile
├── LICENSE
├── README.md
├── configurations/
│   └── nixos/
│       ├── desktop/
│       │   ├── default.nix
│       │   └── facter.json
│       ├── laptop/
│       │   ├── default.nix
│       │   ├── disko.nix
│       │   └── facter.json
│       └── work/
│           ├── default.nix
│           └── facter.json
├── default.nix
├── flake.nix
├── modules/
│   ├── flake-parts/
│   │   ├── actions.nix
│   │   ├── agenix-rekey.nix
│   │   ├── configurations.nix
│   │   ├── default.nix
│   │   ├── dev-shell.nix
│   │   ├── modules.nix
│   │   ├── overlays.nix
│   │   ├── packages.nix
│   │   ├── pre-commit.nix
│   │   └── treefmt.nix
│   ├── home/
│   │   ├── asciinema.nix
│   │   ├── bash.nix
│   │   ├── btop.nix
│   │   ├── default.nix
│   │   ├── delta.nix
│   │   ├── dev/
│   │   │   └── default.nix
│   │   ├── emacs/
│   │   │   ├── android.nix
│   │   │   ├── consult.nix
│   │   │   ├── default.nix
│   │   │   ├── denote.nix
│   │   │   ├── go.nix
│   │   │   ├── latex.nix
│   │   │   ├── org-mode.nix
│   │   │   ├── rust.nix
│   │   │   ├── tree-sitter.nix
│   │   │   └── typescript.nix
│   │   ├── fish.nix
│   │   ├── git.nix
│   │   ├── graphical/
│   │   │   ├── chromium.nix
│   │   │   ├── default.nix
│   │   │   ├── firefox.nix
│   │   │   ├── heroic.nix
│   │   │   ├── keepassxc.nix
│   │   │   ├── linux.nix
│   │   │   ├── lutris.nix
│   │   │   ├── mime.nix
│   │   │   ├── mpv.nix
│   │   │   ├── psd.nix
│   │   │   ├── vicinae.nix
│   │   │   └── zed-editor.nix
│   │   ├── htop.nix
│   │   ├── jjui.nix
│   │   ├── jujutsu.nix
│   │   ├── music.nix
│   │   ├── radicle.nix
│   │   ├── ssh.nix
│   │   ├── standalone.nix
│   │   ├── starship.nix
│   │   ├── syncthing.nix
│   │   ├── television.nix
│   │   ├── terminfo-hack.nix
│   │   ├── tkey-ssh-agent.nix
│   │   ├── tmux.nix
│   │   ├── trusted/
│   │   │   ├── default.nix
│   │   │   └── gpg.nix
│   │   ├── xdg.nix
│   │   └── zsh.nix
│   ├── nixos/
│   │   ├── agenix-rekey.nix
│   │   ├── core.nix
│   │   ├── default.nix
│   │   ├── graphical/
│   │   │   ├── cosmic.nix
│   │   │   ├── default.nix
│   │   │   ├── fonts.nix
│   │   │   ├── steam.nix
│   │   │   └── trusted.nix
│   │   ├── hardware/
│   │   │   ├── bluetooth.nix
│   │   │   ├── efi.nix
│   │   │   ├── fast-networking.nix
│   │   │   ├── no-mitigations.nix
│   │   │   ├── nonsecureboot.nix
│   │   │   ├── nvidia.nix
│   │   │   ├── printer.nix
│   │   │   ├── secureboot.nix
│   │   │   ├── sound.nix
│   │   │   ├── vial.nix
│   │   │   └── yubikey.nix
│   │   ├── pam-limits.nix
│   │   ├── printing.nix
│   │   ├── resolved.nix
│   │   ├── services/
│   │   │   ├── blocky.nix
│   │   │   ├── github-runner.nix
│   │   │   ├── grafana.nix
│   │   │   ├── jellyfin.nix
│   │   │   ├── mysql.nix
│   │   │   ├── nginx.nix
│   │   │   ├── oauth2.nix
│   │   │   ├── peerix.nix
│   │   │   ├── podman.nix
│   │   │   ├── postgresql.nix
│   │   │   ├── prometheus.nix
│   │   │   ├── syncthing.nix
│   │   │   ├── unbound.nix
│   │   │   ├── veilid.nix
│   │   │   ├── virt-manager.nix
│   │   │   └── wivrn.nix
│   │   ├── tailscale-address.nix
│   │   ├── tmux.nix
│   │   └── users/
│   │       └── bbigras.nix
│   └── shared/
│       ├── aspell.nix
│       ├── common.nix
│       ├── nix.nix
│       └── nixpkgs.nix
├── overlays/
│   ├── nix-latest.nix
│   ├── nom-latest.nix
│   ├── scripts/
│   │   ├── ccinit.sh
│   │   ├── checkart.sh
│   │   ├── default.nix
│   │   ├── drunmenu-wayland.sh
│   │   ├── drunmenu-x11.sh
│   │   ├── emojimenu-wayland.sh
│   │   ├── emojimenu-x11.sh
│   │   ├── fixart.sh
│   │   ├── nix-closure-size.sh
│   │   ├── screenshot.sh
│   │   └── spawn.sh
│   ├── transmission-unstable.nix
│   └── truecolor-check.nix
└── secrets/
    ├── bbigras-password.age
    └── rekeyed/
        ├── bbigras-work/
        │   └── 3cc4c109592072ab107706732a15ed98-bbigrasPassword.age
        ├── desktop/
        │   └── 69fc21a1ca0ccfd1e8a2e64caeff5ff4-bbigrasPassword.age
        └── laptop/
            └── 358bfc03128d18174ab84822482bf279-bbigrasPassword.age

================================================
FILE CONTENTS
================================================

================================================
FILE: .envrc
================================================
# shellcheck disable=all

watch_file ./modules/flake-parts/actions.nix
watch_file ./modules/flake-parts/dev-shell.nix
watch_file ./modules/flake-parts/overlays.nix
watch_file ./modules/flake-parts/pre-commit.nix
watch_file ./modules/flake-parts/treefmt.nix

use flake . --impure


================================================
FILE: .gitattributes
================================================
*.age filter=age diff=age
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text


================================================
FILE: .github/actionlint.yaml
================================================
self-hosted-runner:
  # Labels of self-hosted runner in array of strings.
  labels: []

# Configuration variables in array of strings defined in your repository or
# organization. `null` means disabling configuration variables check.
# Empty array means no configuration variable is allowed.
config-variables: null

# Configuration for file paths. The keys are glob patterns to match to file
# paths relative to the repository root. The values are the configurations for
# the file paths. Note that the path separator is always '/'.
# The following configurations are available.
#
# "ignore" is an array of regular expression patterns. Matched error messages
# are ignored. This is similar to the "-ignore" command line option.
paths:
#  .github/workflows/**/*.yml:
#    ignore: []


================================================
FILE: .github/renovate.json
================================================
{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended"
  ],
  "gitIgnoredAuthors": [
    "noreply@github.com"
  ],
  "github-actions": {
    "enabled": false
  },
  "nix": {
    "enabled": true
  },
  "lockFileMaintenance": {
    "enabled": true,
    "schedule": ["before 1am"],
    "commitMessageAction": "update",
    "prBodyDefinitions": {
      "Change": "All flake inputs updated"
    }
  },
  "customManagers": [
    {
      "customType": "regex",
      "managerFilePatterns": [
        "/modules/flake-parts/actions\\.nix$/"
      ],
      "matchStrings": [
        "\"(?<depName>[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)@(?<currentDigest>[a-f0-9]+)\";\\s*#\\s*(?<currentValue>v?[\\d.]+)"
      ],
      "datasourceTemplate": "github-tags",
      "autoReplaceStringTemplate": "\"{{{depName}}}@{{{newDigest}}}\"; # {{{newValue}}}"
    }
  ],
  "packageRules": [
    {
      "matchManagers": [
        "custom.regex"
      ],
      "matchDatasources": [
        "github-tags"
      ],
      "automerge": false,
      "pinDigests": true,
      "commitMessagePrefix": "chore(actions):"
    },
    {
      "matchManagers": [
        "nix"
      ],
      "automerge": true,
      "automergeType": "pr",
      "automergeStrategy": "rebase",
      "commitMessagePrefix": "chore(flake):",
      "prBodyNotes": [
        "This PR updates nix flake inputs."
      ]
    },
    {
      "matchUpdateTypes": [
        "lockFileMaintenance"
      ],
      "automerge": true,
      "automergeType": "pr",
      "automergeStrategy": "rebase",
      "commitMessagePrefix": "chore(flake):",
      "addLabels": [
        "dependencies",
        "automated"
      ]
    }
  ]
}


================================================
FILE: .github/workflows/ci.yaml
================================================
# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/ci.yaml") and run:
#   nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
concurrency:
  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
  group: ci-${{ github.head_ref || github.ref_name }}
jobs:
  build:
    environment: ci
    name: ${{ matrix.attrs.name }} (${{ matrix.attrs.hostPlatform }})
    runs-on: ${{ matrix.attrs.runsOn }}
    steps:
    - uses: wimpysworld/nothing-but-nix@687c797a730352432950c707ab493fcc951818d7
    - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
      with:
        persist-credentials: false
    - uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f
    - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
      with:
        key: nix-eval-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('flake.lock')
          }}
        path: ~/.cache/nix
        restore-keys: nix-eval-${{ runner.os }}-${{ runner.arch }}-
    - uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c
      with:
        authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
        extraPullNames: nix-community
        name: bbigras-nix-config
    - name: nix-fast-build
      run: nix run 'git+file:.#nix-fast-build' -- --no-nom --skip-cached --retries=3
        --option accept-flake-config true --flake='git+file:.#${{ matrix.attrs.attr
        }}'
    strategy:
      fail-fast: false
      matrix:
        attrs:
        - attr: nixosConfigurations.desktop.config.system.build.toplevel
          hostPlatform: x86_64-linux
          name: desktop
          runsOn: ubuntu-24.04
        - attr: nixosConfigurations.laptop.config.system.build.toplevel
          hostPlatform: x86_64-linux
          name: laptop
          runsOn: ubuntu-24.04
        - attr: nixosConfigurations.work.config.system.build.toplevel
          hostPlatform: x86_64-linux
          name: work
          runsOn: ubuntu-24.04
    timeout-minutes: 60
  check:
    if: always()
    needs:
    - flake-check
    - build
    runs-on: ubuntu-24.04
    steps:
    - uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
      with:
        jobs: ${{ toJSON(needs) }}
    timeout-minutes: 60
  flake-check:
    environment: ci
    name: flake check (${{ matrix.systems.platform }})
    runs-on: ${{ matrix.systems.os }}
    steps:
    - uses: wimpysworld/nothing-but-nix@687c797a730352432950c707ab493fcc951818d7
    - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
      with:
        persist-credentials: false
    - uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f
    - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
      with:
        key: nix-eval-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('flake.lock')
          }}
        path: ~/.cache/nix
        restore-keys: nix-eval-${{ runner.os }}-${{ runner.arch }}-
    - uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c
      with:
        authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
        extraPullNames: nix-community
        name: bbigras-nix-config
    - name: nix flake check
      run: nix flake check 'git+file:.'
    - name: nix flake show
      run: nix flake show 'git+file:.'
    strategy:
      matrix:
        systems:
        - os: ubuntu-24.04
          platform: x86_64-linux
    timeout-minutes: 60
name: ci
'on':
  pull_request: {}
  push:
    branches:
    - master
    - try
  workflow_dispatch: {}
permissions: {}


================================================
FILE: .github/workflows/regenerate-workflows.yaml
================================================
# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/regenerate-workflows.yaml") and run:
#   nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
jobs:
  regenerate:
    environment: renovate
    if: github.actor == 'renovate[bot]' || github.event_name == 'workflow_dispatch'
    runs-on: ubuntu-24.04
    steps:
    - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
      with:
        fetch-depth: 2
        ref: ${{ github.head_ref || github.ref_name }}
        token: ${{ secrets.PAT }}
    - uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f
    - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
      with:
        key: nix-eval-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('flake.lock')
          }}
        path: ~/.cache/nix
        restore-keys: nix-eval-${{ runner.os }}-${{ runner.arch }}-
    - uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c
      with:
        authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
        extraPullNames: nix-community
        name: bbigras-nix-config
    - name: Regenerate workflows
      run: nix run .#render-workflows
    - name: Amend commit with regenerated workflows
      run: |-
        git config user.name "github[bot]"
        git config user.email "noreply@github.com"
        git add .github/workflows/
        git diff --staged --quiet || git commit --amend --no-edit
        git push --force-with-lease
    - uses: peter-evans/enable-pull-request-automerge@a660677d5469627102a1c1e11409dd063606628d
      with:
        merge-method: rebase
        pull-request-number: ${{ github.event.pull_request.number }}
        token: ${{ secrets.PAT }}
    timeout-minutes: 60
name: regenerate-workflows
'on':
  pull_request:
    paths:
    - modules/flake-parts/actions.nix
    - flake.lock
  workflow_dispatch: {}
permissions:
  contents: write
  pull-requests: write


================================================
FILE: .github/zizmor.yml
================================================
# zizmor configuration - suppress intentional security warnings
rules:
  # regenerate-workflows needs credentials to push amended commits
  artipacked:
    ignore:
      - regenerate-workflows.yaml
  # Checking for renovate[bot] actor is intentional - this workflow
  # only runs for Renovate PRs to regenerate workflow YAML files
  bot-conditions:
    ignore:
      - regenerate-workflows.yaml


================================================
FILE: .gitignore
================================================
*~
,*
.*.swp
.*.swo
result
result-*

.DS_Store

.direnv

/.pre-commit-config.yaml


================================================
FILE: .justfile
================================================
build HOST:
  nix build .#nixosConfigurations.{{HOST}}.config.system.build.toplevel --log-format internal-json -v |& nom --json

# deploy HOST:
#   deploy -s ".#{{HOST}}" -- --impure

# pixel6:
#   # nix build .#packages.aarch64-linux.pixel6 --builders "ssh-ng://bbigras@192.168.2.29?ssh-key=/opt/rpi5-remote-build aarch64-linux" --impure --max-jobs 0
#   nix build .#packages.aarch64-linux.pixel6 --impure --log-format internal-json -v |& nom --json

# laptop:
#   nom build .#laptop --impure --extra-substituters http://192.168.68.6:8501 --extra-trusted-public-keys "192.168.68.6:zSAiwQJTX02yGP2NSof1Pin339R5YP+91Y5xdaqFsnU="


================================================
FILE: LICENSE
================================================
BSD 3-Clause License

Copyright (c) 2020, Bruno Bigras
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
   contributors may be used to endorse or promote products derived from
   this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


================================================
FILE: README.md
================================================
# nix-config [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) [![ci](https://github.com/bbigras/nix-config/actions/workflows/ci.yaml/badge.svg)](https://github.com/bbigras/nix-config/actions/workflows/ci.yaml)

WIP

# Features
- flakes
- deploy with deploy-rs
- use the zen Linux kernel
- use [nixos-hardware](https://github.com/NixOS/nixos-hardware)
- use [srvos](https://github.com/nix-community/srvos)
- Full disk encryption on laptop
- [emacs-init module](https://gitlab.com/rycee/nur-expressions/blob/master/hm-modules/emacs-init.nix) for home-manager. See `users/bbigras/dev/emacs.nix`
- overlays
  - emacs-overlay
  - nur
- split-dns with systemd-resolved (might be set in my privates files)
- tailscale

This is heavily based on https://github.com/lovesegfault/nix-config. Many files were copied directly from that repo.

Note that the license should include lovesegfault's copyright on many files. Not sure how to sort that yet.

## Build one host

```sh
nix build .#hosts.desktop --impure
```

## Deploy one host

```sh
deploy -s .#pixel6 -- --impure
```

## nix-on-droid (first time)

On the phone:

```sh
nix-shell -p openssh -p which

# get user and group id and put it in hosts/pixel6/default.nix
id

ssh-keygen -q -N "" -t ed25519 -f ~/ssh_host_ed25519_key

cat <<EOF > tmp-sshd
HostKey ~/ssh_host_ed25519_key
Port 8022
EOF

mkdir -p ~/.ssh
cat <<EOF > ~/.ssh/authorized_keys
**my key**
EOF

# start sshd server to be able to deploy from desktop with deploy-rs
`which sshd` -dD -f ~/tmp-sshd
```


================================================
FILE: configurations/nixos/desktop/default.nix
================================================
# NixOS configuration for desktop
{
  flake,
  pkgs,
  lib,
  ...
}:
let
  inherit (flake) inputs self;
in
{
  imports = [
    # Internal modules via flake outputs
    self.nixosModules.default
    self.nixosModules.users-bbigras
    self.nixosModules.graphical
    self.nixosModules.graphical-cosmic
    self.nixosModules.graphical-steam
    self.nixosModules.graphical-fonts
    self.nixosModules.graphical-trusted
    self.nixosModules.pam-limits
    self.nixosModules.hardware-secureboot
    self.nixosModules.services-peerix
    self.nixosModules.services-podman
    self.nixosModules.services-wivrn
    #self.nixosModules.services-virt-manager

    # Hardware modules from nixos-hardware
    inputs.nixos-hardware.nixosModules.common-cpu-intel
    inputs.nixos-hardware.nixosModules.common-gpu-amd
    inputs.nixos-hardware.nixosModules.common-pc-ssd

    # Host-specific files
    # ./state.nix
    { config.facter.reportPath = ./facter.json; }
  ];

  hardware.amdgpu.initrd.enable = true;

  services.udev.extraRules = ''
    # Block ASRock LED Controller joystick node
    SUBSYSTEM=="input", KERNEL=="js*", ATTRS{id/vendor}=="26ce", ATTRS{id/product}=="01a2", MODE="0000"
    # Block NuPhy hidraw interfaces
    SUBSYSTEM=="hidraw", ATTRS{idVendor}=="19f5", ATTRS{idProduct}=="3246", MODE="0000"
    # Block NuPhy System Control event node (the one SDL misidentifies as a joystick)
    SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="NuPhy NuPhy Air75 V2 System Control", MODE="0000"
  '';

  # Host-specific home-manager user config
  home-manager.users.bbigras.imports = [
    self.homeModules.trusted
    self.homeModules.emacs
    self.homeModules.radicle
    self.homeModules.syncthing
    self.homeModules.graphical
    self.homeModules.graphical-heroic
    self.homeModules.graphical-lutris
    self.homeModules.tkey-ssh-agent
  ];

  # SSH target for remote activation

  # Platform
  nixpkgs.hostPlatform = "x86_64-linux";

  # Host-specific configuration
  boot = {
    binfmt.emulatedSystems = [ "aarch64-linux" ];
    initrd = {
      systemd.enable = true;
    };
    lanzaboote.pkiBundle = lib.mkForce "/var/lib/sbctl";
    plymouth.enable = true;
  };

  environment.systemPackages = with pkgs; [
    cntr
    wireguard-tools
  ];

  fileSystems = {
    "/" = {
      device = "/dev/disk/by-uuid/e58653d8-7f76-402d-998d-400fe04f7520";
      fsType = "ext4";
    };
    "/boot" = {
      device = "/dev/disk/by-uuid/DA5A-BC65";
      fsType = "vfat";
      options = [
        "fmask=0022"
        "dmask=0022"
      ];
    };
    "/media/gamedisk" = {
      device = "/dev/disk/by-id/wwn-0x5000c5006527e1b4-part2";
      fsType = "ext4";
    };
  };

  # agenix-rekey host pubkey
  age.rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINfn1kTx3Z2380QFj5IN/eWDe+/dt4CIzTaImlKbD+09";

  networking = {
    # hostId = "";
    hostName = "desktop";
    wireguard.enable = true;
  };

  nix.settings.max-substitution-jobs = 32;

  security.sudo.wheelNeedsPassword = true;

  services = {
    flatpak.enable = true;
    fwupd.enable = true;
    udisks2.enable = true;
    avahi.enable = pkgs.lib.mkForce false;
    earlyoom = {
      enable = true;
      enableNotifications = true;
    };
    tuned = {
      enable = true;
      ppdSupport = false;
      recommend = {
        balanced = { };
      };
    };
  };

  systemd.network.networks = {
    lan = {
      DHCP = "yes";
      matchConfig.Name = "enp*";
      dhcpV4Config.RouteMetric = 20;
      # dhcpV6Config.RouteMetric = 20;
      linkConfig = {
        Multicast = true;
        RequiredForOnline = "routable";
      };
      networkConfig = {
        MulticastDNS = true;
        LLMNR = true;
      };
    };
  };
}


================================================
FILE: configurations/nixos/desktop/facter.json
================================================
{
  "version": 1,
  "system": "x86_64-linux",
  "virtualisation": "none",
  "hardware": {
    "bios": {
      "apm_info": {
        "supported": false,
        "enabled": false,
        "version": 0,
        "sub_version": 0,
        "bios_flags": 0
      },
      "vbe_info": {
        "version": 0,
        "video_memory": 0
      },
      "pnp": false,
      "pnp_id": 0,
      "lba_support": false,
      "low_memory_size": 0,
      "smbios_version": 773
    },
    "bluetooth": [
      {
        "index": 51,
        "attached_to": 57,
        "class_list": [
          "usb",
          "bluetooth"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0115",
          "name": "Bluetooth Device",
          "value": 277
        },
        "vendor": {
          "hex": "8087",
          "value": 32903
        },
        "device": {
          "hex": "0033",
          "value": 51
        },
        "model": "Bluetooth Device",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0",
        "sysfs_bus_id": "1-14:1.0",
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "device_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "interface_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "interface_protocol": 1,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "btusb",
        "driver_module": "btusb",
        "drivers": [
          "btusb"
        ],
        "driver_modules": [
          "btusb"
        ],
        "module_alias": "usb:v8087p0033d0000dcE0dsc01dp01icE0isc01ip01in00"
      },
      {
        "index": 58,
        "attached_to": 57,
        "class_list": [
          "usb",
          "bluetooth"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0115",
          "name": "Bluetooth Device",
          "value": 277
        },
        "vendor": {
          "hex": "8087",
          "value": 32903
        },
        "device": {
          "hex": "0033",
          "value": 51
        },
        "model": "Bluetooth Device",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1",
        "sysfs_bus_id": "1-14:1.1",
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "device_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "interface_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "interface_protocol": 1,
          "interface_number": 1,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "btusb",
        "driver_module": "btusb",
        "drivers": [
          "btusb"
        ],
        "driver_modules": [
          "btusb"
        ],
        "module_alias": "usb:v8087p0033d0000dcE0dsc01dp01icE0isc01ip01in01"
      }
    ],
    "bridge": [
      {
        "index": 22,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 28
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a38",
          "value": 31288
        },
        "sub_device": {
          "hex": "7a38",
          "value": 31288
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:1c.0",
        "sysfs_bus_id": "0000:00:1c.0",
        "resources": [
          {
            "type": "irq",
            "base": 122,
            "triggered": 0,
            "enabled": true
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 1,
          "secondary_bus": 5,
          "irq": 122,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00008086d00007A38sv00001849sd00007A38bc06sc04i00"
      },
      {
        "index": 23,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 31
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0001",
          "name": "ISA bridge",
          "value": 1
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a06",
          "value": 31238
        },
        "sub_device": {
          "hex": "7a06",
          "value": 31238
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel ISA bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:1f.0",
        "sysfs_bus_id": "0000:00:1f.0",
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 0,
          "prog_if": 0
        },
        "module_alias": "pci:v00008086d00007A06sv00001849sd00007A06bc06sc01i00"
      },
      {
        "index": 24,
        "attached_to": 28,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 2,
          "number": 0
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "1002",
          "name": "ATI Technologies Inc",
          "value": 4098
        },
        "sub_vendor": {
          "hex": "1002",
          "name": "ATI Technologies Inc",
          "value": 4098
        },
        "device": {
          "hex": "1479",
          "value": 5241
        },
        "sub_device": {
          "hex": "1479",
          "value": 5241
        },
        "model": "ATI PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0",
        "sysfs_bus_id": "0000:02:00.0",
        "resources": [
          {
            "type": "irq",
            "base": 125,
            "triggered": 0,
            "enabled": true
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 1,
          "secondary_bus": 3,
          "irq": 125,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00001002d00001479sv00001002sd00001479bc06sc04i00"
      },
      {
        "index": 25,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 1
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "460d",
          "value": 17933
        },
        "sub_device": {
          "hex": "460d",
          "value": 17933
        },
        "revision": {
          "hex": "0002",
          "value": 2
        },
        "model": "Intel PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:01.0",
        "sysfs_bus_id": "0000:00:01.0",
        "resources": [
          {
            "type": "irq",
            "base": 120,
            "triggered": 0,
            "enabled": true
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 1,
          "secondary_bus": 1,
          "irq": 120,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00008086d0000460Dsv00001849sd0000460Dbc06sc04i00"
      },
      {
        "index": 28,
        "attached_to": 25,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 1,
          "number": 0
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "1002",
          "name": "ATI Technologies Inc",
          "value": 4098
        },
        "device": {
          "hex": "1478",
          "value": 5240
        },
        "revision": {
          "hex": "00c5",
          "value": 197
        },
        "model": "ATI PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:01.0/0000:01:00.0",
        "sysfs_bus_id": "0000:01:00.0",
        "resources": [
          {
            "type": "irq",
            "base": 16,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 1914699776,
            "range": 16384,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 7,
          "header_type": 1,
          "secondary_bus": 2,
          "irq": 16,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00001002d00001478sv00000000sd00000000bc06sc04i00"
      },
      {
        "index": 30,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 28
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a3b",
          "value": 31291
        },
        "sub_device": {
          "hex": "7a3b",
          "value": 31291
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:1c.3",
        "sysfs_bus_id": "0000:00:1c.3",
        "resources": [
          {
            "type": "irq",
            "base": 123,
            "triggered": 0,
            "enabled": true
          }
        ],
        "detail": {
          "function": 3,
          "command": 1031,
          "header_type": 1,
          "secondary_bus": 6,
          "irq": 123,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00008086d00007A3Bsv00001849sd00007A3Bbc06sc04i00"
      },
      {
        "index": 33,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0000",
          "name": "Host bridge",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "4648",
          "value": 17992
        },
        "sub_device": {
          "hex": "4648",
          "value": 17992
        },
        "revision": {
          "hex": "0002",
          "value": 2
        },
        "model": "Intel Host bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:00.0",
        "sysfs_bus_id": "0000:00:00.0",
        "detail": {
          "function": 0,
          "command": 6,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 0,
          "prog_if": 0
        },
        "module_alias": "pci:v00008086d00004648sv00001849sd00004648bc06sc00i00"
      },
      {
        "index": 36,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 6
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "device": {
          "hex": "464d",
          "value": 17997
        },
        "revision": {
          "hex": "0002",
          "value": 2
        },
        "model": "Intel PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:06.0",
        "sysfs_bus_id": "0000:00:06.0",
        "resources": [
          {
            "type": "irq",
            "base": 121,
            "triggered": 0,
            "enabled": true
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 1,
          "secondary_bus": 4,
          "irq": 121,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00008086d0000464Dsv00000000sd00000000bc06sc04i00"
      },
      {
        "index": 37,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 29
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a36",
          "value": 31286
        },
        "sub_device": {
          "hex": "7a36",
          "value": 31286
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:1d.0",
        "sysfs_bus_id": "0000:00:1d.0",
        "resources": [
          {
            "type": "irq",
            "base": 124,
            "triggered": 0,
            "enabled": true
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 1,
          "secondary_bus": 7,
          "irq": 124,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00008086d00007A36sv00001849sd00007A36bc06sc04i00"
      }
    ],
    "cpu": [
      {
        "architecture": "x86_64",
        "vendor_name": "GenuineIntel",
        "model_name": "12th Gen Intel(R) Core(TM) i5-12600KF",
        "family": 6,
        "model": 151,
        "stepping": 2,
        "features": [
          "fpu",
          "vme",
          "de",
          "pse",
          "tsc",
          "msr",
          "pae",
          "mce",
          "cx8",
          "apic",
          "sep",
          "mtrr",
          "pge",
          "mca",
          "cmov",
          "pat",
          "pse36",
          "clflush",
          "dts",
          "acpi",
          "mmx",
          "fxsr",
          "sse",
          "sse2",
          "ss",
          "ht",
          "tm",
          "pbe",
          "syscall",
          "nx",
          "pdpe1gb",
          "rdtscp",
          "lm",
          "constant_tsc",
          "art",
          "arch_perfmon",
          "pebs",
          "bts",
          "rep_good",
          "nopl",
          "xtopology",
          "nonstop_tsc",
          "cpuid",
          "aperfmperf",
          "tsc_known_freq",
          "pni",
          "pclmulqdq",
          "dtes64",
          "monitor",
          "ds_cpl",
          "vmx",
          "est",
          "tm2",
          "ssse3",
          "sdbg",
          "fma",
          "cx16",
          "xtpr",
          "pdcm",
          "pcid",
          "sse4_1",
          "sse4_2",
          "x2apic",
          "movbe",
          "popcnt",
          "tsc_deadline_timer",
          "aes",
          "xsave",
          "avx",
          "f16c",
          "rdrand",
          "lahf_lm",
          "abm",
          "3dnowprefetch",
          "cpuid_fault",
          "epb",
          "ssbd",
          "ibrs",
          "ibpb",
          "stibp",
          "ibrs_enhanced",
          "tpr_shadow",
          "flexpriority",
          "ept",
          "vpid",
          "ept_ad",
          "fsgsbase",
          "tsc_adjust",
          "bmi1",
          "avx2",
          "smep",
          "bmi2",
          "erms",
          "invpcid",
          "rdseed",
          "adx",
          "smap",
          "clflushopt",
          "clwb",
          "intel_pt",
          "sha_ni",
          "xsaveopt",
          "xsavec",
          "xgetbv1",
          "xsaves",
          "split_lock_detect",
          "user_shstk",
          "avx_vnni",
          "dtherm",
          "ida",
          "arat",
          "pln",
          "pts",
          "hwp",
          "hwp_notify",
          "hwp_act_window",
          "hwp_epp",
          "hwp_pkg_req",
          "hfi",
          "vnmi",
          "umip",
          "pku",
          "ospke",
          "waitpkg",
          "gfni",
          "vaes",
          "vpclmulqdq",
          "rdpid",
          "movdiri",
          "movdir64b",
          "fsrm",
          "md_clear",
          "serialize",
          "arch_lbr",
          "ibt",
          "flush_l1d",
          "arch_capabilities"
        ],
        "bugs": [
          "spectre_v1",
          "spectre_v2",
          "spec_store_bypass",
          "swapgs",
          "eibrs_pbrsb",
          "rfds",
          "bhi"
        ],
        "power_management": [
          ""
        ],
        "bogo": 7372.8,
        "cache": 20480,
        "units": 128,
        "physical_id": 0,
        "siblings": 16,
        "cores": 10,
        "fpu": false,
        "fpu_exception": false,
        "cpuid_level": 32,
        "write_protect": false,
        "clflush_size": 64,
        "cache_alignment": 64,
        "address_sizes": {
          "physical": "0x27",
          "virtual": "0x30"
        }
      }
    ],
    "disk": [
      {
        "index": 45,
        "attached_to": 40,
        "class_list": [
          "disk",
          "block_device",
          "nvme"
        ],
        "bus_type": {
          "hex": "0096",
          "name": "NVME",
          "value": 150
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0106",
          "name": "Mass Storage Device",
          "value": 262
        },
        "sub_class": {
          "hex": "0000",
          "name": "Disk",
          "value": 0
        },
        "vendor": {
          "hex": "2646",
          "value": 9798
        },
        "sub_vendor": {
          "hex": "2646",
          "value": 9798
        },
        "device": {
          "hex": "5023",
          "name": "KINGSTON SNV2S1000G",
          "value": 20515
        },
        "sub_device": {
          "hex": "5023",
          "value": 20515
        },
        "serial": "50026B778599BFB0",
        "model": "KINGSTON SNV2S1000G",
        "sysfs_id": "/class/block/nvme0n1",
        "sysfs_bus_id": "nvme0",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:06.0/0000:04:00.0/nvme/nvme0",
        "unix_device_name": "/dev/nvme0n1",
        "unix_device_number": {
          "type": 98,
          "major": 259,
          "minor": 0,
          "range": 0
        },
        "unix_device_names": [
          "/dev/disk/by-id/nvme-KINGSTON_SNV2S1000G_50026B778599BFB0",
          "/dev/disk/by-id/nvme-KINGSTON_SNV2S1000G_50026B778599BFB0_1",
          "/dev/disk/by-id/nvme-eui.00000000000000000026b778599bfb05",
          "/dev/disk/by-path/pci-0000:04:00.0-nvme-1",
          "/dev/nvme0n1"
        ],
        "resources": [
          {
            "type": "disk_geo",
            "cylinders": 953869,
            "heads": 64,
            "sectors": 32,
            "size": "0x0",
            "geo_type": "logical"
          },
          {
            "type": "size",
            "unit": "sectors",
            "value_1": 1953525168,
            "value_2": 512
          }
        ],
        "driver": "nvme",
        "driver_module": "nvme",
        "drivers": [
          "nvme"
        ],
        "driver_modules": [
          "nvme"
        ]
      },
      {
        "index": 46,
        "attached_to": 21,
        "class_list": [
          "disk",
          "ide",
          "block_device"
        ],
        "bus_type": {
          "hex": "0085",
          "name": "IDE",
          "value": 133
        },
        "slot": {
          "bus": 6,
          "number": 0
        },
        "base_class": {
          "hex": "0106",
          "name": "Mass Storage Device",
          "value": 262
        },
        "sub_class": {
          "hex": "0000",
          "name": "Disk",
          "value": 0
        },
        "device": {
          "hex": "0000",
          "name": "ST3000DM001-1CH1",
          "value": 0
        },
        "revision": {
          "hex": "0000",
          "name": "CC27",
          "value": 0
        },
        "serial": "Z1F41ECR",
        "model": "ST3000DM001-1CH1",
        "sysfs_id": "/class/block/sdb",
        "sysfs_bus_id": "6:0:0:0",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:17.0/ata7/host6/target6:0:0/6:0:0:0",
        "unix_device_name": "/dev/sdb",
        "unix_device_number": {
          "type": 98,
          "major": 8,
          "minor": 16,
          "range": 16
        },
        "unix_device_names": [
          "/dev/disk/by-id/ata-ST3000DM001-1CH166_Z1F41ECR",
          "/dev/disk/by-id/wwn-0x5000c5006527e1b4",
          "/dev/disk/by-path/pci-0000:00:17.0-ata-7",
          "/dev/disk/by-path/pci-0000:00:17.0-ata-7.0",
          "/dev/disk/by-uuid/14c325e4-846b-4592-b0c4-94941abc7a64",
          "/dev/sdb"
        ],
        "resources": [
          {
            "type": "disk_geo",
            "cylinders": 364801,
            "heads": 255,
            "sectors": 63,
            "size": "0x0",
            "geo_type": "logical"
          },
          {
            "type": "size",
            "unit": "sectors",
            "value_1": 5860533168,
            "value_2": 512
          }
        ],
        "driver": "ahci",
        "driver_module": "ahci",
        "drivers": [
          "ahci",
          "sd"
        ],
        "driver_modules": [
          "ahci",
          "sd_mod"
        ]
      },
      {
        "index": 47,
        "attached_to": 21,
        "class_list": [
          "disk",
          "ide",
          "block_device"
        ],
        "bus_type": {
          "hex": "0085",
          "name": "IDE",
          "value": 133
        },
        "slot": {
          "bus": 4,
          "number": 0
        },
        "base_class": {
          "hex": "0106",
          "name": "Mass Storage Device",
          "value": 262
        },
        "sub_class": {
          "hex": "0000",
          "name": "Disk",
          "value": 0
        },
        "vendor": {
          "hex": "0000",
          "name": "Samsung",
          "value": 0
        },
        "device": {
          "hex": "0000",
          "name": "SSD 860",
          "value": 0
        },
        "revision": {
          "hex": "0000",
          "name": "2B6Q",
          "value": 0
        },
        "serial": "S3Z1NB0KC17827D",
        "model": "Samsung SSD 860",
        "sysfs_id": "/class/block/sda",
        "sysfs_bus_id": "4:0:0:0",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:17.0/ata5/host4/target4:0:0/4:0:0:0",
        "unix_device_name": "/dev/sda",
        "unix_device_number": {
          "type": 98,
          "major": 8,
          "minor": 0,
          "range": 16
        },
        "unix_device_names": [
          "/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S3Z1NB0KC17827D",
          "/dev/disk/by-id/wwn-0x5002538e40abbf24",
          "/dev/disk/by-path/pci-0000:00:17.0-ata-5",
          "/dev/disk/by-path/pci-0000:00:17.0-ata-5.0",
          "/dev/sda"
        ],
        "resources": [
          {
            "type": "disk_geo",
            "cylinders": 60801,
            "heads": 255,
            "sectors": 63,
            "size": "0x0",
            "geo_type": "logical"
          },
          {
            "type": "size",
            "unit": "sectors",
            "value_1": 976773168,
            "value_2": 512
          }
        ],
        "driver": "ahci",
        "driver_module": "ahci",
        "drivers": [
          "ahci",
          "sd"
        ],
        "driver_modules": [
          "ahci",
          "sd_mod"
        ]
      }
    ],
    "graphics_card": [
      {
        "index": 20,
        "attached_to": 24,
        "class_list": [
          "graphics_card",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 3,
          "number": 0
        },
        "base_class": {
          "hex": "0003",
          "name": "Display controller",
          "value": 3
        },
        "sub_class": {
          "hex": "0000",
          "name": "VGA compatible controller",
          "value": 0
        },
        "pci_interface": {
          "hex": "0000",
          "name": "VGA",
          "value": 0
        },
        "vendor": {
          "hex": "1002",
          "name": "ATI Technologies Inc",
          "value": 4098
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "73df",
          "value": 29663
        },
        "sub_device": {
          "hex": "5210",
          "value": 21008
        },
        "revision": {
          "hex": "00c5",
          "value": 197
        },
        "model": "ATI VGA compatible controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0",
        "sysfs_bus_id": "0000:03:00.0",
        "resources": [
          {
            "type": "io",
            "base": 16384,
            "range": 256,
            "enabled": true,
            "access": "read_write"
          },
          {
            "type": "irq",
            "base": 171,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 1912602624,
            "range": 1048576,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 1913651200,
            "range": 131072,
            "enabled": false,
            "access": "read_only",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 274877906944,
            "range": 17179869184,
            "enabled": true,
            "access": "read_only",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 292057776128,
            "range": 268435456,
            "enabled": true,
            "access": "read_only",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 171,
          "prog_if": 0
        },
        "driver": "amdgpu",
        "driver_module": "amdgpu",
        "drivers": [
          "amdgpu"
        ],
        "driver_modules": [
          "amdgpu"
        ],
        "module_alias": "pci:v00001002d000073DFsv00001849sd00005210bc03sc00i00"
      }
    ],
    "hub": [
      {
        "index": 50,
        "attached_to": 57,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "174c",
          "name": "Asmedia",
          "value": 5964
        },
        "device": {
          "hex": "2074",
          "name": "ASM107x",
          "value": 8308
        },
        "revision": {
          "hex": "0000",
          "name": "2.00",
          "value": 0
        },
        "model": "Asmedia ASM107x",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0",
        "sysfs_bus_id": "1-2:1.0",
        "resources": [
          {
            "type": "baud",
            "speed": 480000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 2,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 2,
          "interface_number": 0,
          "interface_alternate_setting": 1
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v174Cp2074d0200dc09dsc00dp02ic09isc00ip02in00"
      },
      {
        "index": 57,
        "attached_to": 41,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "1d6b",
          "name": "Linux 6.12.28 xhci-hcd",
          "value": 7531
        },
        "device": {
          "hex": "0002",
          "name": "xHCI Host Controller",
          "value": 2
        },
        "revision": {
          "hex": "0000",
          "name": "6.12",
          "value": 0
        },
        "serial": "0000:00:14.0",
        "model": "Linux 6.12.28 xhci-hcd xHCI Host Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-0:1.0",
        "sysfs_bus_id": "1-0:1.0",
        "resources": [
          {
            "type": "baud",
            "speed": 480000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v1D6Bp0002d0612dc09dsc00dp01ic09isc00ip00in00"
      },
      {
        "index": 60,
        "attached_to": 62,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "174c",
          "name": "Asmedia",
          "value": 5964
        },
        "device": {
          "hex": "3074",
          "name": "ASM107x",
          "value": 12404
        },
        "revision": {
          "hex": "0000",
          "name": "2.00",
          "value": 0
        },
        "model": "Asmedia ASM107x",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0",
        "sysfs_bus_id": "2-3:1.0",
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 3,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v174Cp3074d0200dc09dsc00dp03ic09isc00ip00in00"
      },
      {
        "index": 62,
        "attached_to": 41,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "1d6b",
          "name": "Linux 6.12.28 xhci-hcd",
          "value": 7531
        },
        "device": {
          "hex": "0003",
          "name": "xHCI Host Controller",
          "value": 3
        },
        "revision": {
          "hex": "0000",
          "name": "6.12",
          "value": 0
        },
        "serial": "0000:00:14.0",
        "model": "Linux 6.12.28 xhci-hcd xHCI Host Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb2/2-0:1.0",
        "sysfs_bus_id": "2-0:1.0",
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 3,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v1D6Bp0003d0612dc09dsc00dp03ic09isc00ip00in00"
      }
    ],
    "keyboard": [
      {
        "index": 59,
        "attached_to": 50,
        "class_list": [
          "keyboard",
          "usb"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0108",
          "name": "Keyboard",
          "value": 264
        },
        "sub_class": {
          "hex": "0000",
          "name": "Keyboard",
          "value": 0
        },
        "vendor": {
          "hex": "19f5",
          "name": "NuPhy",
          "value": 6645
        },
        "device": {
          "hex": "3246",
          "name": "NuPhy Air75 V2",
          "value": 12870
        },
        "revision": {
          "hex": "0000",
          "name": "1.12",
          "value": 0
        },
        "model": "NuPhy Air75 V2",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0",
        "sysfs_bus_id": "1-2.1:1.0",
        "unix_device_name": "/dev/input/event4",
        "unix_device_number": {
          "type": 99,
          "major": 13,
          "minor": 68,
          "range": 1
        },
        "unix_device_names": [
          "/dev/input/by-id/usb-NuPhy_NuPhy_Air75_V2-event-kbd",
          "/dev/input/by-path/pci-0000:00:14.0-usb-0:2.1:1.0-event-kbd",
          "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:2.1:1.0-event-kbd",
          "/dev/input/event4"
        ],
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "interface_protocol": 1,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "driver_info": {
          "type": "keyboard",
          "xkb_rules": "xfree86",
          "xkb_model": "pc104"
        },
        "module_alias": "usb:v19F5p3246d0112dc00dsc00dp00ic03isc01ip01in00"
      }
    ],
    "memory": [
      {
        "index": 19,
        "attached_to": 0,
        "class_list": [
          "memory"
        ],
        "base_class": {
          "hex": "0101",
          "name": "Internally Used Class",
          "value": 257
        },
        "sub_class": {
          "hex": "0002",
          "name": "Main Memory",
          "value": 2
        },
        "model": "Main Memory",
        "resources": [
          {
            "type": "mem",
            "base": 0,
            "range": 33395609600,
            "enabled": true,
            "access": "read_write",
            "prefetch": "unknown"
          },
          {
            "type": "phys_mem",
            "range": 34359738368
          }
        ]
      }
    ],
    "modem": [
      {
        "index": 63,
        "attached_to": 57,
        "class_list": [
          "modem",
          "usb"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0102",
          "name": "Modem",
          "value": 258
        },
        "sub_class": {
          "hex": "0000",
          "name": "Modem",
          "value": 0
        },
        "vendor": {
          "hex": "1207",
          "name": "Tillitis",
          "value": 4615
        },
        "device": {
          "hex": "8887",
          "name": "MTA1-USB-V1",
          "value": 34951
        },
        "revision": {
          "hex": "0000",
          "name": "1.00",
          "value": 0
        },
        "serial": "125736b8-921b-4822-8d3b-3b7b841e89a7",
        "model": "Tillitis MTA1-USB-V1",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0",
        "sysfs_bus_id": "1-5:1.0",
        "unix_device_name": "/dev/ttyACM0",
        "unix_device_names": [
          "/dev/serial/by-id/usb-Tillitis_MTA1-USB-V1_125736b8-921b-4822-8d3b-3b7b841e89a7-if00",
          "/dev/serial/by-path/pci-0000:00:14.0-usb-0:5:1.0",
          "/dev/serial/by-path/pci-0000:00:14.0-usbv2-0:5:1.0",
          "/dev/ttyACM0"
        ],
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0002",
            "name": "comm",
            "value": 2
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0002",
            "name": "comm",
            "value": 2
          },
          "interface_subclass": {
            "hex": "0002",
            "name": "comm",
            "value": 2
          },
          "interface_protocol": 1,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "cdc_acm",
        "driver_module": "cdc_acm",
        "drivers": [
          "cdc_acm"
        ],
        "driver_modules": [
          "cdc_acm"
        ],
        "module_alias": "usb:v1207p8887d0100dc02dsc00dp00ic02isc02ip01in00"
      }
    ],
    "monitor": [
      {
        "index": 43,
        "attached_to": 20,
        "class_list": [
          "monitor"
        ],
        "base_class": {
          "hex": "0100",
          "name": "Monitor",
          "value": 256
        },
        "sub_class": {
          "hex": "0002",
          "name": "LCD Monitor",
          "value": 2
        },
        "vendor": {
          "hex": "10ac",
          "name": "DELL",
          "value": 4268
        },
        "device": {
          "hex": "d177",
          "name": "DELL G2724D",
          "value": 53623
        },
        "serial": "5FS94V3",
        "model": "DELL G2724D",
        "resources": [
          {
            "type": "monitor",
            "width": 1024,
            "height": 768,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 1024,
            "height": 768,
            "vertical_frequency": 75,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 1152,
            "height": 864,
            "vertical_frequency": 75,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 1280,
            "height": 1024,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 1280,
            "height": 1024,
            "vertical_frequency": 75,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 1280,
            "height": 720,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 1280,
            "height": 960,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 2560,
            "height": 1440,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 640,
            "height": 480,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 640,
            "height": 480,
            "vertical_frequency": 75,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 720,
            "height": 400,
            "vertical_frequency": 70,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 800,
            "height": 600,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "monitor",
            "width": 800,
            "height": 600,
            "vertical_frequency": 75,
            "interlaced": false
          },
          {
            "type": "size",
            "unit": "mm",
            "value_1": 596,
            "value_2": 335
          }
        ],
        "detail": {
          "manufacture_year": 2023,
          "manufacture_week": 50,
          "vertical_sync": {
            "min": 48,
            "max": 165
          },
          "horizontal_sync": {
            "min": 255,
            "max": 255
          },
          "horizontal_sync_timings": {
            "disp": 2560,
            "sync_start": 2608,
            "sync_end": 2640,
            "total": 2720
          },
          "vertical_sync_timings": {
            "disp": 1440,
            "sync_start": 1443,
            "sync_end": 1448,
            "total": 1481
          },
          "clock": 241500,
          "width": 2560,
          "height": 1440,
          "width_millimetres": 596,
          "height_millimetres": 335,
          "horizontal_flag": 45,
          "vertical_flag": 43,
          "vendor": "",
          "name": "DELL G2724D"
        },
        "driver_info": {
          "type": "display",
          "width": 2560,
          "height": 1440,
          "vertical_sync": {
            "min": 48,
            "max": 165
          },
          "horizontal_sync": {
            "min": 255,
            "max": 255
          },
          "bandwidth": 0,
          "horizontal_sync_timings": {
            "disp": 2560,
            "sync_start": 2608,
            "sync_end": 2640,
            "total": 2720
          },
          "vertical_sync_timings": {
            "disp": 1440,
            "sync_start": 1443,
            "sync_end": 1448,
            "total": 1481
          },
          "horizontal_flag": 45,
          "vertical_flag": 43
        }
      }
    ],
    "mouse": [
      {
        "index": 55,
        "attached_to": 57,
        "class_list": [
          "mouse",
          "usb"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0105",
          "name": "Mouse",
          "value": 261
        },
        "sub_class": {
          "hex": "0003",
          "name": "USB Mouse",
          "value": 3
        },
        "vendor": {
          "hex": "1532",
          "name": "Razer",
          "value": 5426
        },
        "device": {
          "hex": "005c",
          "name": "Razer DeathAdder Elite",
          "value": 92
        },
        "revision": {
          "hex": "0000",
          "name": "2.00",
          "value": 0
        },
        "compat_vendor": "Unknown",
        "compat_device": "Generic USB Mouse",
        "model": "Razer DeathAdder Elite",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0",
        "sysfs_bus_id": "1-3:1.0",
        "unix_device_name": "/dev/input/mice",
        "unix_device_number": {
          "type": 99,
          "major": 13,
          "minor": 63,
          "range": 1
        },
        "unix_device_names": [
          "/dev/input/mice"
        ],
        "unix_device_name2": "/dev/input/mouse0",
        "unix_device_number2": {
          "type": 99,
          "major": 13,
          "minor": 32,
          "range": 1
        },
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "interface_protocol": 2,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "driver_info": {
          "type": "mouse",
          "db_entry_0": [
            "explorerps/2",
            "exps2"
          ],
          "xf86": "explorerps/2",
          "gpm": "exps2",
          "buttons": -1,
          "wheels": -1
        },
        "module_alias": "usb:v1532p005Cd0200dc00dsc00dp00ic03isc01ip02in00"
      },
      {
        "index": 56,
        "attached_to": 50,
        "class_list": [
          "mouse",
          "usb"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0105",
          "name": "Mouse",
          "value": 261
        },
        "sub_class": {
          "hex": "0003",
          "name": "USB Mouse",
          "value": 3
        },
        "vendor": {
          "hex": "19f5",
          "name": "NuPhy",
          "value": 6645
        },
        "device": {
          "hex": "3246",
          "name": "NuPhy Air75 V2",
          "value": 12870
        },
        "revision": {
          "hex": "0000",
          "name": "1.12",
          "value": 0
        },
        "compat_vendor": "Unknown",
        "compat_device": "Generic USB Mouse",
        "model": "NuPhy Air75 V2",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.2",
        "sysfs_bus_id": "1-2.1:1.2",
        "unix_device_name": "/dev/input/mice",
        "unix_device_number": {
          "type": 99,
          "major": 13,
          "minor": 63,
          "range": 1
        },
        "unix_device_names": [
          "/dev/input/mice"
        ],
        "unix_device_name2": "/dev/input/mouse1",
        "unix_device_number2": {
          "type": 99,
          "major": 13,
          "minor": 33,
          "range": 1
        },
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 2,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "driver_info": {
          "type": "mouse",
          "db_entry_0": [
            "explorerps/2",
            "exps2"
          ],
          "xf86": "explorerps/2",
          "gpm": "exps2",
          "buttons": -1,
          "wheels": -1
        },
        "module_alias": "usb:v19F5p3246d0112dc00dsc00dp00ic03isc00ip00in02"
      }
    ],
    "network_controller": [
      {
        "index": 26,
        "attached_to": 0,
        "class_list": [
          "network_controller",
          "pci",
          "wlan_card"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 20
        },
        "base_class": {
          "hex": "0002",
          "name": "Network controller",
          "value": 2
        },
        "sub_class": {
          "hex": "0082",
          "name": "WLAN controller",
          "value": 130
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "device": {
          "hex": "7a70",
          "value": 31344
        },
        "sub_device": {
          "hex": "0094",
          "value": 148
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel WLAN controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.3",
        "sysfs_bus_id": "0000:00:14.3",
        "unix_device_name": "wlp0s20f3",
        "unix_device_names": [
          "wlp0s20f3"
        ],
        "resources": [
          {
            "type": "hwaddr",
            "address": 99
          },
          {
            "type": "irq",
            "base": 18,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 292361945088,
            "range": 16384,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "phwaddr",
            "address": 99
          },
          {
            "type": "wlan",
            "channels": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14",
              "36",
              "40",
              "44",
              "48",
              "52",
              "56",
              "60",
              "64",
              "68",
              "72",
              "76",
              "80",
              "84",
              "88",
              "92",
              "96",
              "100",
              "104"
            ],
            "frequencies": [
              "2.412",
              "2.417",
              "2.422",
              "2.427",
              "2.432",
              "2.437",
              "2.442",
              "2.447",
              "2.452",
              "2.457",
              "2.462",
              "2.467",
              "2.472",
              "2.484",
              "5.18",
              "5.2",
              "5.22",
              "5.24",
              "5.26",
              "5.28",
              "5.3",
              "5.32",
              "5.34",
              "5.36",
              "5.38",
              "5.4",
              "5.42",
              "5.44",
              "5.46",
              "5.48",
              "5.5",
              "5.52"
            ],
            "auth_modes": [
              "open",
              "sharedkey",
              "wpa-psk",
              "wpa-eap"
            ],
            "enc_modes": [
              "WEP40",
              "WEP104",
              "TKIP",
              "CCMP"
            ]
          }
        ],
        "detail": {
          "function": 3,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 18,
          "prog_if": 0
        },
        "driver": "iwlwifi",
        "driver_module": "iwlwifi",
        "drivers": [
          "iwlwifi"
        ],
        "driver_modules": [
          "iwlwifi"
        ],
        "module_alias": "pci:v00008086d00007A70sv00008086sd00000094bc02sc80i00"
      },
      {
        "index": 34,
        "attached_to": 30,
        "class_list": [
          "network_controller",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 6,
          "number": 0
        },
        "base_class": {
          "hex": "0002",
          "name": "Network controller",
          "value": 2
        },
        "sub_class": {
          "hex": "0000",
          "name": "Ethernet controller",
          "value": 0
        },
        "vendor": {
          "hex": "10ec",
          "value": 4332
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "8125",
          "value": 33061
        },
        "sub_device": {
          "hex": "8125",
          "value": 33061
        },
        "revision": {
          "hex": "0005",
          "value": 5
        },
        "model": "Ethernet controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:1c.3/0000:06:00.0",
        "sysfs_bus_id": "0000:06:00.0",
        "unix_device_name": "enp6s0",
        "unix_device_names": [
          "enp6s0"
        ],
        "resources": [
          {
            "type": "hwaddr",
            "address": 57
          },
          {
            "type": "io",
            "base": 12288,
            "range": 256,
            "enabled": true,
            "access": "read_write"
          },
          {
            "type": "irq",
            "base": 19,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 1915748352,
            "range": 65536,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 1915813888,
            "range": 16384,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "phwaddr",
            "address": 57
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 19,
          "prog_if": 0
        },
        "driver": "r8169",
        "driver_module": "r8169",
        "drivers": [
          "r8169"
        ],
        "driver_modules": [
          "r8169"
        ],
        "module_alias": "pci:v000010ECd00008125sv00001849sd00008125bc02sc00i00"
      }
    ],
    "network_interface": [
      {
        "index": 65,
        "attached_to": 0,
        "class_list": [
          "network_interface"
        ],
        "base_class": {
          "hex": "0107",
          "name": "Network Interface",
          "value": 263
        },
        "sub_class": {
          "hex": "0000",
          "name": "Loopback",
          "value": 0
        },
        "model": "Loopback network interface",
        "sysfs_id": "/class/net/lo",
        "unix_device_name": "lo",
        "unix_device_names": [
          "lo"
        ]
      },
      {
        "index": 67,
        "attached_to": 34,
        "class_list": [
          "network_interface"
        ],
        "base_class": {
          "hex": "0107",
          "name": "Network Interface",
          "value": 263
        },
        "sub_class": {
          "hex": "0001",
          "name": "Ethernet",
          "value": 1
        },
        "model": "Ethernet network interface",
        "sysfs_id": "/class/net/enp6s0",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.3/0000:06:00.0",
        "unix_device_name": "enp6s0",
        "unix_device_names": [
          "enp6s0"
        ],
        "resources": [
          {
            "type": "hwaddr",
            "address": 57
          },
          {
            "type": "phwaddr",
            "address": 57
          }
        ],
        "driver": "r8169",
        "driver_module": "r8169",
        "drivers": [
          "r8169"
        ],
        "driver_modules": [
          "r8169"
        ]
      },
      {
        "index": 70,
        "attached_to": 26,
        "class_list": [
          "network_interface"
        ],
        "base_class": {
          "hex": "0107",
          "name": "Network Interface",
          "value": 263
        },
        "sub_class": {
          "hex": "0001",
          "name": "Ethernet",
          "value": 1
        },
        "model": "Ethernet network interface",
        "sysfs_id": "/class/net/wlp0s20f3",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:14.3",
        "unix_device_name": "wlp0s20f3",
        "unix_device_names": [
          "wlp0s20f3"
        ],
        "resources": [
          {
            "type": "hwaddr",
            "address": 99
          },
          {
            "type": "phwaddr",
            "address": 99
          }
        ],
        "driver": "iwlwifi",
        "driver_module": "iwlwifi",
        "drivers": [
          "iwlwifi"
        ],
        "driver_modules": [
          "iwlwifi"
        ]
      }
    ],
    "pci": [
      {
        "index": 27,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 22
        },
        "base_class": {
          "hex": "0007",
          "name": "Communication controller",
          "value": 7
        },
        "sub_class": {
          "hex": "0080",
          "name": "Communication controller",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a68",
          "value": 31336
        },
        "sub_device": {
          "hex": "7a68",
          "value": 31336
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel Communication controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:16.0",
        "sysfs_bus_id": "0000:00:16.0",
        "resources": [
          {
            "type": "irq",
            "base": 172,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 292361981952,
            "range": 4096,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 172,
          "prog_if": 0
        },
        "driver": "mei_me",
        "driver_module": "mei_me",
        "drivers": [
          "mei_me"
        ],
        "driver_modules": [
          "mei_me"
        ],
        "module_alias": "pci:v00008086d00007A68sv00001849sd00007A68bc07sc80i00"
      },
      {
        "index": 29,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 31
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0080",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a24",
          "value": 31268
        },
        "sub_device": {
          "hex": "7a24",
          "value": 31268
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel Serial bus controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:1f.5",
        "sysfs_bus_id": "0000:00:1f.5",
        "resources": [
          {
            "type": "mem",
            "base": 1917861888,
            "range": 4096,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 5,
          "command": 1026,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 0,
          "prog_if": 0
        },
        "driver": "intel-spi",
        "driver_module": "spi_intel_pci",
        "drivers": [
          "intel-spi"
        ],
        "driver_modules": [
          "spi_intel_pci"
        ],
        "module_alias": "pci:v00008086d00007A24sv00001849sd00007A24bc0Csc80i00"
      },
      {
        "index": 35,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 21
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0080",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a4c",
          "value": 31308
        },
        "sub_device": {
          "hex": "7a4c",
          "value": 31308
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel Serial bus controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:15.0",
        "sysfs_bus_id": "0000:00:15.0",
        "resources": [
          {
            "type": "irq",
            "base": 27,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 292361986048,
            "range": 4096,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 6,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 27,
          "prog_if": 0
        },
        "driver": "intel-lpss",
        "driver_module": "intel_lpss_pci",
        "drivers": [
          "intel-lpss"
        ],
        "driver_modules": [
          "intel_lpss_pci"
        ],
        "module_alias": "pci:v00008086d00007A4Csv00001849sd00007A4Cbc0Csc80i00"
      },
      {
        "index": 39,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 20
        },
        "base_class": {
          "hex": "0005",
          "name": "Memory controller",
          "value": 5
        },
        "sub_class": {
          "hex": "0000",
          "name": "RAM memory",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "device": {
          "hex": "7a27",
          "value": 31271
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel RAM memory",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.2",
        "sysfs_bus_id": "0000:00:14.2",
        "resources": [
          {
            "type": "mem",
            "base": 292361961472,
            "range": 16384,
            "enabled": false,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 292361990144,
            "range": 4096,
            "enabled": false,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 2,
          "command": 0,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 0,
          "prog_if": 0
        },
        "module_alias": "pci:v00008086d00007A27sv00000000sd00000000bc05sc00i00"
      },
      {
        "index": 42,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 31
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0005",
          "name": "SMBus",
          "value": 5
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a23",
          "value": 31267
        },
        "sub_device": {
          "hex": "7a23",
          "value": 31267
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel SMBus",
        "sysfs_id": "/devices/pci0000:00/0000:00:1f.4",
        "sysfs_bus_id": "0000:00:1f.4",
        "resources": [
          {
            "type": "io",
            "base": 61344,
            "range": 32,
            "enabled": true,
            "access": "read_write"
          },
          {
            "type": "irq",
            "base": 18,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 292361977856,
            "range": 256,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 4,
          "command": 3,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 18,
          "prog_if": 0
        },
        "driver": "i801_smbus",
        "driver_module": "i2c_i801",
        "drivers": [
          "i801_smbus"
        ],
        "driver_modules": [
          "i2c_i801"
        ],
        "module_alias": "pci:v00008086d00007A23sv00001849sd00007A23bc0Csc05i00"
      }
    ],
    "sound": [
      {
        "index": 31,
        "attached_to": 24,
        "class_list": [
          "sound",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 3,
          "number": 0
        },
        "base_class": {
          "hex": "0004",
          "name": "Multimedia controller",
          "value": 4
        },
        "sub_class": {
          "hex": "0003",
          "value": 3
        },
        "vendor": {
          "hex": "1002",
          "name": "ATI Technologies Inc",
          "value": 4098
        },
        "sub_vendor": {
          "hex": "1002",
          "name": "ATI Technologies Inc",
          "value": 4098
        },
        "device": {
          "hex": "ab28",
          "value": 43816
        },
        "sub_device": {
          "hex": "ab28",
          "value": 43816
        },
        "model": "ATI Multimedia controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.1",
        "sysfs_bus_id": "0000:03:00.1",
        "resources": [
          {
            "type": "irq",
            "base": 191,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 1913782272,
            "range": 16384,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 1,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 191,
          "prog_if": 0
        },
        "driver": "snd_hda_intel",
        "driver_module": "snd_hda_intel",
        "drivers": [
          "snd_hda_intel"
        ],
        "driver_modules": [
          "snd_hda_intel"
        ],
        "module_alias": "pci:v00001002d0000AB28sv00001002sd0000AB28bc04sc03i00"
      },
      {
        "index": 32,
        "attached_to": 0,
        "class_list": [
          "sound",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 31
        },
        "base_class": {
          "hex": "0004",
          "name": "Multimedia controller",
          "value": 4
        },
        "sub_class": {
          "hex": "0003",
          "value": 3
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a50",
          "value": 31312
        },
        "sub_device": {
          "hex": "1897",
          "value": 6295
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel Multimedia controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:1f.3",
        "sysfs_bus_id": "0000:00:1f.3",
        "resources": [
          {
            "type": "irq",
            "base": 190,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 292359766016,
            "range": 1048576,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 292361928704,
            "range": 16384,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 3,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 190,
          "prog_if": 0
        },
        "driver": "snd_hda_intel",
        "driver_module": "snd_hda_intel",
        "drivers": [
          "snd_hda_intel"
        ],
        "driver_modules": [
          "snd_hda_intel"
        ],
        "module_alias": "pci:v00008086d00007A50sv00001849sd00001897bc04sc03i00"
      }
    ],
    "storage_controller": [
      {
        "index": 21,
        "attached_to": 0,
        "class_list": [
          "storage_controller",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 23
        },
        "base_class": {
          "hex": "0001",
          "name": "Mass storage controller",
          "value": 1
        },
        "sub_class": {
          "hex": "0006",
          "value": 6
        },
        "pci_interface": {
          "hex": "0001",
          "value": 1
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a62",
          "value": 31330
        },
        "sub_device": {
          "hex": "7a62",
          "value": 31330
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel Mass storage controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:17.0",
        "sysfs_bus_id": "0000:00:17.0",
        "resources": [
          {
            "type": "io",
            "base": 20512,
            "range": 32,
            "enabled": true,
            "access": "read_write"
          },
          {
            "type": "io",
            "base": 20544,
            "range": 4,
            "enabled": true,
            "access": "read_write"
          },
          {
            "type": "io",
            "base": 20560,
            "range": 8,
            "enabled": true,
            "access": "read_write"
          },
          {
            "type": "irq",
            "base": 170,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 1917845504,
            "range": 8192,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 1917853696,
            "range": 2048,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 1917857792,
            "range": 256,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 170,
          "prog_if": 1
        },
        "driver": "ahci",
        "driver_module": "ahci",
        "drivers": [
          "ahci"
        ],
        "driver_modules": [
          "ahci"
        ],
        "module_alias": "pci:v00008086d00007A62sv00001849sd00007A62bc01sc06i01"
      },
      {
        "index": 38,
        "attached_to": 0,
        "class_list": [
          "storage_controller",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 14
        },
        "base_class": {
          "hex": "0001",
          "name": "Mass storage controller",
          "value": 1
        },
        "sub_class": {
          "hex": "0004",
          "name": "RAID bus controller",
          "value": 4
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "device": {
          "hex": "467f",
          "value": 18047
        },
        "sub_device": {
          "hex": "0000",
          "value": 0
        },
        "model": "Intel RAID bus controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:0e.0",
        "sysfs_bus_id": "0000:00:0e.0",
        "resources": [
          {
            "type": "mem",
            "base": 1879048192,
            "range": 33554432,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 292326211584,
            "range": 33554432,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          },
          {
            "type": "mem",
            "base": 292360814592,
            "range": 1048576,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 0,
          "prog_if": 0
        },
        "driver": "vmd",
        "driver_module": "vmd",
        "drivers": [
          "vmd"
        ],
        "driver_modules": [
          "vmd"
        ],
        "module_alias": "pci:v00008086d0000467Fsv00008086sd00000000bc01sc04i00"
      },
      {
        "index": 40,
        "attached_to": 36,
        "class_list": [
          "storage_controller",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 4,
          "number": 0
        },
        "base_class": {
          "hex": "0001",
          "name": "Mass storage controller",
          "value": 1
        },
        "sub_class": {
          "hex": "0008",
          "value": 8
        },
        "pci_interface": {
          "hex": "0002",
          "value": 2
        },
        "vendor": {
          "hex": "2646",
          "value": 9798
        },
        "sub_vendor": {
          "hex": "2646",
          "value": 9798
        },
        "device": {
          "hex": "5023",
          "value": 20515
        },
        "sub_device": {
          "hex": "5023",
          "value": 20515
        },
        "revision": {
          "hex": "0003",
          "value": 3
        },
        "model": "Mass storage controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:06.0/0000:04:00.0",
        "sysfs_bus_id": "0000:04:00.0",
        "resources": [
          {
            "type": "irq",
            "base": 16,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 1916796928,
            "range": 16384,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 16,
          "prog_if": 2
        },
        "driver": "nvme",
        "driver_module": "nvme",
        "drivers": [
          "nvme"
        ],
        "driver_modules": [
          "nvme"
        ],
        "module_alias": "pci:v00002646d00005023sv00002646sd00005023bc01sc08i02"
      }
    ],
    "system": {
      "form_factor": "desktop"
    },
    "unknown": [
      {
        "index": 44,
        "attached_to": 0,
        "class_list": [
          "unknown"
        ],
        "base_class": {
          "hex": "0007",
          "name": "Communication controller",
          "value": 7
        },
        "sub_class": {
          "hex": "0000",
          "name": "Serial controller",
          "value": 0
        },
        "pci_interface": {
          "hex": "0002",
          "name": "16550",
          "value": 2
        },
        "device": {
          "hex": "0000",
          "name": "16550A",
          "value": 0
        },
        "model": "16550A",
        "unix_device_name": "/dev/ttyS0",
        "unix_device_names": [
          "/dev/ttyS0"
        ],
        "resources": [
          {
            "type": "io",
            "base": 1016,
            "range": 0,
            "enabled": true,
            "access": "read_write"
          },
          {
            "type": "irq",
            "base": 4,
            "triggered": 0,
            "enabled": true
          }
        ]
      }
    ],
    "usb": [
      {
        "index": 48,
        "attached_to": 50,
        "class_list": [
          "usb",
          "unknown"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "sub_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "vendor": {
          "hex": "19f5",
          "name": "NuPhy",
          "value": 6645
        },
        "device": {
          "hex": "3246",
          "name": "NuPhy Air75 V2",
          "value": 12870
        },
        "revision": {
          "hex": "0000",
          "name": "1.12",
          "value": 0
        },
        "model": "NuPhy Air75 V2",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.3",
        "sysfs_bus_id": "1-2.1:1.3",
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 3,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "module_alias": "usb:v19F5p3246d0112dc00dsc00dp00ic03isc00ip00in03"
      },
      {
        "index": 49,
        "attached_to": 50,
        "class_list": [
          "usb",
          "unknown"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "sub_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "vendor": {
          "hex": "19f5",
          "name": "NuPhy",
          "value": 6645
        },
        "device": {
          "hex": "3246",
          "name": "NuPhy Air75 V2",
          "value": 12870
        },
        "revision": {
          "hex": "0000",
          "name": "1.12",
          "value": 0
        },
        "model": "NuPhy Air75 V2",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1",
        "sysfs_bus_id": "1-2.1:1.1",
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 1,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "module_alias": "usb:v19F5p3246d0112dc00dsc00dp00ic03isc00ip00in01"
      },
      {
        "index": 52,
        "attached_to": 57,
        "class_list": [
          "usb",
          "unknown"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "sub_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "vendor": {
          "hex": "1532",
          "name": "Razer",
          "value": 5426
        },
        "device": {
          "hex": "005c",
          "name": "Razer DeathAdder Elite",
          "value": 92
        },
        "revision": {
          "hex": "0000",
          "name": "2.00",
          "value": 0
        },
        "model": "Razer DeathAdder Elite",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.2",
        "sysfs_bus_id": "1-3:1.2",
        "unix_device_name": "/dev/input/event3",
        "unix_device_number": {
          "type": 99,
          "major": 13,
          "minor": 67,
          "range": 1
        },
        "unix_device_names": [
          "/dev/input/by-id/usb-Razer_Razer_DeathAdder_Elite-if02-event-kbd",
          "/dev/input/by-path/pci-0000:00:14.0-usb-0:3:1.2-event-kbd",
          "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:3:1.2-event-kbd",
          "/dev/input/event3"
        ],
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 1,
          "interface_number": 2,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "module_alias": "usb:v1532p005Cd0200dc00dsc00dp00ic03isc00ip01in02"
      },
      {
        "index": 53,
        "attached_to": 57,
        "class_list": [
          "usb",
          "unknown"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "sub_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "vendor": {
          "hex": "1207",
          "name": "Tillitis",
          "value": 4615
        },
        "device": {
          "hex": "8887",
          "name": "MTA1-USB-V1",
          "value": 34951
        },
        "revision": {
          "hex": "0000",
          "name": "1.00",
          "value": 0
        },
        "serial": "125736b8-921b-4822-8d3b-3b7b841e89a7",
        "model": "Tillitis MTA1-USB-V1",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1",
        "sysfs_bus_id": "1-5:1.1",
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0002",
            "name": "comm",
            "value": 2
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "000a",
            "name": "data",
            "value": 10
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 1,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "cdc_acm",
        "driver_module": "cdc_acm",
        "drivers": [
          "cdc_acm"
        ],
        "driver_modules": [
          "cdc_acm"
        ],
        "module_alias": "usb:v1207p8887d0100dc02dsc00dp00ic0Aisc00ip00in01"
      },
      {
        "index": 54,
        "attached_to": 57,
        "class_list": [
          "usb",
          "unknown"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "sub_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "vendor": {
          "hex": "26ce",
          "name": "ASRock",
          "value": 9934
        },
        "device": {
          "hex": "01a2",
          "name": "LED Controller",
          "value": 418
        },
        "serial": "A02019100900",
        "model": "ASRock LED Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0",
        "sysfs_bus_id": "1-11:1.0",
        "unix_device_name": "/dev/input/event9",
        "unix_device_number": {
          "type": 99,
          "major": 13,
          "minor": 73,
          "range": 1
        },
        "unix_device_names": [
          "/dev/input/by-id/usb-ASRock_LED_Controller_A02019100900-event-if00",
          "/dev/input/by-path/pci-0000:00:14.0-usb-0:11:1.0-event",
          "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:11:1.0-event",
          "/dev/input/event9"
        ],
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "module_alias": "usb:v26CEp01A2d0000dc00dsc00dp00ic03isc00ip00in00"
      },
      {
        "index": 61,
        "attached_to": 57,
        "class_list": [
          "usb",
          "unknown"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "sub_class": {
          "hex": "0000",
          "name": "Unclassified device",
          "value": 0
        },
        "vendor": {
          "hex": "1532",
          "name": "Razer",
          "value": 5426
        },
        "device": {
          "hex": "005c",
          "name": "Razer DeathAdder Elite",
          "value": 92
        },
        "revision": {
          "hex": "0000",
          "name": "2.00",
          "value": 0
        },
        "model": "Razer DeathAdder Elite",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1",
        "sysfs_bus_id": "1-3:1.1",
        "unix_device_name": "/dev/input/event1",
        "unix_device_number": {
          "type": 99,
          "major": 13,
          "minor": 65,
          "range": 1
        },
        "unix_device_names": [
          "/dev/input/by-id/usb-Razer_Razer_DeathAdder_Elite-if01-event-kbd",
          "/dev/input/by-path/pci-0000:00:14.0-usb-0:3:1.1-event-kbd",
          "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:3:1.1-event-kbd",
          "/dev/input/event1"
        ],
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 0,
          "interface_class": {
            "hex": "0003",
            "name": "hid",
            "value": 3
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 1,
          "interface_number": 1,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "usbhid",
        "driver_module": "usbhid",
        "drivers": [
          "usbhid"
        ],
        "driver_modules": [
          "usbhid"
        ],
        "module_alias": "usb:v1532p005Cd0200dc00dsc00dp00ic03isc00ip01in01"
      }
    ],
    "usb_controller": [
      {
        "index": 41,
        "attached_to": 0,
        "class_list": [
          "usb_controller",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 20
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0003",
          "name": "USB Controller",
          "value": 3
        },
        "pci_interface": {
          "hex": "0030",
          "value": 48
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "1849",
          "value": 6217
        },
        "device": {
          "hex": "7a60",
          "value": 31328
        },
        "sub_device": {
          "hex": "7a60",
          "value": 31328
        },
        "revision": {
          "hex": "0011",
          "value": 17
        },
        "model": "Intel USB Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0",
        "sysfs_bus_id": "0000:00:14.0",
        "resources": [
          {
            "type": "irq",
            "base": 146,
            "triggered": 0,
            "enabled": true
          },
          {
            "type": "mem",
            "base": 292361863168,
            "range": 65536,
            "enabled": true,
            "access": "read_write",
            "prefetch": "no"
          }
        ],
        "detail": {
          "function": 0,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "irq": 146,
          "prog_if": 48
        },
        "driver": "xhci_hcd",
        "driver_module": "xhci_pci",
        "drivers": [
          "xhci_hcd"
        ],
        "driver_modules": [
          "xhci_pci"
        ],
        "module_alias": "pci:v00008086d00007A60sv00001849sd00007A60bc0Csc03i30"
      }
    ]
  },
  "smbios": {
    "bios": {
      "handle": 0,
      "vendor": "American Megatrends International, LLC.",
      "version": "3.12",
      "date": "06/13/2023",
      "features": [
        "PCI supported",
        "BIOS flashable",
        "BIOS shadowing allowed",
        "CD boot supported",
        "Selectable boot supported",
        "BIOS ROM socketed",
        "EDD spec supported",
        "1.2MB NEC 9800 Japanese Floppy supported",
        "1.2MB Toshiba Japanese Floppy supported",
        "360kB Floppy supported",
        "1.2MB Floppy supported",
        "720kB Floppy supported",
        "2.88MB Floppy supported",
        "Print Screen supported",
        "8042 Keyboard Services supported",
        "Serial Services supported",
        "Printer Services supported",
        "CGA/Mono Video supported",
        "ACPI supported",
        "USB Legacy supported",
        "BIOS Boot Spec supported"
      ],
      "start_address": "0xf0000",
      "rom_size": 16777216
    },
    "board": {
      "handle": 2,
      "manufacturer": "ASRock",
      "product": "B760M Pro RS/D4 WiFi",
      "version": "",
      "board_type": {
        "hex": "000a",
        "name": "Motherboard",
        "value": 10
      },
      "features": [
        "Hosting Board",
        "Replaceable"
      ],
      "location": "",
      "chassis": 3
    },
    "cache": [
      {
        "handle": 29,
        "socket": "L1 Cache",
        "size_max": 288,
        "size_current": 288,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 0,
        "ecc": {
          "hex": "0004",
          "name": "Parity",
          "value": 4
        },
        "cache_type": {
          "hex": "0004",
          "name": "Data",
          "value": 4
        },
        "associativity": {
          "hex": "0009",
          "name": "Other",
          "value": 9
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      },
      {
        "handle": 30,
        "socket": "L1 Cache",
        "size_max": 192,
        "size_current": 192,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 0,
        "ecc": {
          "hex": "0004",
          "name": "Parity",
          "value": 4
        },
        "cache_type": {
          "hex": "0003",
          "name": "Instruction",
          "value": 3
        },
        "associativity": {
          "hex": "0007",
          "name": "8-way Set-Associative",
          "value": 7
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      },
      {
        "handle": 31,
        "socket": "L2 Cache",
        "size_max": 7680,
        "size_current": 7680,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 1,
        "ecc": {
          "hex": "0005",
          "name": "Single-bit",
          "value": 5
        },
        "cache_type": {
          "hex": "0005",
          "name": "Unified",
          "value": 5
        },
        "associativity": {
          "hex": "0001",
          "name": "Other",
          "value": 1
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      },
      {
        "handle": 32,
        "socket": "L3 Cache",
        "size_max": 20480,
        "size_current": 20480,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 2,
        "ecc": {
          "hex": "0006",
          "name": "Multi-bit",
          "value": 6
        },
        "cache_type": {
          "hex": "0005",
          "name": "Unified",
          "value": 5
        },
        "associativity": {
          "hex": "0001",
          "name": "Other",
          "value": 1
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      },
      {
        "handle": 33,
        "socket": "L1 Cache",
        "size_max": 128,
        "size_current": 128,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 0,
        "ecc": {
          "hex": "0004",
          "name": "Parity",
          "value": 4
        },
        "cache_type": {
          "hex": "0004",
          "name": "Data",
          "value": 4
        },
        "associativity": {
          "hex": "0007",
          "name": "8-way Set-Associative",
          "value": 7
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      },
      {
        "handle": 34,
        "socket": "L1 Cache",
        "size_max": 256,
        "size_current": 256,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 0,
        "ecc": {
          "hex": "0004",
          "name": "Parity",
          "value": 4
        },
        "cache_type": {
          "hex": "0003",
          "name": "Instruction",
          "value": 3
        },
        "associativity": {
          "hex": "0007",
          "name": "8-way Set-Associative",
          "value": 7
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      },
      {
        "handle": 35,
        "socket": "L2 Cache",
        "size_max": 2048,
        "size_current": 2048,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 1,
        "ecc": {
          "hex": "0005",
          "name": "Single-bit",
          "value": 5
        },
        "cache_type": {
          "hex": "0005",
          "name": "Unified",
          "value": 5
        },
        "associativity": {
          "hex": "0008",
          "name": "16-way Set-Associative",
          "value": 8
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      },
      {
        "handle": 36,
        "socket": "L3 Cache",
        "size_max": 20480,
        "size_current": 20480,
        "speed": 0,
        "mode": {
          "hex": "0001",
          "name": "Write Back",
          "value": 1
        },
        "enabled": true,
        "location": {
          "hex": "0000",
          "name": "Internal",
          "value": 0
        },
        "socketed": false,
        "level": 2,
        "ecc": {
          "hex": "0006",
          "name": "Multi-bit",
          "value": 6
        },
        "cache_type": {
          "hex": "0005",
          "name": "Unified",
          "value": 5
        },
        "associativity": {
          "hex": "0001",
          "name": "Other",
          "value": 1
        },
        "sram_type_current": [
          "Synchronous"
        ],
        "sram_type_supported": [
          "Synchronous"
        ]
      }
    ],
    "chassis": [
      {
        "handle": 3,
        "manufacturer": "To Be Filled By O.E.M.",
        "version": "To Be Filled By O.E.M.",
        "chassis_type": {
          "hex": "0003",
          "name": "Desktop",
          "value": 3
        },
        "lock_present": false,
        "bootup_state": {
          "hex": "0003",
          "name": "Safe",
          "value": 3
        },
        "power_state": {
          "hex": "0003",
          "name": "Safe",
          "value": 3
        },
        "thermal_state": {
          "hex": "0003",
          "name": "Safe",
          "value": 3
        },
        "security_state": {
          "hex": "0003",
          "name": "None",
          "value": 3
        },
        "oem": "0x0"
      }
    ],
    "group_associations": [
      {
        "handle": 41,
        "name": "$MEI",
        "handles": [
          0
        ]
      }
    ],
    "memory_array": [
      {
        "handle": 13,
        "location": {
          "hex": "0003",
          "name": "Motherboard",
          "value": 3
        },
        "usage": {
          "hex": "0003",
          "name": "System memory",
          "value": 3
        },
        "ecc": {
          "hex": "0003",
          "name": "None",
          "value": 3
        },
        "max_size": "0x8000000",
        "error_handle": 65534,
        "slots": 4
      }
    ],
    "memory_array_mapped_address": [
      {
        "handle": 18,
        "array_handle": 13,
        "start_address": "0x0",
        "end_address": "0x800000000",
        "part_width": 2
      }
    ],
    "memory_device": [
      {
        "handle": 14,
        "location": "Controller0-ChannelA-DIMM0",
        "bank_location": "BANK 0",
        "manufacturer": "",
        "part_number": "",
        "array_handle": 13,
        "error_handle": 65534,
        "width": 0,
        "ecc_bits": 0,
        "size": 0,
        "form_factor": {
          "hex": "0009",
          "name": "DIMM",
          "value": 9
        },
        "set": 0,
        "memory_type": {
          "hex": "0002",
          "name": "Unknown",
          "value": 2
        },
        "memory_type_details": null,
        "speed": 0
      },
      {
        "handle": 15,
        "location": "Controller0-ChannelA-DIMM1",
        "bank_location": "BANK 0",
        "manufacturer": "Team Group Inc",
        "part_number": "TEAMGROUP-UD4-3200",
        "array_handle": 13,
        "error_handle": 65534,
        "width": 64,
        "ecc_bits": 0,
        "size": 16777216,
        "form_factor": {
          "hex": "0009",
          "name": "DIMM",
          "value": 9
        },
        "set": 0,
        "memory_type": {
          "hex": "001a",
          "name": "Other",
          "value": 26
        },
        "memory_type_details": [
          "Synchronous"
        ],
        "speed": 2400
      },
      {
        "handle": 16,
        "location": "Controller1-ChannelA-DIMM0",
        "bank_location": "BANK 0",
        "manufacturer": "",
        "part_number": "",
        "array_handle": 13,
        "error_handle": 65534,
        "width": 0,
        "ecc_bits": 0,
        "size": 0,
        "form_factor": {
          "hex": "0009",
          "name": "DIMM",
          "value": 9
        },
        "set": 0,
        "memory_type": {
          "hex": "0002",
          "name": "Unknown",
          "value": 2
        },
        "memory_type_details": null,
        "speed": 0
      },
      {
        "handle": 17,
        "location": "Controller1-ChannelA-DIMM1",
        "bank_location": "BANK 0",
        "manufacturer": "Team Group Inc",
        "part_number": "TEAMGROUP-UD4-3200",
        "array_handle": 13,
        "error_handle": 65534,
        "width": 64,
        "ecc_bits": 0,
        "size": 16777216,
        "form_factor": {
          "hex": "0009",
          "name": "DIMM",
          "value": 9
        },
        "set": 0,
        "memory_type": {
          "hex": "001a",
          "name": "Other",
          "value": 26
        },
        "memory_type_details": [
          "Synchronous"
        ],
        "speed": 2400
      }
    ],
    "memory_device_mapped_address": [
      {
        "handle": 22,
        "memory_device_handle": 15,
        "array_map_handle": 18,
        "start_address": "0x0",
        "end_address": "0x400000000",
        "row_position": 1,
        "interleave_position": 1,
        "interleave_depth": 2
      },
      {
        "handle": 23,
        "memory_device_handle": 17,
        "array_map_handle": 18,
        "start_address": "0x400000000",
        "end_address": "0x800000000",
        "row_position": 1,
        "interleave_position": 2,
        "interleave_depth": 2
      }
    ],
    "processor": [
      {
        "handle": 37,
        "socket": "CPUSocket",
        "socket_type": {
          "hex": "0040",
          "name": "Other",
          "value": 64
        },
        "socket_populated": true,
        "manufacturer": "Intel(R) Corporation",
        "version": "12th Gen Intel(R) Core(TM) i5-12600KF",
        "part": "To Be Filled By O.E.M.",
        "processor_type": {
          "hex": "0003",
          "name": "CPU",
          "value": 3
        },
        "processor_family": {
          "hex": "00cd",
          "name": "Other",
          "value": 205
        },
        "processor_status": {
          "hex": "0001",
          "name": "Enabled",
          "value": 1
        },
        "clock_ext": 100,
        "clock_max": 4900,
        "cache_handle_l1": 30,
        "cache_handle_l2": 31,
        "cache_handle_l3": 32
      }
    ],
    "slot": [
      {
        "handle": 4,
        "designation": "Slot1",
        "slot_type": {
          "hex": "00a5",
          "name": "Other",
          "value": 165
        },
        "bus_width": {
          "hex": "000d",
          "name": "Other",
          "value": 13
        },
        "usage": {
          "hex": "0004",
          "name": "In Use",
          "value": 4
        },
        "length": {
          "hex": "0004",
          "name": "Long",
          "value": 4
        },
        "id": 17,
        "features": [
          "3.3 V",
          "Shared",
          "PME#"
        ]
      },
      {
        "handle": 5,
        "designation": "Slot2",
        "slot_type": {
          "hex": "00a5",
          "name": "Other",
          "value": 165
        },
        "bus_width": {
          "hex": "0008",
          "name": "Other",
          "value": 8
        },
        "usage": {
          "hex": "0003",
          "name": "Available",
          "value": 3
        },
        "length": {
          "hex": "0003",
          "name": "Short",
          "value": 3
        },
        "id": 18,
        "features": [
          "3.3 V",
          "Shared",
          "PME#"
        ]
      },
      {
        "handle": 6,
        "designation": "Slot3",
        "slot_type": {
          "hex": "00a5",
          "name": "Other",
          "value": 165
        },
        "bus_width": {
          "hex": "000a",
          "name": "Other",
          "value": 10
        },
        "usage": {
          "hex": "0003",
          "name": "Available",
          "value": 3
        },
        "length": {
          "hex": "0003",
          "name": "Short",
          "value": 3
        },
        "id": 19,
        "features": [
          "3.3 V",
          "Shared",
          "PME#"
        ]
      },
      {
        "handle": 7,
        "designation": "M2_1",
        "slot_type": {
          "hex": "00a5",
          "name": "Other",
          "value": 165
        },
        "bus_width": {
          "hex": "000a",
          "name": "Other",
          "value": 10
        },
        "usage": {
          "hex": "0004",
          "name": "In Use",
          "value": 4
        },
        "length": {
          "hex": "0003",
          "name": "Short",
          "value": 3
        },
        "id": 33,
        "features": [
          "3.3 V",
          "Shared",
          "PME#"
        ]
      },
      {
        "handle": 8,
        "designation": "M2_2",
        "slot_type": {
          "hex": "00a5",
          "name": "Other",
          "value": 165
        },
        "bus_width": {
          "hex": "000a",
          "name": "Other",
          "value": 10
        },
        "usage": {
          "hex": "0003",
          "name": "Available",
          "value": 3
        },
        "length": {
          "hex": "0003",
          "name": "Short",
          "value": 3
        },
        "id": 34,
        "features": [
          "3.3 V",
          "Shared",
          "PME#"
        ]
      },
      {
        "handle": 9,
        "designation": "M2_Wifi",
        "slot_type": {
          "hex": "00a5",
          "name": "Other",
          "value": 165
        },
        "bus_width": {
          "hex": "0008",
          "name": "Other",
          "value": 8
        },
        "usage": {
          "hex": "0003",
          "name": "Available",
          "value": 3
        },
        "length": {
          "hex": "0003",
          "name": "Short",
          "value": 3
        },
        "id": 49,
        "features": [
          "3.3 V",
          "Shared",
          "PME#"
        ]
      }
    ],
    "system": {
      "handle": 1,
      "manufacturer": "ASRock",
      "product": "B760M Pro RS/D4 WiFi",
      "version": "To Be Filled By O.E.M.",
      "wake_up": {
        "hex": "0006",
        "name": "Power Switch",
        "value": 6
      }
    }
  }
}

================================================
FILE: configurations/nixos/laptop/default.nix
================================================
# NixOS configuration for laptop
{
  flake,
  pkgs,
  lib,
  ...
}:
let
  inherit (flake) inputs self;
in
{
  imports = [
    # Internal modules via flake outputs
    self.nixosModules.default
    self.nixosModules.users-bbigras
    self.nixosModules.graphical
    self.nixosModules.graphical-cosmic
    self.nixosModules.graphical-steam
    self.nixosModules.graphical-trusted
    self.nixosModules.pam-limits
    self.nixosModules.hardware-secureboot
    self.nixosModules.services-podman
    self.nixosModules.services-wivrn
    self.nixosModules.services-virt-manager

    { config.facter.reportPath = ./facter.json; }
    inputs.nixos-hardware.nixosModules.framework-12-13th-gen-intel

    # Host-specific files
    # ./state.nix
    ./disko.nix
  ];

  # Host-specific home-manager user config
  home-manager.users.bbigras.imports = [
    self.homeModules.trusted
    self.homeModules.emacs
    self.homeModules.syncthing
    self.homeModules.graphical
    self.homeModules.graphical-heroic
    self.homeModules.graphical-lutris
    self.homeModules.tkey-ssh-agent
  ];

  # SSH target for remote activation

  # Platform
  nixpkgs.hostPlatform = "x86_64-linux";

  # Host-specific configuration
  boot = {
    initrd = {
      systemd.enable = true;
    };
    lanzaboote.pkiBundle = lib.mkForce "/var/lib/sbctl";
    plymouth.enable = true;
  };

  environment.systemPackages = with pkgs; [
    cntr
    wireguard-tools
  ];

  # agenix-rekey host pubkey
  age.rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGbvuozkVenMJeMFkpnnXA6qWTFfDhkjRq26VSgDSHme";

  networking = {
    # hostId = "";
    hostName = "laptop";
    wireguard.enable = true;
    wireless.enable = false;
  };

  nix.settings.max-substitution-jobs = 32;

  security.sudo.wheelNeedsPassword = true;

  services = {
    flatpak.enable = true;
    udisks2.enable = true;
    fwupd = {
      enable = true;
      extraRemotes = [ "lvfs-testing" ];
      # uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = true;
    };
    thermald.enable = true;
    tlp.enable = false;
    tuned.enable = true;
  };

  networking.networkmanager = {
    enable = true;
    dns = "systemd-resolved";
    wifi = {
      backend = "iwd";
      macAddress = "stable-ssid";
      # powersave = false;
    };
    ensureProfiles = {
      environmentFiles = [
        # config.sops.secrets.networkmanager.path
      ];
      profiles = {
        home = {
          connection = {
            id = "home";
            type = "wifi";
            # uuid = "1a2538e1-1a72-4162-bc85-58682ecd91eb";
            autoconnect = true;
          };
          ipv4 = {
            method = "auto";
          };
          ipv6 = {
            addr-gen-mode = "default";
            method = "auto";
          };
          # proxy = { };
          wifi = {
            ssid = "$HOME_SSID";
          };
          wifi-security = {
            key-mgmt = "wpa-psk";
            psk = "$HOME_PASSPHRASE";
          };
        };
        phone = {
          connection = {
            autoconnect-priority = "-1";
            id = "phone";
            metered = "1";
            # timestamp = "1752765639";
            type = "wifi";
            # uuid = "d3c51cff-ccaa-481e-8d93-a02c5ac3bdda";
          };
          ipv4 = {
            method = "auto";
          };
          ipv6 = {
            addr-gen-mode = "stable-privacy";
            method = "auto";
          };
          # proxy = { };
          wifi = {
            # cloned-mac-address = "stable-ssid";
            mode = "infrastructure";
            ssid = "$PHONE_PASSPHRASE";
          };
          wifi-security = {
            key-mgmt = "wpa-psk";
            psk = "$PHONE_PSK";
          };
        };
      };
    };
  };

  # These options are unnecessary when managing DNS ourselves
  networking.useDHCP = false;
  networking.dhcpcd.enable = false;
  facter.detected.dhcp.enable = false;
}


================================================
FILE: configurations/nixos/laptop/disko.nix
================================================
{
  fileSystems = {
    "/nix/state".neededForBoot = true;
    "/nix".neededForBoot = true;
    "/home".neededForBoot = true;
  };

  # https://github.com/nix-community/disko/issues/452#issuecomment-1868276953
  disko.devices = {
    disk = {
      main = {
        type = "disk";
        device = "/dev/disk/by-id/nvme-WD_BLACK_SN770M_2TB_2508DD400188";
        content = {
          type = "gpt";
          partitions = {
            ESP = {
              priority = 1;
              size = "512M";
              type = "EF00";
              # bootable = true;
              content = {
                type = "filesystem";
                format = "vfat";
                mountpoint = "/boot";
                mountOptions = [ "umask=0077" ];
              };
            };
            luks = {
              size = "100%";
              content = {
                type = "luks";
                name = "crypted";
                settings = {
                  allowDiscards = true;
                };
                content = {
                  type = "btrfs";
                  extraArgs = [ "-f" ];
                  postCreateHook = ''
                    MNTPOINT=$(mktemp -d)
                    mount "/dev/mapper/crypted" "$MNTPOINT" -o subvol=/
                    trap 'umount $MNTPOINT; rm -rf $MNTPOINT' EXIT
                    btrfs subvolume snapshot -r $MNTPOINT/root $MNTPOINT/root-blank
                    btrfs subvolume snapshot -r $MNTPOINT/home $MNTPOINT/home-blank
                  '';
                  subvolumes = {
                    "/root" = {
                      mountpoint = "/";
                      mountOptions = [
                        "compress=zstd"
                        "noatime"
                      ];
                    };
                    "/home" = {
                      mountpoint = "/home";
                      mountOptions = [
                        "compress=zstd"
                        "noatime"
                      ];
                    };
                    "/nix" = {
                      mountpoint = "/nix";
                      mountOptions = [
                        "compress=zstd"
                        "noatime"
                      ];
                    };
                    "/nix/state" = {
                      mountpoint = "/nix/state";
                      mountOptions = [
                        "compress=zstd"
                        "noatime"
                      ];
                    };
                    "/swap" = {
                      mountpoint = "/.swapvol";
                      swap.swapfile.size = "20M";
                    };
                  };
                };
              };
            };
          };
        };
      };
    };
  };
}


================================================
FILE: configurations/nixos/laptop/facter.json
================================================
{
  "version": 1,
  "system": "x86_64-linux",
  "virtualisation": "none",
  "hardware": {
    "bios": {
      "apm_info": {
        "supported": false,
        "enabled": false,
        "version": 0,
        "sub_version": 0,
        "bios_flags": 0
      },
      "vbe_info": {
        "version": 0,
        "video_memory": 0
      },
      "pnp": false,
      "pnp_id": 0,
      "lba_support": false,
      "low_memory_size": 0,
      "smbios_version": 772
    },
    "bluetooth": [
      {
        "index": 41,
        "attached_to": 40,
        "class_list": [
          "usb",
          "bluetooth"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0115",
          "name": "Bluetooth Device",
          "value": 277
        },
        "vendor": {
          "hex": "8087",
          "value": 32903
        },
        "device": {
          "hex": "0033",
          "value": 51
        },
        "model": "Bluetooth Device",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0",
        "sysfs_bus_id": "3-10:1.0",
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "device_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "interface_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "interface_protocol": 1,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "btusb",
        "driver_module": "btusb",
        "drivers": [
          "btusb"
        ],
        "driver_modules": [
          "btusb"
        ],
        "module_alias": "usb:v8087p0033d0000dcE0dsc01dp01icE0isc01ip01in00"
      },
      {
        "index": 45,
        "attached_to": 40,
        "class_list": [
          "usb",
          "bluetooth"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0115",
          "name": "Bluetooth Device",
          "value": 277
        },
        "vendor": {
          "hex": "8087",
          "value": 32903
        },
        "device": {
          "hex": "0033",
          "value": 51
        },
        "model": "Bluetooth Device",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.1",
        "sysfs_bus_id": "3-10:1.1",
        "resources": [
          {
            "type": "baud",
            "speed": 12000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "device_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "00e0",
            "name": "wireless",
            "value": 224
          },
          "interface_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "interface_protocol": 1,
          "interface_number": 1,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "btusb",
        "driver_module": "btusb",
        "drivers": [
          "btusb"
        ],
        "driver_modules": [
          "btusb"
        ],
        "module_alias": "usb:v8087p0033d0000dcE0dsc01dp01icE0isc01ip01in01"
      }
    ],
    "bridge": [
      {
        "index": 19,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 31
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0001",
          "name": "ISA bridge",
          "value": 1
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "519d",
          "value": 20893
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel ISA bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:1f.0",
        "sysfs_bus_id": "0000:00:1f.0",
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "module_alias": "pci:v00008086d0000519Dsv0000F111sd0000000Cbc06sc01i00"
      },
      {
        "index": 27,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0000",
          "name": "Host bridge",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "a708",
          "value": 42760
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel Host bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:00.0",
        "sysfs_bus_id": "0000:00:00.0",
        "detail": {
          "function": 0,
          "command": 6,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "igen6_edac",
        "driver_module": "igen6_edac",
        "drivers": [
          "igen6_edac"
        ],
        "driver_modules": [
          "igen6_edac"
        ],
        "module_alias": "pci:v00008086d0000A708sv0000F111sd0000000Cbc06sc00i00"
      },
      {
        "index": 29,
        "attached_to": 0,
        "class_list": [
          "pci",
          "bridge"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 6
        },
        "base_class": {
          "hex": "0006",
          "name": "Bridge",
          "value": 6
        },
        "sub_class": {
          "hex": "0004",
          "name": "PCI bridge",
          "value": 4
        },
        "pci_interface": {
          "hex": "0000",
          "name": "Normal decode",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "a74d",
          "value": 42829
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel PCI bridge",
        "sysfs_id": "/devices/pci0000:00/0000:00:06.0",
        "sysfs_bus_id": "0000:00:06.0",
        "detail": {
          "function": 0,
          "command": 1287,
          "header_type": 1,
          "secondary_bus": 1,
          "prog_if": 0
        },
        "driver": "pcieport",
        "driver_module": "pcieportdrv",
        "drivers": [
          "pcieport"
        ],
        "driver_modules": [
          "pcieportdrv"
        ],
        "module_alias": "pci:v00008086d0000A74Dsv0000F111sd0000000Cbc06sc04i00"
      }
    ],
    "camera": [
      {
        "index": 39,
        "attached_to": 40,
        "class_list": [
          "camera",
          "usb"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010f",
          "name": "Camera",
          "value": 271
        },
        "vendor": {
          "hex": "32ac",
          "name": "Framework",
          "value": 12972
        },
        "device": {
          "hex": "001d",
          "name": "Framework Laptop 12 Webcam Module",
          "value": 29
        },
        "revision": {
          "hex": "0000",
          "name": "0.16",
          "value": 0
        },
        "serial": "0001",
        "model": "Framework Laptop 12 Webcam Module",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0",
        "sysfs_bus_id": "3-7:1.0",
        "resources": [
          {
            "type": "baud",
            "speed": 480000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "00ef",
            "name": "miscellaneous",
            "value": 239
          },
          "device_subclass": {
            "hex": "0002",
            "name": "comm",
            "value": 2
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "000e",
            "name": "video",
            "value": 14
          },
          "interface_subclass": {
            "hex": "0001",
            "name": "audio",
            "value": 1
          },
          "interface_protocol": 1,
          "interface_number": 0,
          "interface_alternate_setting": 0,
          "interface_association": {
            "function_class": {
              "hex": "000e",
              "name": "video",
              "value": 14
            },
            "function_subclass": {
              "hex": "0003",
              "name": "hid",
              "value": 3
            },
            "function_protocol": 0,
            "interface_count": 2,
            "first_interface": 0
          }
        },
        "hotplug": "usb",
        "driver": "uvcvideo",
        "driver_module": "uvcvideo",
        "drivers": [
          "uvcvideo"
        ],
        "driver_modules": [
          "uvcvideo"
        ],
        "module_alias": "usb:v32ACp001Dd0016dcEFdsc02dp01ic0Eisc01ip01in00"
      },
      {
        "index": 42,
        "attached_to": 40,
        "class_list": [
          "camera",
          "usb"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010f",
          "name": "Camera",
          "value": 271
        },
        "vendor": {
          "hex": "32ac",
          "name": "Framework",
          "value": 12972
        },
        "device": {
          "hex": "001d",
          "name": "Framework Laptop 12 Webcam Module",
          "value": 29
        },
        "revision": {
          "hex": "0000",
          "name": "0.16",
          "value": 0
        },
        "serial": "0001",
        "model": "Framework Laptop 12 Webcam Module",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.1",
        "sysfs_bus_id": "3-7:1.1",
        "resources": [
          {
            "type": "baud",
            "speed": 480000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "00ef",
            "name": "miscellaneous",
            "value": 239
          },
          "device_subclass": {
            "hex": "0002",
            "name": "comm",
            "value": 2
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "000e",
            "name": "video",
            "value": 14
          },
          "interface_subclass": {
            "hex": "0002",
            "name": "comm",
            "value": 2
          },
          "interface_protocol": 1,
          "interface_number": 1,
          "interface_alternate_setting": 0,
          "interface_association": {
            "function_class": {
              "hex": "000e",
              "name": "video",
              "value": 14
            },
            "function_subclass": {
              "hex": "0003",
              "name": "hid",
              "value": 3
            },
            "function_protocol": 0,
            "interface_count": 2,
            "first_interface": 0
          }
        },
        "hotplug": "usb",
        "driver": "uvcvideo",
        "driver_module": "uvcvideo",
        "drivers": [
          "uvcvideo"
        ],
        "driver_modules": [
          "uvcvideo"
        ],
        "module_alias": "usb:v32ACp001Dd0016dcEFdsc02dp01ic0Eisc02ip01in01"
      }
    ],
    "cpu": [
      {
        "architecture": "x86_64",
        "vendor_name": "GenuineIntel",
        "model_name": "13th Gen Intel(R) Core(TM) i5-1334U",
        "family": 6,
        "model": 186,
        "stepping": 3,
        "features": [
          "fpu",
          "vme",
          "de",
          "pse",
          "tsc",
          "msr",
          "pae",
          "mce",
          "cx8",
          "apic",
          "sep",
          "mtrr",
          "pge",
          "mca",
          "cmov",
          "pat",
          "pse36",
          "clflush",
          "dts",
          "acpi",
          "mmx",
          "fxsr",
          "sse",
          "sse2",
          "ss",
          "ht",
          "tm",
          "pbe",
          "syscall",
          "nx",
          "pdpe1gb",
          "rdtscp",
          "lm",
          "constant_tsc",
          "art",
          "arch_perfmon",
          "pebs",
          "bts",
          "rep_good",
          "nopl",
          "xtopology",
          "nonstop_tsc",
          "cpuid",
          "aperfmperf",
          "tsc_known_freq",
          "pni",
          "pclmulqdq",
          "dtes64",
          "monitor",
          "ds_cpl",
          "vmx",
          "smx",
          "est",
          "tm2",
          "ssse3",
          "sdbg",
          "fma",
          "cx16",
          "xtpr",
          "pdcm",
          "pcid",
          "sse4_1",
          "sse4_2",
          "x2apic",
          "movbe",
          "popcnt",
          "tsc_deadline_timer",
          "aes",
          "xsave",
          "avx",
          "f16c",
          "rdrand",
          "lahf_lm",
          "abm",
          "3dnowprefetch",
          "cpuid_fault",
          "epb",
          "ssbd",
          "ibrs",
          "ibpb",
          "stibp",
          "ibrs_enhanced",
          "tpr_shadow",
          "flexpriority",
          "ept",
          "vpid",
          "ept_ad",
          "fsgsbase",
          "tsc_adjust",
          "bmi1",
          "avx2",
          "smep",
          "bmi2",
          "erms",
          "invpcid",
          "rdseed",
          "adx",
          "smap",
          "clflushopt",
          "clwb",
          "intel_pt",
          "sha_ni",
          "xsaveopt",
          "xsavec",
          "xgetbv1",
          "xsaves",
          "split_lock_detect",
          "user_shstk",
          "avx_vnni",
          "dtherm",
          "ida",
          "arat",
          "pln",
          "pts",
          "hwp",
          "hwp_notify",
          "hwp_act_window",
          "hwp_epp",
          "hwp_pkg_req",
          "hfi",
          "vnmi",
          "umip",
          "pku",
          "ospke",
          "waitpkg",
          "gfni",
          "vaes",
          "vpclmulqdq",
          "rdpid",
          "movdiri",
          "movdir64b",
          "fsrm",
          "md_clear",
          "serialize",
          "arch_lbr",
          "ibt",
          "flush_l1d",
          "arch_capabilities"
        ],
        "bugs": [
          "spectre_v1",
          "spectre_v2",
          "spec_store_bypass",
          "swapgs",
          "eibrs_pbrsb",
          "rfds",
          "bhi"
        ],
        "power_management": [
          ""
        ],
        "bogo": 4992,
        "cache": 12288,
        "units": 64,
        "physical_id": 0,
        "siblings": 12,
        "cores": 10,
        "fpu": false,
        "fpu_exception": false,
        "cpuid_level": 32,
        "write_protect": false,
        "clflush_size": 64,
        "cache_alignment": 64,
        "address_sizes": {
          "physical": "0x27",
          "virtual": "0x30"
        }
      }
    ],
    "disk": [
      {
        "index": 36,
        "attached_to": 23,
        "class_list": [
          "disk",
          "block_device",
          "nvme"
        ],
        "bus_type": {
          "hex": "0096",
          "name": "NVME",
          "value": 150
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0106",
          "name": "Mass Storage Device",
          "value": 262
        },
        "sub_class": {
          "hex": "0000",
          "name": "Disk",
          "value": 0
        },
        "vendor": {
          "hex": "15b7",
          "value": 5559
        },
        "sub_vendor": {
          "hex": "15b7",
          "value": 5559
        },
        "device": {
          "hex": "5042",
          "name": "WD_BLACK SN770M 2TB",
          "value": 20546
        },
        "sub_device": {
          "hex": "5042",
          "value": 20546
        },
        "serial": "2508DD400188",
        "model": "WD_BLACK SN770M 2TB",
        "sysfs_id": "/class/block/nvme0n1",
        "sysfs_bus_id": "nvme0",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:06.0/0000:01:00.0/nvme/nvme0",
        "unix_device_names": [
          "/dev/disk/by-id/nvme-WD_BLACK_SN770M_2TB_2508DD400188",
          "/dev/disk/by-id/nvme-WD_BLACK_SN770M_2TB_2508DD400188_1",
          "/dev/disk/by-id/nvme-eui.e8238fa6bf530001001b444a454c0054",
          "/dev/disk/by-path/pci-0000:01:00.0-nvme-1",
          "/dev/nvme0n1"
        ],
        "resources": [
          {
            "type": "disk_geo",
            "cylinders": 1907729,
            "heads": 64,
            "sectors": 32,
            "size": "0x0",
            "geo_type": "logical"
          },
          {
            "type": "size",
            "unit": "sectors",
            "value_1": 3907029168,
            "value_2": 512
          }
        ],
        "driver": "nvme",
        "driver_module": "nvme",
        "drivers": [
          "nvme"
        ],
        "driver_modules": [
          "nvme"
        ]
      },
      {
        "index": 37,
        "attached_to": 17,
        "class_list": [
          "disk",
          "usb",
          "scsi",
          "block_device"
        ],
        "bus_type": {
          "hex": "0084",
          "name": "SCSI",
          "value": 132
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "0106",
          "name": "Mass Storage Device",
          "value": 262
        },
        "sub_class": {
          "hex": "0000",
          "name": "Disk",
          "value": 0
        },
        "vendor": {
          "hex": "05dc",
          "name": "Lexar",
          "value": 1500
        },
        "device": {
          "hex": "a205",
          "name": "JumpDrive",
          "value": 41477
        },
        "revision": {
          "hex": "0000",
          "name": "1.00",
          "value": 0
        },
        "serial": "2329624371",
        "model": "Lexar JumpDrive",
        "sysfs_id": "/class/block/sda",
        "sysfs_bus_id": "0:0:0:0",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:0d.0/usb2/2-4/2-4:1.0/host0/target0:0:0/0:0:0:0",
        "unix_device_names": [
          "/dev/disk/by-id/usb-Lexar_JumpDrive_2329624371-0:0",
          "/dev/disk/by-path/pci-0000:00:0d.0-usb-0:4:1.0-scsi-0:0:0:0",
          "/dev/disk/by-path/pci-0000:00:0d.0-usbv3-0:4:1.0-scsi-0:0:0:0",
          "/dev/sda"
        ],
        "unix_device_name2": "/dev/sg0",
        "resources": [
          {
            "type": "disk_geo",
            "cylinders": 30540,
            "heads": 64,
            "sectors": 32,
            "size": "0x0",
            "geo_type": "logical"
          },
          {
            "type": "size",
            "unit": "sectors",
            "value_1": 62545920,
            "value_2": 512
          }
        ],
        "driver": "usb-storage",
        "driver_module": "usb_storage",
        "drivers": [
          "sd",
          "usb-storage"
        ],
        "driver_modules": [
          "sd_mod",
          "usb_storage"
        ],
        "module_alias": "usb:v05DCpA205d0A00dc00dsc00dp00ic08isc06ip50in00"
      }
    ],
    "graphics_card": [
      {
        "index": 31,
        "attached_to": 0,
        "class_list": [
          "graphics_card",
          "pci"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 2
        },
        "base_class": {
          "hex": "0003",
          "name": "Display controller",
          "value": 3
        },
        "sub_class": {
          "hex": "0000",
          "name": "VGA compatible controller",
          "value": 0
        },
        "pci_interface": {
          "hex": "0000",
          "name": "VGA",
          "value": 0
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "a721",
          "value": 42785
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0004",
          "value": 4
        },
        "model": "Intel VGA compatible controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:02.0",
        "sysfs_bus_id": "0000:00:02.0",
        "resources": [
          {
            "type": "io",
            "base": 12288,
            "range": 64,
            "enabled": true,
            "access": "read_write"
          }
        ],
        "detail": {
          "function": 0,
          "command": 1031,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "i915",
        "driver_module": "i915",
        "drivers": [
          "i915"
        ],
        "driver_modules": [
          "i915"
        ],
        "module_alias": "pci:v00008086d0000A721sv0000F111sd0000000Cbc03sc00i00"
      }
    ],
    "hub": [
      {
        "index": 40,
        "attached_to": 32,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "1d6b",
          "name": "Linux 6.14.10 xhci-hcd",
          "value": 7531
        },
        "device": {
          "hex": "0002",
          "name": "xHCI Host Controller",
          "value": 2
        },
        "revision": {
          "hex": "0000",
          "name": "6.14",
          "value": 0
        },
        "serial": "0000:00:14.0",
        "model": "Linux 6.14.10 xhci-hcd xHCI Host Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-0:1.0",
        "sysfs_bus_id": "3-0:1.0",
        "resources": [
          {
            "type": "baud",
            "speed": 480000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v1D6Bp0002d0614dc09dsc00dp01ic09isc00ip00in00"
      },
      {
        "index": 43,
        "attached_to": 32,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "1d6b",
          "name": "Linux 6.14.10 xhci-hcd",
          "value": 7531
        },
        "device": {
          "hex": "0003",
          "name": "xHCI Host Controller",
          "value": 3
        },
        "revision": {
          "hex": "0000",
          "name": "6.14",
          "value": 0
        },
        "serial": "0000:00:14.0",
        "model": "Linux 6.14.10 xhci-hcd xHCI Host Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0",
        "sysfs_bus_id": "4-0:1.0",
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 3,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v1D6Bp0003d0614dc09dsc00dp03ic09isc00ip00in00"
      },
      {
        "index": 44,
        "attached_to": 17,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "1d6b",
          "name": "Linux 6.14.10 xhci-hcd",
          "value": 7531
        },
        "device": {
          "hex": "0002",
          "name": "xHCI Host Controller",
          "value": 2
        },
        "revision": {
          "hex": "0000",
          "name": "6.14",
          "value": 0
        },
        "serial": "0000:00:0d.0",
        "model": "Linux 6.14.10 xhci-hcd xHCI Host Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb1/1-0:1.0",
        "sysfs_bus_id": "1-0:1.0",
        "resources": [
          {
            "type": "baud",
            "speed": 480000000,
            "bits": 0,
            "stop_bits": 0,
            "parity": 0,
            "handshake": 0
          }
        ],
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 1,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v1D6Bp0002d0614dc09dsc00dp01ic09isc00ip00in00"
      },
      {
        "index": 47,
        "attached_to": 17,
        "class_list": [
          "usb",
          "hub"
        ],
        "bus_type": {
          "hex": "0086",
          "name": "USB",
          "value": 134
        },
        "slot": {
          "bus": 0,
          "number": 0
        },
        "base_class": {
          "hex": "010a",
          "name": "Hub",
          "value": 266
        },
        "vendor": {
          "hex": "1d6b",
          "name": "Linux 6.14.10 xhci-hcd",
          "value": 7531
        },
        "device": {
          "hex": "0003",
          "name": "xHCI Host Controller",
          "value": 3
        },
        "revision": {
          "hex": "0000",
          "name": "6.14",
          "value": 0
        },
        "serial": "0000:00:0d.0",
        "model": "Linux 6.14.10 xhci-hcd xHCI Host Controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb2/2-0:1.0",
        "sysfs_bus_id": "2-0:1.0",
        "detail": {
          "device_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "device_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "device_protocol": 3,
          "interface_class": {
            "hex": "0009",
            "name": "hub",
            "value": 9
          },
          "interface_subclass": {
            "hex": "0000",
            "name": "per_interface",
            "value": 0
          },
          "interface_protocol": 0,
          "interface_number": 0,
          "interface_alternate_setting": 0
        },
        "hotplug": "usb",
        "driver": "hub",
        "driver_module": "usbcore",
        "drivers": [
          "hub"
        ],
        "driver_modules": [
          "usbcore"
        ],
        "module_alias": "usb:v1D6Bp0003d0614dc09dsc00dp03ic09isc00ip00in00"
      }
    ],
    "memory": [
      {
        "index": 15,
        "attached_to": 0,
        "class_list": [
          "memory"
        ],
        "base_class": {
          "hex": "0101",
          "name": "Internally Used Class",
          "value": 257
        },
        "sub_class": {
          "hex": "0002",
          "name": "Main Memory",
          "value": 2
        },
        "model": "Main Memory",
        "resources": [
          {
            "type": "phys_mem",
            "range": 51539607552
          }
        ]
      }
    ],
    "monitor": [
      {
        "index": 35,
        "attached_to": 31,
        "class_list": [
          "monitor"
        ],
        "base_class": {
          "hex": "0100",
          "name": "Monitor",
          "value": 256
        },
        "sub_class": {
          "hex": "0002",
          "name": "LCD Monitor",
          "value": 2
        },
        "vendor": {
          "hex": "09e5",
          "name": "BOE CQ",
          "value": 2533
        },
        "device": {
          "hex": "0d56",
          "name": "NV122WUM-N42",
          "value": 3414
        },
        "serial": "0",
        "model": "BOE CQ NV122WUM-N42",
        "resources": [
          {
            "type": "monitor",
            "width": 1920,
            "height": 1200,
            "vertical_frequency": 60,
            "interlaced": false
          },
          {
            "type": "size",
            "unit": "mm",
            "value_1": 263,
            "value_2": 164
          }
        ],
        "detail": {
          "manufacture_year": 2024,
          "manufacture_week": 39,
          "vertical_sync": {
            "min": 40,
            "max": 60
          },
          "horizontal_sync": {
            "min": 76,
            "max": 76
          },
          "horizontal_sync_timings": {
            "disp": 1920,
            "sync_start": 1968,
            "sync_end": 2000,
            "total": 2140
          },
          "vertical_sync_timings": {
            "disp": 1200,
            "sync_start": 1203,
            "sync_end": 1209,
            "total": 1260
          },
          "clock": 161790,
          "width": 1920,
          "height": 1200,
          "width_millimetres": 263,
          "height_millimetres": 164,
          "horizontal_flag": 45,
          "vertical_flag": 43,
          "vendor": "BOE CQ",
          "name": "NV122WUM-N42"
        },
        "driver_info": {
          "type": "display",
          "width": 1920,
          "height": 1200,
          "vertical_sync": {
            "min": 40,
            "max": 60
          },
          "horizontal_sync": {
            "min": 76,
            "max": 76
          },
          "bandwidth": 0,
          "horizontal_sync_timings": {
            "disp": 1920,
            "sync_start": 1968,
            "sync_end": 2000,
            "total": 2140
          },
          "vertical_sync_timings": {
            "disp": 1200,
            "sync_start": 1203,
            "sync_end": 1209,
            "total": 1260
          },
          "horizontal_flag": 45,
          "vertical_flag": 43
        }
      }
    ],
    "mouse": [
      {
        "index": 50,
        "attached_to": 0,
        "bus_type": {
          "hex": "0081",
          "name": "serial",
          "value": 129
        },
        "base_class": {
          "hex": "0118",
          "name": "touchpad",
          "value": 280
        },
        "sub_class": {
          "hex": "0001",
          "name": "bus",
          "value": 1
        },
        "vendor": {
          "hex": "093a",
          "value": 2362
        },
        "device": {
          "hex": "0239",
          "value": 569
        },
        "sysfs_id": "/devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-PIXA3854:00/0018:093A:0239.0002/input/input13",
        "unix_device_names": [
          "/dev/input/event5",
          "/dev/input/ + handler"
        ]
      }
    ],
    "network_controller": [
      {
        "index": 21,
        "attached_to": 0,
        "class_list": [
          "network_controller",
          "pci",
          "wlan_card"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 20
        },
        "base_class": {
          "hex": "0002",
          "name": "Network controller",
          "value": 2
        },
        "sub_class": {
          "hex": "0082",
          "name": "WLAN controller",
          "value": 130
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "device": {
          "hex": "51f1",
          "value": 20977
        },
        "sub_device": {
          "hex": "0094",
          "value": 148
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel WLAN controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:14.3",
        "sysfs_bus_id": "0000:00:14.3",
        "unix_device_names": [
          "wlan0"
        ],
        "resources": [
          {
            "type": "hwaddr",
            "address": 52
          },
          {
            "type": "phwaddr",
            "address": 52
          },
          {
            "type": "wlan",
            "channels": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "36",
              "40",
              "44",
              "48",
              "52",
              "56",
              "60",
              "64",
              "100",
              "104",
              "108",
              "112",
              "116",
              "120",
              "124",
              "128",
              "132",
              "136",
              "140"
            ],
            "frequencies": [
              "2.412",
              "2.417",
              "2.422",
              "2.427",
              "2.432",
              "2.437",
              "2.442",
              "2.447",
              "2.452",
              "2.457",
              "2.462",
              "2.467",
              "2.472",
              "5.18",
              "5.2",
              "5.22",
              "5.24",
              "5.26",
              "5.28",
              "5.3",
              "5.32",
              "5.5",
              "5.52",
              "5.54",
              "5.56",
              "5.58",
              "5.6",
              "5.62",
              "5.64",
              "5.66",
              "5.68",
              "5.7"
            ],
            "auth_modes": [
              "open",
              "sharedkey",
              "wpa-psk",
              "wpa-eap"
            ],
            "enc_modes": [
              "WEP40",
              "WEP104",
              "TKIP",
              "CCMP"
            ]
          }
        ],
        "detail": {
          "function": 3,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "iwlwifi",
        "driver_module": "iwlwifi",
        "drivers": [
          "iwlwifi"
        ],
        "driver_modules": [
          "iwlwifi"
        ],
        "module_alias": "pci:v00008086d000051F1sv00008086sd00000094bc02sc80i00"
      }
    ],
    "network_interface": [
      {
        "index": 48,
        "attached_to": 0,
        "class_list": [
          "network_interface"
        ],
        "base_class": {
          "hex": "0107",
          "name": "Network Interface",
          "value": 263
        },
        "sub_class": {
          "hex": "0000",
          "name": "Loopback",
          "value": 0
        },
        "model": "Loopback network interface",
        "sysfs_id": "/class/net/lo",
        "unix_device_names": [
          "lo"
        ]
      },
      {
        "index": 49,
        "attached_to": 21,
        "class_list": [
          "network_interface"
        ],
        "base_class": {
          "hex": "0107",
          "name": "Network Interface",
          "value": 263
        },
        "sub_class": {
          "hex": "000a",
          "name": "WLAN",
          "value": 10
        },
        "model": "WLAN network interface",
        "sysfs_id": "/class/net/wlan0",
        "sysfs_device_link": "/devices/pci0000:00/0000:00:14.3",
        "unix_device_names": [
          "wlan0"
        ],
        "resources": [
          {
            "type": "hwaddr",
            "address": 52
          },
          {
            "type": "phwaddr",
            "address": 52
          }
        ],
        "driver": "iwlwifi",
        "driver_module": "iwlwifi",
        "drivers": [
          "iwlwifi"
        ],
        "driver_modules": [
          "iwlwifi"
        ]
      }
    ],
    "pci": [
      {
        "index": 16,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 8
        },
        "base_class": {
          "hex": "0008",
          "name": "Generic system peripheral",
          "value": 8
        },
        "sub_class": {
          "hex": "0080",
          "name": "System peripheral",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "a74f",
          "value": 42831
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel System peripheral",
        "sysfs_id": "/devices/pci0000:00/0000:00:08.0",
        "sysfs_bus_id": "0000:00:08.0",
        "detail": {
          "function": 0,
          "command": 6,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "module_alias": "pci:v00008086d0000A74Fsv0000F111sd0000000Cbc08sc80i00"
      },
      {
        "index": 18,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 21
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0080",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "51e9",
          "value": 20969
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel Serial bus controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:15.1",
        "sysfs_bus_id": "0000:00:15.1",
        "detail": {
          "function": 1,
          "command": 6,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "intel-lpss",
        "driver_module": "intel_lpss_pci",
        "drivers": [
          "intel-lpss"
        ],
        "driver_modules": [
          "intel_lpss_pci"
        ],
        "module_alias": "pci:v00008086d000051E9sv0000F111sd0000000Cbc0Csc80i00"
      },
      {
        "index": 20,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 4
        },
        "base_class": {
          "hex": "0011",
          "name": "Signal processing controller",
          "value": 17
        },
        "sub_class": {
          "hex": "0080",
          "name": "Signal processing controller",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "a71d",
          "value": 42781
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel Signal processing controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:04.0",
        "sysfs_bus_id": "0000:00:04.0",
        "detail": {
          "function": 0,
          "command": 6,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "proc_thermal_pci",
        "driver_module": "processor_thermal_device_pci",
        "drivers": [
          "proc_thermal_pci"
        ],
        "driver_modules": [
          "processor_thermal_device_pci"
        ],
        "module_alias": "pci:v00008086d0000A71Dsv0000F111sd0000000Cbc11sc80i00"
      },
      {
        "index": 22,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 22
        },
        "base_class": {
          "hex": "0007",
          "name": "Communication controller",
          "value": 7
        },
        "sub_class": {
          "hex": "0080",
          "name": "Communication controller",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "51e0",
          "value": 20960
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel Communication controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:16.0",
        "sysfs_bus_id": "0000:00:16.0",
        "detail": {
          "function": 0,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "mei_me",
        "driver_module": "mei_me",
        "drivers": [
          "mei_me"
        ],
        "driver_modules": [
          "mei_me"
        ],
        "module_alias": "pci:v00008086d000051E0sv0000F111sd0000000Cbc07sc80i00"
      },
      {
        "index": 24,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 31
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0080",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "51a4",
          "value": 20900
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel Serial bus controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:1f.5",
        "sysfs_bus_id": "0000:00:1f.5",
        "detail": {
          "function": 5,
          "command": 1030,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "intel-spi",
        "driver_module": "spi_intel_pci",
        "drivers": [
          "intel-spi"
        ],
        "driver_modules": [
          "spi_intel_pci"
        ],
        "module_alias": "pci:v00008086d000051A4sv0000F111sd0000000Cbc0Csc80i00"
      },
      {
        "index": 25,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 25
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0080",
          "value": 128
        },
        "vendor": {
          "hex": "8086",
          "name": "Intel Corporation",
          "value": 32902
        },
        "sub_vendor": {
          "hex": "f111",
          "value": 61713
        },
        "device": {
          "hex": "51c5",
          "value": 20933
        },
        "sub_device": {
          "hex": "000c",
          "value": 12
        },
        "revision": {
          "hex": "0001",
          "value": 1
        },
        "model": "Intel Serial bus controller",
        "sysfs_id": "/devices/pci0000:00/0000:00:19.0",
        "sysfs_bus_id": "0000:00:19.0",
        "detail": {
          "function": 0,
          "command": 6,
          "header_type": 0,
          "secondary_bus": 0,
          "prog_if": 0
        },
        "driver": "intel-lpss",
        "driver_module": "intel_lpss_pci",
        "drivers": [
          "intel-lpss"
        ],
        "driver_modules": [
          "intel_lpss_pci"
        ],
        "module_alias": "pci:v00008086d000051C5sv0000F111sd0000000Cbc0Csc80i00"
      },
      {
        "index": 28,
        "attached_to": 0,
        "class_list": [
          "pci",
          "unknown"
        ],
        "bus_type": {
          "hex": "0004",
          "name": "PCI",
          "value": 4
        },
        "slot": {
          "bus": 0,
          "number": 21
        },
        "base_class": {
          "hex": "000c",
          "name": "Serial bus controller",
          "value": 12
        },
        "sub_class": {
          "hex": "0080",
          "value": 128
        },
        "vendor": {
          "hex": 
Download .txt
gitextract_vecdwbat/

├── .envrc
├── .gitattributes
├── .github/
│   ├── actionlint.yaml
│   ├── renovate.json
│   ├── workflows/
│   │   ├── ci.yaml
│   │   └── regenerate-workflows.yaml
│   └── zizmor.yml
├── .gitignore
├── .justfile
├── LICENSE
├── README.md
├── configurations/
│   └── nixos/
│       ├── desktop/
│       │   ├── default.nix
│       │   └── facter.json
│       ├── laptop/
│       │   ├── default.nix
│       │   ├── disko.nix
│       │   └── facter.json
│       └── work/
│           ├── default.nix
│           └── facter.json
├── default.nix
├── flake.nix
├── modules/
│   ├── flake-parts/
│   │   ├── actions.nix
│   │   ├── agenix-rekey.nix
│   │   ├── configurations.nix
│   │   ├── default.nix
│   │   ├── dev-shell.nix
│   │   ├── modules.nix
│   │   ├── overlays.nix
│   │   ├── packages.nix
│   │   ├── pre-commit.nix
│   │   └── treefmt.nix
│   ├── home/
│   │   ├── asciinema.nix
│   │   ├── bash.nix
│   │   ├── btop.nix
│   │   ├── default.nix
│   │   ├── delta.nix
│   │   ├── dev/
│   │   │   └── default.nix
│   │   ├── emacs/
│   │   │   ├── android.nix
│   │   │   ├── consult.nix
│   │   │   ├── default.nix
│   │   │   ├── denote.nix
│   │   │   ├── go.nix
│   │   │   ├── latex.nix
│   │   │   ├── org-mode.nix
│   │   │   ├── rust.nix
│   │   │   ├── tree-sitter.nix
│   │   │   └── typescript.nix
│   │   ├── fish.nix
│   │   ├── git.nix
│   │   ├── graphical/
│   │   │   ├── chromium.nix
│   │   │   ├── default.nix
│   │   │   ├── firefox.nix
│   │   │   ├── heroic.nix
│   │   │   ├── keepassxc.nix
│   │   │   ├── linux.nix
│   │   │   ├── lutris.nix
│   │   │   ├── mime.nix
│   │   │   ├── mpv.nix
│   │   │   ├── psd.nix
│   │   │   ├── vicinae.nix
│   │   │   └── zed-editor.nix
│   │   ├── htop.nix
│   │   ├── jjui.nix
│   │   ├── jujutsu.nix
│   │   ├── music.nix
│   │   ├── radicle.nix
│   │   ├── ssh.nix
│   │   ├── standalone.nix
│   │   ├── starship.nix
│   │   ├── syncthing.nix
│   │   ├── television.nix
│   │   ├── terminfo-hack.nix
│   │   ├── tkey-ssh-agent.nix
│   │   ├── tmux.nix
│   │   ├── trusted/
│   │   │   ├── default.nix
│   │   │   └── gpg.nix
│   │   ├── xdg.nix
│   │   └── zsh.nix
│   ├── nixos/
│   │   ├── agenix-rekey.nix
│   │   ├── core.nix
│   │   ├── default.nix
│   │   ├── graphical/
│   │   │   ├── cosmic.nix
│   │   │   ├── default.nix
│   │   │   ├── fonts.nix
│   │   │   ├── steam.nix
│   │   │   └── trusted.nix
│   │   ├── hardware/
│   │   │   ├── bluetooth.nix
│   │   │   ├── efi.nix
│   │   │   ├── fast-networking.nix
│   │   │   ├── no-mitigations.nix
│   │   │   ├── nonsecureboot.nix
│   │   │   ├── nvidia.nix
│   │   │   ├── printer.nix
│   │   │   ├── secureboot.nix
│   │   │   ├── sound.nix
│   │   │   ├── vial.nix
│   │   │   └── yubikey.nix
│   │   ├── pam-limits.nix
│   │   ├── printing.nix
│   │   ├── resolved.nix
│   │   ├── services/
│   │   │   ├── blocky.nix
│   │   │   ├── github-runner.nix
│   │   │   ├── grafana.nix
│   │   │   ├── jellyfin.nix
│   │   │   ├── mysql.nix
│   │   │   ├── nginx.nix
│   │   │   ├── oauth2.nix
│   │   │   ├── peerix.nix
│   │   │   ├── podman.nix
│   │   │   ├── postgresql.nix
│   │   │   ├── prometheus.nix
│   │   │   ├── syncthing.nix
│   │   │   ├── unbound.nix
│   │   │   ├── veilid.nix
│   │   │   ├── virt-manager.nix
│   │   │   └── wivrn.nix
│   │   ├── tailscale-address.nix
│   │   ├── tmux.nix
│   │   └── users/
│   │       └── bbigras.nix
│   └── shared/
│       ├── aspell.nix
│       ├── common.nix
│       ├── nix.nix
│       └── nixpkgs.nix
├── overlays/
│   ├── nix-latest.nix
│   ├── nom-latest.nix
│   ├── scripts/
│   │   ├── ccinit.sh
│   │   ├── checkart.sh
│   │   ├── default.nix
│   │   ├── drunmenu-wayland.sh
│   │   ├── drunmenu-x11.sh
│   │   ├── emojimenu-wayland.sh
│   │   ├── emojimenu-x11.sh
│   │   ├── fixart.sh
│   │   ├── nix-closure-size.sh
│   │   ├── screenshot.sh
│   │   └── spawn.sh
│   ├── transmission-unstable.nix
│   └── truecolor-check.nix
└── secrets/
    ├── bbigras-password.age
    └── rekeyed/
        ├── bbigras-work/
        │   └── 3cc4c109592072ab107706732a15ed98-bbigrasPassword.age
        ├── desktop/
        │   └── 69fc21a1ca0ccfd1e8a2e64caeff5ff4-bbigrasPassword.age
        └── laptop/
            └── 358bfc03128d18174ab84822482bf279-bbigrasPassword.age
Condensed preview — 141 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (588K chars).
[
  {
    "path": ".envrc",
    "chars": 279,
    "preview": "# shellcheck disable=all\n\nwatch_file ./modules/flake-parts/actions.nix\nwatch_file ./modules/flake-parts/dev-shell.nix\nwa"
  },
  {
    "path": ".gitattributes",
    "chars": 110,
    "preview": "*.age filter=age diff=age\n*.png filter=lfs diff=lfs merge=lfs -text\n*.jpg filter=lfs diff=lfs merge=lfs -text\n"
  },
  {
    "path": ".github/actionlint.yaml",
    "chars": 782,
    "preview": "self-hosted-runner:\n  # Labels of self-hosted runner in array of strings.\n  labels: []\n\n# Configuration variables in arr"
  },
  {
    "path": ".github/renovate.json",
    "chars": 1708,
    "preview": "{\n  \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n  \"extends\": [\n    \"config:recommended\"\n  ],\n  \"gitI"
  },
  {
    "path": ".github/workflows/ci.yaml",
    "chars": 3693,
    "preview": "# This file was autogenerated by actions.nix. Do not edit it manually.\n# To make changes, edit the workflow definition i"
  },
  {
    "path": ".github/workflows/regenerate-workflows.yaml",
    "chars": 2096,
    "preview": "# This file was autogenerated by actions.nix. Do not edit it manually.\n# To make changes, edit the workflow definition i"
  },
  {
    "path": ".github/zizmor.yml",
    "chars": 395,
    "preview": "# zizmor configuration - suppress intentional security warnings\nrules:\n  # regenerate-workflows needs credentials to pus"
  },
  {
    "path": ".gitignore",
    "chars": 82,
    "preview": "*~\n,*\n.*.swp\n.*.swo\nresult\nresult-*\n\n.DS_Store\n\n.direnv\n\n/.pre-commit-config.yaml\n"
  },
  {
    "path": ".justfile",
    "chars": 628,
    "preview": "build HOST:\n  nix build .#nixosConfigurations.{{HOST}}.config.system.build.toplevel --log-format internal-json -v |& nom"
  },
  {
    "path": "LICENSE",
    "chars": 1520,
    "preview": "BSD 3-Clause License\n\nCopyright (c) 2020, Bruno Bigras\nAll rights reserved.\n\nRedistribution and use in source and binary"
  },
  {
    "path": "README.md",
    "chars": 1544,
    "preview": "# nix-config [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) [![ci](https://github.com"
  },
  {
    "path": "configurations/nixos/desktop/default.nix",
    "chars": 3714,
    "preview": "# NixOS configuration for desktop\n{\n  flake,\n  pkgs,\n  lib,\n  ...\n}:\nlet\n  inherit (flake) inputs self;\nin\n{\n  imports ="
  },
  {
    "path": "configurations/nixos/desktop/facter.json",
    "chars": 123837,
    "preview": "{\n  \"version\": 1,\n  \"system\": \"x86_64-linux\",\n  \"virtualisation\": \"none\",\n  \"hardware\": {\n    \"bios\": {\n      \"apm_info\""
  },
  {
    "path": "configurations/nixos/laptop/default.nix",
    "chars": 3911,
    "preview": "# NixOS configuration for laptop\n{\n  flake,\n  pkgs,\n  lib,\n  ...\n}:\nlet\n  inherit (flake) inputs self;\nin\n{\n  imports = "
  },
  {
    "path": "configurations/nixos/laptop/disko.nix",
    "chars": 2775,
    "preview": "{\n  fileSystems = {\n    \"/nix/state\".neededForBoot = true;\n    \"/nix\".neededForBoot = true;\n    \"/home\".neededForBoot = "
  },
  {
    "path": "configurations/nixos/laptop/facter.json",
    "chars": 81644,
    "preview": "{\n  \"version\": 1,\n  \"system\": \"x86_64-linux\",\n  \"virtualisation\": \"none\",\n  \"hardware\": {\n    \"bios\": {\n      \"apm_info\""
  },
  {
    "path": "configurations/nixos/work/default.nix",
    "chars": 1607,
    "preview": "# NixOS configuration for work\n{\n  flake,\n  pkgs,\n  ...\n}:\nlet\n  inherit (flake) self;\nin\n{\n  imports = [\n    # Internal"
  },
  {
    "path": "configurations/nixos/work/facter.json",
    "chars": 77686,
    "preview": "{\n  \"version\": 1,\n  \"system\": \"x86_64-linux\",\n  \"virtualisation\": \"none\",\n  \"hardware\": {\n    \"bios\": {\n      \"apm_info\""
  },
  {
    "path": "default.nix",
    "chars": 321,
    "preview": "(import\n  (\n    let\n      lock = builtins.fromJSON (builtins.readFile ./flake.lock);\n    in\n    fetchTarball {\n      url"
  },
  {
    "path": "flake.nix",
    "chars": 4411,
    "preview": "{\n  description = \"bbigras's NixOS config\";\n\n  nixConfig = rec {\n    extra-substituters = [\n      \"https://bbigras-nix-c"
  },
  {
    "path": "modules/flake-parts/actions.nix",
    "chars": 7760,
    "preview": "# CI workflow definition using actions.nix\n{\n  inputs,\n  self,\n  lib,\n  ...\n}:\nlet\n  # Platform mappings: Nix system -> "
  },
  {
    "path": "modules/flake-parts/agenix-rekey.nix",
    "chars": 264,
    "preview": "# agenix-rekey flake-parts integration\n{ inputs, self, ... }:\n{\n  imports = [ inputs.agenix-rekey.flakeModule ];\n\n  perS"
  },
  {
    "path": "modules/flake-parts/configurations.nix",
    "chars": 690,
    "preview": "# Configuration wiring using nixos-unified helpers\n# Uses mkLinuxSystem/mkMacosSystem/mkHomeConfiguration for standardiz"
  },
  {
    "path": "modules/flake-parts/default.nix",
    "chars": 533,
    "preview": "# Flake-parts module aggregator\n# Note: These must be path imports because self.flakeModules isn't available\n# during fl"
  },
  {
    "path": "modules/flake-parts/dev-shell.nix",
    "chars": 954,
    "preview": "{ inputs, ... }:\n{\n  imports = [\n    inputs.git-hooks.flakeModule\n    inputs.treefmt-nix.flakeModule\n  ];\n\n  perSystem ="
  },
  {
    "path": "modules/flake-parts/modules.nix",
    "chars": 3111,
    "preview": "# Auto-discovered module exports\n# Modules are discovered recursively from modules/{nixos,darwin,home,shared,flake-parts"
  },
  {
    "path": "modules/flake-parts/overlays.nix",
    "chars": 2421,
    "preview": "# Overlay configuration\n{ inputs, ... }:\nlet\n  inherit (inputs.nixpkgs) lib;\n\n  localOverlays = lib.mapAttrs' (\n    f: _"
  },
  {
    "path": "modules/flake-parts/packages.nix",
    "chars": 1638,
    "preview": "# Package definitions - exports host configurations for CI builds\n# Merges with nixos-unified's packages (activate, upda"
  },
  {
    "path": "modules/flake-parts/pre-commit.nix",
    "chars": 606,
    "preview": "# Pre-commit hooks configuration\n{\n  perSystem.pre-commit = {\n    check.enable = true;\n    settings.hooks = {\n      # ac"
  },
  {
    "path": "modules/flake-parts/treefmt.nix",
    "chars": 290,
    "preview": "# Treefmt configuration for code formatting\n{\n  perSystem.treefmt = {\n    projectRootFile = \"flake.nix\";\n    flakeCheck "
  },
  {
    "path": "modules/home/asciinema.nix",
    "chars": 654,
    "preview": "{\n  programs.asciinema = {\n    enable = true;\n    settings = {\n      notifications = {\n        command = \"tmux display-m"
  },
  {
    "path": "modules/home/bash.nix",
    "chars": 549,
    "preview": "{ config, ... }:\n{\n  programs.bash = {\n    enable = true;\n    historyControl = [\n      \"erasedups\"\n      \"ignorespace\"\n "
  },
  {
    "path": "modules/home/btop.nix",
    "chars": 8389,
    "preview": "{\n  programs.btop = {\n    enable = true;\n    settings = {\n      # If the theme set background should be shown, set to fa"
  },
  {
    "path": "modules/home/default.nix",
    "chars": 8664,
    "preview": "# Shared home-manager configuration for all platforms\n# External modules (impermanence, nix-index-database, nixvim, styl"
  },
  {
    "path": "modules/home/delta.nix",
    "chars": 654,
    "preview": "{\n  programs = {\n    delta = {\n      enable = true;\n      enableGitIntegration = true;\n      enableJujutsuIntegration = "
  },
  {
    "path": "modules/home/dev/default.nix",
    "chars": 859,
    "preview": "{ lib, pkgs, ... }:\n{\n  home = {\n    extraOutputsToInstall = [\n      \"doc\"\n      \"devdoc\"\n    ];\n    file.gdbinit = {\n  "
  },
  {
    "path": "modules/home/emacs/android.nix",
    "chars": 464,
    "preview": "{\n  programs.emacs = {\n    init = {\n      usePackage = {\n        kotlin-ts-mode = {\n          enable = true;\n          d"
  },
  {
    "path": "modules/home/emacs/consult.nix",
    "chars": 8559,
    "preview": "{\n  programs.emacs = {\n    init = {\n      usePackage = {\n        consult = {\n          enable = true;\n          after = "
  },
  {
    "path": "modules/home/emacs/default.nix",
    "chars": 59150,
    "preview": "{\n  pkgs,\n  lib,\n  config,\n  osConfig,\n  flake,\n  ...\n}:\n\nlet\n  inherit (flake) inputs;\n  inherit (inputs) minimal-emacs"
  },
  {
    "path": "modules/home/emacs/denote.nix",
    "chars": 2986,
    "preview": "{\n  programs.emacs.init = {\n    usePackage = {\n      denote = {\n        enable = true;\n        bind = {\n          \"C-c n"
  },
  {
    "path": "modules/home/emacs/go.nix",
    "chars": 213,
    "preview": "{\n  programs.emacs = {\n    init = {\n      usePackage = {\n        go-ts-mode = {\n          enable = true;\n          hook "
  },
  {
    "path": "modules/home/emacs/latex.nix",
    "chars": 306,
    "preview": "{ pkgs, ... }:\n\nlet\n  myLatex =\n    with pkgs;\n    (texlive.combine {\n      inherit (texlive)\n        scheme-small\n     "
  },
  {
    "path": "modules/home/emacs/org-mode.nix",
    "chars": 23429,
    "preview": "{ pkgs, ... }:\n\n{\n  programs.emacs = {\n    init = {\n      prelude = ''\n        (setq org-directory \"~/dev/org-mode\")\n   "
  },
  {
    "path": "modules/home/emacs/rust.nix",
    "chars": 536,
    "preview": "{\n  programs.emacs = {\n    init = {\n      usePackage = {\n        cargo-mode = {\n          enable = true;\n          hook "
  },
  {
    "path": "modules/home/emacs/tree-sitter.nix",
    "chars": 1782,
    "preview": "{ pkgs, ... }:\n\nlet\n  grammarsLibPath = pkgs.emacsPackages.treesit-grammars.with-grammars (\n    p: with p; [\n      tree-"
  },
  {
    "path": "modules/home/emacs/typescript.nix",
    "chars": 986,
    "preview": "{\n  programs.emacs = {\n    init = {\n      usePackage = {\n        eglot = {\n          hook = [\n            \"(typescript-t"
  },
  {
    "path": "modules/home/fish.nix",
    "chars": 470,
    "preview": "{ lib, pkgs, ... }:\n{\n  programs.fish = {\n    enable = true;\n    interactiveShellInit = lib.mkMerge [\n      (lib.mkBefor"
  },
  {
    "path": "modules/home/git.nix",
    "chars": 1987,
    "preview": "{ pkgs, ... }:\n\n{\n  programs = {\n    delta = {\n      enable = true;\n      enableGitIntegration = true;\n      options = {"
  },
  {
    "path": "modules/home/graphical/chromium.nix",
    "chars": 52,
    "preview": "{\n  programs.chromium = {\n    enable = true;\n  };\n}\n"
  },
  {
    "path": "modules/home/graphical/default.nix",
    "chars": 1287,
    "preview": "{\n  flake,\n  lib,\n  pkgs,\n  ...\n}:\nlet\n  inherit (flake) self;\n  inherit (pkgs.stdenv) isDarwin isLinux;\nin\n{\n  imports "
  },
  {
    "path": "modules/home/graphical/firefox.nix",
    "chars": 852,
    "preview": "{ lib, pkgs, ... }:\n{\n  programs.firefox = {\n    enable = true;\n    package =\n      let\n        ff =\n          if lib.me"
  },
  {
    "path": "modules/home/graphical/heroic.nix",
    "chars": 219,
    "preview": "{ pkgs, ... }:\n\n{\n  home.packages = with pkgs; [\n    (heroic.override {\n      extraPkgs = pkgs: [\n        pkgs.gamescope"
  },
  {
    "path": "modules/home/graphical/keepassxc.nix",
    "chars": 619,
    "preview": "{\n  programs.keepassxc = {\n    enable = true;\n    settings = {\n      Browser.Enabled = true;\n      # Browser.UpdateBinar"
  },
  {
    "path": "modules/home/graphical/linux.nix",
    "chars": 1133,
    "preview": "{\n  flake,\n  lib,\n  pkgs,\n  ...\n}:\nlet\n  inherit (flake) self;\nin\n{\n  imports = with self.homeModules; [\n    graphical-c"
  },
  {
    "path": "modules/home/graphical/lutris.nix",
    "chars": 430,
    "preview": "{ pkgs, osConfig, ... }:\n\n{\n  programs.lutris = {\n    enable = false;\n    defaultWinePackage = pkgs.proton-ge-bin;\n    e"
  },
  {
    "path": "modules/home/graphical/mime.nix",
    "chars": 2029,
    "preview": "let\n  documentDefaults = {\n    \"application/vnd.comicbook-rar\" = \"org.gnome.Evince.desktop\";\n    \"application/vnd.comicb"
  },
  {
    "path": "modules/home/graphical/mpv.nix",
    "chars": 2521,
    "preview": "{\n  programs.mpv.enable = true;\n\n  xdg.configFile.\"mpv/mpv.conf\".text = ''\n    vo=gpu\n    hwdec=auto\n    profile=gpu-hq\n"
  },
  {
    "path": "modules/home/graphical/psd.nix",
    "chars": 110,
    "preview": "{\n  services = {\n    psd = {\n      enable = true;\n      browsers = [\n        \"firefox\"\n      ];\n    };\n  };\n}\n"
  },
  {
    "path": "modules/home/graphical/vicinae.nix",
    "chars": 333,
    "preview": "{\n  programs.vicinae = {\n    enable = true;\n    systemd.enable = true;\n\n    # https://docs.vicinae.com/quickstart/cosmic"
  },
  {
    "path": "modules/home/graphical/zed-editor.nix",
    "chars": 1158,
    "preview": "{\n  lib,\n  pkgs,\n  ...\n}:\n{\n  home.packages = with pkgs; [\n    nil\n    nixd\n  ];\n\n  programs.zed-editor = {\n    enable ="
  },
  {
    "path": "modules/home/htop.nix",
    "chars": 579,
    "preview": "{ config, ... }:\n{\n  programs.htop = {\n    enable = true;\n    settings = {\n      delay = 10;\n      show_program_path = f"
  },
  {
    "path": "modules/home/jjui.nix",
    "chars": 48,
    "preview": "{\n  programs.jjui = {\n    enable = true;\n  };\n}\n"
  },
  {
    "path": "modules/home/jujutsu.nix",
    "chars": 511,
    "preview": "{ pkgs, ... }:\n\n{\n  home = {\n    packages = with pkgs; [\n      kdiff3\n      meld\n      # watchman\n    ];\n  };\n\n  # envir"
  },
  {
    "path": "modules/home/music.nix",
    "chars": 103,
    "preview": "{ pkgs, ... }:\n{\n  home.packages = with pkgs; [\n    beets\n    checkart\n    fixart\n    mediainfo\n  ];\n}\n"
  },
  {
    "path": "modules/home/radicle.nix",
    "chars": 345,
    "preview": "{ pkgs, ... }:\n\n{\n  home = {\n    packages = with pkgs; [\n      radicle-tui\n    ];\n  };\n\n  programs = {\n    radicle = {\n "
  },
  {
    "path": "modules/home/ssh.nix",
    "chars": 638,
    "preview": "{\n  home.file.\".ssh/config\".text = ''\n    Include ~/.ssh/config.host\n\n    Host *\n      CanonicalizeHostname yes\n      Pe"
  },
  {
    "path": "modules/home/standalone.nix",
    "chars": 954,
    "preview": "# Shared configuration for standalone home-manager hosts\n# This module is imported by configurations/home/*/default.nix\n"
  },
  {
    "path": "modules/home/starship.nix",
    "chars": 430,
    "preview": "{ lib, pkgs, ... }:\n{\n  programs.starship = {\n    enable = true;\n    settings = {\n      custom = {\n        jj = {\n      "
  },
  {
    "path": "modules/home/syncthing.nix",
    "chars": 422,
    "preview": "{\n  # networking = {\n  #   firewall = {\n  #     allowedUDPPorts = [\n  #       22000 # syncthing\n  #       21027 # syncth"
  },
  {
    "path": "modules/home/television.nix",
    "chars": 4796,
    "preview": "{ config, lib, ... }:\n{\n  programs = {\n    nix-search-tv = {\n      enable = true;\n      enableTelevisionIntegration = fa"
  },
  {
    "path": "modules/home/terminfo-hack.nix",
    "chars": 208,
    "preview": "{ pkgs, ... }:\n{\n  home.file.\".terminfo\".source = pkgs.symlinkJoin {\n    name = \"terminfo-dirs\";\n    paths = with pkgs; "
  },
  {
    "path": "modules/home/tkey-ssh-agent.nix",
    "chars": 564,
    "preview": "{ pkgs, ... }:\n\n{\n  home.sessionVariablesExtra = ''\n    if [ -z \"$SSH_AUTH_SOCK\" ]; then\n      export SSH_AUTH_SOCK=$XDG"
  },
  {
    "path": "modules/home/tmux.nix",
    "chars": 2893,
    "preview": "{ pkgs, ... }:\n{\n  programs.tmux = {\n    enable = true;\n    sensibleOnTop = true;\n    aggressiveResize = true;\n    clock"
  },
  {
    "path": "modules/home/trusted/default.nix",
    "chars": 340,
    "preview": "{ flake, ... }:\n{\n  imports = with flake.self.homeModules; [ trusted-gpg ];\n\n  # programs.git.settings = {\n  #   commit."
  },
  {
    "path": "modules/home/trusted/gpg.nix",
    "chars": 2137,
    "preview": "{\n  config,\n  lib,\n  pkgs,\n  ...\n}:\n{\n  services.gpg-agent = lib.mkIf pkgs.stdenv.isLinux {\n    enable = true;\n    enabl"
  },
  {
    "path": "modules/home/xdg.nix",
    "chars": 435,
    "preview": "{ pkgs, ... }:\n{\n  xdg = {\n    enable = true;\n    mimeApps.enable = pkgs.stdenv.isLinux;\n    userDirs = {\n      enable ="
  },
  {
    "path": "modules/home/zsh.nix",
    "chars": 2941,
    "preview": "{\n  config,\n  lib,\n  pkgs,\n  ...\n}:\n{\n  programs.zsh = {\n    enable = true;\n    enableCompletion = true;\n    enableVteIn"
  },
  {
    "path": "modules/nixos/agenix-rekey.nix",
    "chars": 679,
    "preview": "# agenix-rekey configuration for automatic secret rekeying\n{\n  config,\n  flake,\n  lib,\n  ...\n}:\nlet\n  inherit (flake) in"
  },
  {
    "path": "modules/nixos/core.nix",
    "chars": 1662,
    "preview": "{\n  config,\n  flake,\n  lib,\n  pkgs,\n  ...\n}:\nlet\n  inherit (flake) self;\nin\n{\n  imports = with self.nixosModules; [\n    "
  },
  {
    "path": "modules/nixos/default.nix",
    "chars": 1396,
    "preview": "# NixOS modules aggregator\n# This is the main entry point for NixOS configurations\n{ flake, pkgs, ... }:\nlet\n  inherit ("
  },
  {
    "path": "modules/nixos/graphical/cosmic.nix",
    "chars": 456,
    "preview": "{ pkgs, ... }:\n\n{\n  environment = {\n    cosmic.excludePackages = with pkgs; [\n      cosmic-edit\n      cosmic-ext-calcula"
  },
  {
    "path": "modules/nixos/graphical/default.nix",
    "chars": 645,
    "preview": "{\n  # silent boot for plymouth\n  boot = {\n    consoleLogLevel = 0;\n    kernelParams = [\n      \"quiet\"\n      \"udev.log_le"
  },
  {
    "path": "modules/nixos/graphical/fonts.nix",
    "chars": 230,
    "preview": "{\n  pkgs,\n  ...\n}:\n{\n  fonts = {\n    packages = with pkgs; [\n      dejavu_fonts\n      noto-fonts\n      noto-fonts-cjk-sa"
  },
  {
    "path": "modules/nixos/graphical/steam.nix",
    "chars": 316,
    "preview": "{ pkgs, ... }:\n\n{\n  programs = {\n    steam = {\n      enable = true;\n      extraCompatPackages = [ pkgs.proton-ge-bin ];\n"
  },
  {
    "path": "modules/nixos/graphical/trusted.nix",
    "chars": 199,
    "preview": "{ pkgs, ... }:\n{\n  programs = {\n  };\n\n  security.pam.services.login.enableGnomeKeyring = false;\n\n  services = {\n    dbus"
  },
  {
    "path": "modules/nixos/hardware/bluetooth.nix",
    "chars": 299,
    "preview": "{\n  hardware.bluetooth = {\n    enable = true;\n    powerOnBoot = true;\n    disabledPlugins = [ \"sap\" ];\n    settings = {\n"
  },
  {
    "path": "modules/nixos/hardware/efi.nix",
    "chars": 218,
    "preview": "{ lib, ... }:\n{\n  boot.loader = {\n    efi.canTouchEfiVariables = true;\n    systemd-boot = {\n      enable = true;\n      c"
  },
  {
    "path": "modules/nixos/hardware/fast-networking.nix",
    "chars": 1391,
    "preview": "{\n  boot = {\n    kernel.sysctl = {\n      \"net.core.default_qdisc\" = \"cake\";\n      \"net.core.optmem_max\" = 65536;\n      \""
  },
  {
    "path": "modules/nixos/hardware/no-mitigations.nix",
    "chars": 254,
    "preview": "{\n  boot.kernelParams = [\n    \"l1tf=off\"\n    \"mds=off\"\n    \"mitigations=off\"\n    \"no_stf_barrier\"\n    \"noibpb\"\n    \"noib"
  },
  {
    "path": "modules/nixos/hardware/nonsecureboot.nix",
    "chars": 91,
    "preview": "{\n  boot = {\n    loader.systemd-boot.enable = true;\n    loader.grub.enable = false;\n  };\n}\n"
  },
  {
    "path": "modules/nixos/hardware/nvidia.nix",
    "chars": 637,
    "preview": "{ config, ... }:\n{\n  boot = {\n    kernelModules = [\n      \"nvidia\"\n      \"nvidia_modeset\"\n      \"nvidia-uvm\"\n      \"nvid"
  },
  {
    "path": "modules/nixos/hardware/printer.nix",
    "chars": 231,
    "preview": "{ pkgs, ... }:\n{\n  programs.system-config-printer.enable = true;\n\n  services.printing = {\n    enable = true;\n    drivers"
  },
  {
    "path": "modules/nixos/hardware/secureboot.nix",
    "chars": 590,
    "preview": "{\n  lib,\n  pkgs,\n  ...\n}:\n{\n  boot = {\n    bootspec.enable = true;\n    lanzaboote = {\n      enable = true;\n      autoGen"
  },
  {
    "path": "modules/nixos/hardware/sound.nix",
    "chars": 700,
    "preview": "{ config, ... }:\n{\n  environment.systemPackages = [ config.services.pipewire.package ];\n\n  security.rtkit.enable = true;"
  },
  {
    "path": "modules/nixos/hardware/vial.nix",
    "chars": 131,
    "preview": "{\n  services.udev.extraRules = ''\n    KERNEL==\"hidraw*\", SUBSYSTEM==\"hidraw\", MODE=\"0666\", TAG+=\"uaccess\", TAG+=\"udev-ac"
  },
  {
    "path": "modules/nixos/hardware/yubikey.nix",
    "chars": 140,
    "preview": "{ pkgs, ... }:\n{\n  services.udev.packages = with pkgs; [\n    yubikey-personalization\n    libu2f-host\n  ];\n  services.pcs"
  },
  {
    "path": "modules/nixos/pam-limits.nix",
    "chars": 489,
    "preview": "# PAM login limits for workstation/server hosts\n# Provides generous limits for memory locking, file descriptors, and pro"
  },
  {
    "path": "modules/nixos/printing.nix",
    "chars": 138,
    "preview": "{ pkgs, ... }:\n{\n  services.printing = {\n    enable = true;\n    drivers = with pkgs; [\n      gutenprint\n      gutenprint"
  },
  {
    "path": "modules/nixos/resolved.nix",
    "chars": 704,
    "preview": "# systemd-resolved configuration - NixOS only\n{ lib, ... }:\n{\n  networking = {\n    firewall = {\n      allowedTCPPorts = "
  },
  {
    "path": "modules/nixos/services/blocky.nix",
    "chars": 3979,
    "preview": "{\n  config,\n  flake,\n  lib,\n  pkgs,\n  ...\n}:\nlet\n  inherit (flake) self;\n  inherit (config.networking) hostName tailscal"
  },
  {
    "path": "modules/nixos/services/github-runner.nix",
    "chars": 445,
    "preview": "{ config, pkgs, ... }:\n{\n  age.secrets.github-runner-token.rekeyFile = ../../../secrets/github-runner.age;\n  services.gi"
  },
  {
    "path": "modules/nixos/services/grafana.nix",
    "chars": 1523,
    "preview": "{ config, ... }:\nwith config.networking;\n{\n  environment.persistence.\"/nix/state\".directories = [\n    {\n      directory "
  },
  {
    "path": "modules/nixos/services/jellyfin.nix",
    "chars": 655,
    "preview": "{ config, ... }:\nwith config.networking;\n{\n  environment.persistence.\"/nix/state\".directories = with config.services.jel"
  },
  {
    "path": "modules/nixos/services/mysql.nix",
    "chars": 271,
    "preview": "{ config, pkgs, ... }:\n{\n  environment.persistence.\"/nix/state\".directories = [\n    {\n      directory = config.services."
  },
  {
    "path": "modules/nixos/services/nginx.nix",
    "chars": 703,
    "preview": "{ config, pkgs, ... }:\n{\n  age.secrets.acme.rekeyFile = ../../../secrets/acme.age;\n\n  environment.persistence.\"/nix/stat"
  },
  {
    "path": "modules/nixos/services/oauth2.nix",
    "chars": 847,
    "preview": "{ config, ... }:\nlet\n  inherit (config.networking) hostName;\nin\n{\n  age.secrets.oauth2.rekeyFile = ../../../secrets/oaut"
  },
  {
    "path": "modules/nixos/services/peerix.nix",
    "chars": 37,
    "preview": "{\n  services.peerix.enable = true;\n}\n"
  },
  {
    "path": "modules/nixos/services/podman.nix",
    "chars": 235,
    "preview": "{\n  # environment.persistence.\"/nix/state\".directories = [\n  #   \"/var/lib/containers\"\n  # ];\n\n  virtualisation.podman ="
  },
  {
    "path": "modules/nixos/services/postgresql.nix",
    "chars": 241,
    "preview": "{\n  environment.persistence.\"/nix/state\".directories = [\n    {\n      directory = \"/var/lib/postgresql\";\n      user = \"po"
  },
  {
    "path": "modules/nixos/services/prometheus.nix",
    "chars": 1089,
    "preview": "{\n  environment.persistence.\"/nix/state\".directories = [\n    {\n      directory = \"/var/lib/prometheus2\";\n      user = \"p"
  },
  {
    "path": "modules/nixos/services/syncthing.nix",
    "chars": 46,
    "preview": "{ config, ... }:\nwith config.networking;\n{\n\n}\n"
  },
  {
    "path": "modules/nixos/services/unbound.nix",
    "chars": 2636,
    "preview": "{\n  config,\n  lib,\n  pkgs,\n  ...\n}:\n{\n  environment.persistence.\"/nix/state\".directories = [\n    {\n      directory = \"/v"
  },
  {
    "path": "modules/nixos/services/veilid.nix",
    "chars": 75,
    "preview": "{\n  services.veilid = {\n    enable = true;\n    openFirewall = true;\n  };\n}\n"
  },
  {
    "path": "modules/nixos/services/virt-manager.nix",
    "chars": 338,
    "preview": "{ pkgs, ... }:\n{\n  environment.systemPackages = with pkgs; [\n    virt-manager\n    spice-gtk\n    swtpm\n  ];\n  security.po"
  },
  {
    "path": "modules/nixos/services/wivrn.nix",
    "chars": 173,
    "preview": "{ pkgs, ... }:\n\n{\n  environment.systemPackages = with pkgs; [\n    wayvr\n  ];\n\n  services.wivrn = {\n    enable = true;\n  "
  },
  {
    "path": "modules/nixos/tailscale-address.nix",
    "chars": 296,
    "preview": "# Custom option for Tailscale address used by various services\n{ lib, ... }:\n{\n  options.networking.tailscaleAddress = l"
  },
  {
    "path": "modules/nixos/tmux.nix",
    "chars": 2429,
    "preview": "# System-level tmux configuration - NixOS only\n{ pkgs, ... }:\n{\n  programs.tmux = {\n    enable = true;\n    aggressiveRes"
  },
  {
    "path": "modules/nixos/users/bbigras.nix",
    "chars": 2376,
    "preview": "# NixOS system user configuration for bbigras\n{\n  config,\n  lib,\n  pkgs,\n  ...\n}:\n{\n  # Link home-manager user to NixOS "
  },
  {
    "path": "modules/shared/aspell.nix",
    "chars": 245,
    "preview": "# Aspell dictionaries - shared between NixOS and Darwin\n{ pkgs, ... }:\n{\n  environment.systemPackages = with pkgs; [\n   "
  },
  {
    "path": "modules/shared/common.nix",
    "chars": 969,
    "preview": "# Common system configuration for NixOS and Darwin\n# Note: Shared module imports (aspell, nix, nixpkgs, registry, theme)"
  },
  {
    "path": "modules/shared/nix.nix",
    "chars": 2056,
    "preview": "# Shared nix settings for NixOS and Darwin\n{ lib, pkgs, ... }:\nlet\n  inherit (pkgs.stdenv) isDarwin;\nin\n{\n  nix = lib.mk"
  },
  {
    "path": "modules/shared/nixpkgs.nix",
    "chars": 251,
    "preview": "# Shared nixpkgs configuration\n# Works for NixOS, Darwin, and home-manager (all have nixpkgs.config option)\n{ flake, ..."
  },
  {
    "path": "overlays/nix-latest.nix",
    "chars": 293,
    "preview": "final: prev:\nlet\n  useLatestNixFor = name: {\n    inherit name;\n    value = prev.${name}.override { nix = final.nixVersio"
  },
  {
    "path": "overlays/nom-latest.nix",
    "chars": 413,
    "preview": "final: prev: {\n  # FIXME: using my patch for now\n  nix-output-monitor = prev.nix-output-monitor.overrideAttrs (_: {\n    "
  },
  {
    "path": "overlays/scripts/ccinit.sh",
    "chars": 3342,
    "preview": "#!/usr/bin/env bash\nset -euo pipefail\n\nWORKSPACE_CLAUDE_MD=\"$HOME/src/CLAUDE.md\"\nBEGIN_MARKER=\"<!-- BEGIN ~/src/CLAUDE.m"
  },
  {
    "path": "overlays/scripts/checkart.sh",
    "chars": 175,
    "preview": "#!/usr/bin/env bash\n\nset -euo pipefail\n\nsort <<<\"$(find \"$1\" -mindepth 2 -type d -print0 | while read -r -d $'\\0' album;"
  },
  {
    "path": "overlays/scripts/default.nix",
    "chars": 3846,
    "preview": "final: _:\nlet\n  emoji_json = final.fetchurl {\n    url = \"https://raw.githubusercontent.com/github/gemoji/0eca75db9301421"
  },
  {
    "path": "overlays/scripts/drunmenu-wayland.sh",
    "chars": 273,
    "preview": "#!/usr/bin/env bash\n\nset -euo pipefail\n\nprogram=\"$(\n\twofi \\\n\t\t--insensitive \\\n\t\t--define \"drun-print_command=true\" \\\n\t\t-"
  },
  {
    "path": "overlays/scripts/drunmenu-x11.sh",
    "chars": 218,
    "preview": "#!/usr/bin/env bash\n\nset -euo pipefail\n\nprogram=\"$(\n\trofi \\\n\t\t-cache-dir \"${XDG_CACHE_HOME:-$HOME/.cache}/rofi/drunmenu\""
  },
  {
    "path": "overlays/scripts/emojimenu-wayland.sh",
    "chars": 282,
    "preview": "#!/usr/bin/env/bash\n\nset -euo pipefail\n\n# XXX: We patch-in the emoji-list path in Nix\n# shellcheck disable=SC2154\nemoji="
  },
  {
    "path": "overlays/scripts/emojimenu-x11.sh",
    "chars": 292,
    "preview": "#!/usr/bin/env/bash\n\nset -euo pipefail\n\n# XXX: We patch-in the emoji-list path in Nix\n# shellcheck disable=SC2154\nemoji="
  },
  {
    "path": "overlays/scripts/fixart.sh",
    "chars": 745,
    "preview": "#!/usr/bin/env bash\n\nset -euo pipefail\n\nfunction ctrl_c() {\n\texit 1\n}\ntrap ctrl_c INT\n\nfunction die() {\n\techo \"$@\"\n\texit"
  },
  {
    "path": "overlays/scripts/nix-closure-size.sh",
    "chars": 184,
    "preview": "#!/usr/bin/env bash\n\nset -euo pipefail\n\n# shellcheck disable=SC2046\nnix-store -q --size $(nix-store -qR \"$(readlink -e \""
  },
  {
    "path": "overlays/scripts/screenshot.sh",
    "chars": 64,
    "preview": "#!/usr/bin/env bash\n\ngrim -t png -g \"$(slurp)\" - |\n\tswappy -f -\n"
  },
  {
    "path": "overlays/scripts/spawn.sh",
    "chars": 173,
    "preview": "#!/usr/bin/env bash\n\nset -euo pipefail\n\n[ \"$#\" -ge 1 ] || exit 1\npname=\"$(basename \"$1\")\"\nuuid=\"$(uuidgen)\"\nexec systemd"
  },
  {
    "path": "overlays/transmission-unstable.nix",
    "chars": 2401,
    "preview": "final: prev: {\n  transmission_4 = prev.transmission_4.overrideAttrs (old: {\n    version = \"unstable-2025-11-02\";\n\n    sr"
  },
  {
    "path": "overlays/truecolor-check.nix",
    "chars": 647,
    "preview": "final: _: {\n  truecolor-check = final.callPackage (\n    { writers }:\n    writers.writePython3Bin \"truecolor-check\"\n     "
  },
  {
    "path": "secrets/bbigras-password.age",
    "chars": 293,
    "preview": "age-encryption.org/v1\n-> ssh-ed25519 rRe3bA ND+VTgHubga3t9koEOXR6zPJJIGrn68dKsKaNjxDwEA\nStLi5lIrbxFPj6j7cinKhGc0Kll3sQKy"
  },
  {
    "path": "secrets/rekeyed/laptop/358bfc03128d18174ab84822482bf279-bbigrasPassword.age",
    "chars": 362,
    "preview": "age-encryption.org/v1\n-> ssh-ed25519 Jta5Xg PTP8OqhQxgGf48PGTJCKHHUUAP+x9Sto8MaVTjAwPGI\nTP35KkULQGvsGVEHplk9WcGXzLb1nMUz"
  }
]

// ... and 2 more files (download for full content)

About this extraction

This page contains the full source code of the bbigras/nix-config GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 141 files (515.9 KB), approximately 146.7k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!