From 30a41e2fecae7411c90452257bae0e09b01dac1b Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Thu, 22 Jan 2026 19:05:24 +0100 Subject: [PATCH] feat: add minilab --- hosts/default.nix | 1 + hosts/minilab/default.nix | 26 + hosts/minilab/disk-configuration.nix | 62 + hosts/minilab/facter.json | 3021 +++++++++++++++++ hosts/minilab/monitors.nix | 14 + modules/base/fireproof.nix | 25 +- modules/desktop/default.nix | 10 + modules/programs/chromium.nix | 2 +- modules/programs/clickhouse.nix | 2 +- modules/programs/playwright.nix | 2 +- modules/programs/pycharm.nix | 27 +- modules/programs/zed.nix | 2 +- modules/system/ssh.nix | 5 + ...a1fbc987285b1eca271435b2e7-k8s-ao-prod.age | Bin 0 -> 2143 bytes ...882d52e9a63ec449bcf5caeb2b1-k8s-ao-dev.age | Bin 0 -> 2060 bytes ...55dd37e02c777eda51e76977-hosts-private.age | Bin 0 -> 386 bytes ...734f98d81d78eac96eda4f6490fe18-ssh-key.age | Bin 0 -> 757 bytes ...78c03fc51d9d5f8d8596efc15e-llm-api-key.age | Bin 0 -> 589 bytes ...6a9751dfc0833f4a2-hashed-user-password.age | 8 + ...6e35de94752d8c6ee3fabf5-spotify-player.age | 7 + ...7d01258208366a3b08d2cd-forgejo-ssh-key.age | Bin 0 -> 654 bytes secrets/hosts/minilab/id_ed25519.age | Bin 0 -> 734 bytes secrets/hosts/minilab/id_ed25519.pub | 1 + 23 files changed, 3194 insertions(+), 21 deletions(-) create mode 100644 hosts/minilab/default.nix create mode 100644 hosts/minilab/disk-configuration.nix create mode 100644 hosts/minilab/facter.json create mode 100644 hosts/minilab/monitors.nix create mode 100644 secrets/hosts/minilab/.rekey/0c9073a1fbc987285b1eca271435b2e7-k8s-ao-prod.age create mode 100644 secrets/hosts/minilab/.rekey/1134b882d52e9a63ec449bcf5caeb2b1-k8s-ao-dev.age create mode 100644 secrets/hosts/minilab/.rekey/28f8047855dd37e02c777eda51e76977-hosts-private.age create mode 100644 secrets/hosts/minilab/.rekey/2a734f98d81d78eac96eda4f6490fe18-ssh-key.age create mode 100644 secrets/hosts/minilab/.rekey/36d7db78c03fc51d9d5f8d8596efc15e-llm-api-key.age create mode 100644 secrets/hosts/minilab/.rekey/73c2b0c7572b39d6a9751dfc0833f4a2-hashed-user-password.age create mode 100644 secrets/hosts/minilab/.rekey/db3d130a46e35de94752d8c6ee3fabf5-spotify-player.age create mode 100644 secrets/hosts/minilab/.rekey/e5820865277d01258208366a3b08d2cd-forgejo-ssh-key.age create mode 100644 secrets/hosts/minilab/id_ed25519.age create mode 100644 secrets/hosts/minilab/id_ed25519.pub diff --git a/hosts/default.nix b/hosts/default.nix index fe6b1e2..919004f 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -50,5 +50,6 @@ in { homelab = mkSystem {host = ./homelab;}; bootstrap = mkSystem {host = ./bootstrap;}; desktop-wsl = mkSystem {host = ./desktop-wsl;}; + minilab = mkSystem {host = ./minilab;}; }; } diff --git a/hosts/minilab/default.nix b/hosts/minilab/default.nix new file mode 100644 index 0000000..751b907 --- /dev/null +++ b/hosts/minilab/default.nix @@ -0,0 +1,26 @@ +{ + config = { + fireproof = { + hostname = "minilab"; + username = "nickolaj"; + desktop = { + enable = true; + chromium.enable = false; + zed.enable = false; + }; + dev = { + enable = true; + intellij.enable = false; + clickhouse.enable = false; + playwright.enable = false; + }; + }; + + facter.reportPath = ./facter.json; + }; + + imports = [ + ./disk-configuration.nix + ./monitors.nix + ]; +} diff --git a/hosts/minilab/disk-configuration.nix b/hosts/minilab/disk-configuration.nix new file mode 100644 index 0000000..f83cb3a --- /dev/null +++ b/hosts/minilab/disk-configuration.nix @@ -0,0 +1,62 @@ +_: { + disko.devices = { + disk = { + main = { + device = "/dev/disk/by-id/mmc-hB8aP__0x1023fd20"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + boot = { + name = "boot"; + size = "1M"; + type = "EF02"; + }; + + ESP = { + size = "512M"; + type = "EF00"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = ["defaults"]; + }; + }; + luks = { + size = "100%"; + content = { + type = "luks"; + name = "crypted"; + # Copied by deploy script, otherwise it will prompt for password + passwordFile = "/luks-password"; + settings = { + allowDiscards = true; + bypassWorkqueues = true; + }; + content = { + type = "btrfs"; + extraArgs = ["-f"]; + subvolumes = { + "@" = { + mountpoint = "/"; + mountOptions = ["compress=zstd" "noatime"]; + }; + "@nix" = { + mountpoint = "/nix"; + mountOptions = ["compress=zstd" "noatime"]; + }; + "@home" = { + mountpoint = "/home"; + mountOptions = ["compress=zstd" "noatime"]; + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; +} diff --git a/hosts/minilab/facter.json b/hosts/minilab/facter.json new file mode 100644 index 0000000..b26b1d5 --- /dev/null +++ b/hosts/minilab/facter.json @@ -0,0 +1,3021 @@ +{ + "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": 770 + }, + "bridge": [ + { + "index": 10, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "31e8", + "value": 12776 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel ISA bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.0", + "sysfs_bus_id": "0000:00:1f.0", + "detail": { + "function": 0, + "command": 7, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d000031E8sv00001028sd0000080Cbc06sc01i00" + }, + { + "index": 14, + "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 + }, + "device": { + "hex": "31f0", + "value": 12784 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:00.0", + "sysfs_bus_id": "0000:00:00.0", + "detail": { + "function": 0, + "command": 7, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d000031F0sv00000000sd00000000bc06sc00i00" + }, + { + "index": 21, + "attached_to": 0, + "class_list": ["pci", "bridge"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 20 + }, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "31d6", + "value": 12758 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "00f3", + "value": 243 + }, + "model": "Intel PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0", + "sysfs_bus_id": "0000:00:14.0", + "detail": { + "function": 0, + "command": 1031, + "header_type": 1, + "secondary_bus": 1, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": ["pcieport"], + "driver_modules": ["pcieportdrv"], + "module_alias": "pci:v00008086d000031D6sv00001028sd0000080Cbc06sc04i00" + } + ], + "cpu": [ + { + "architecture": "x86_64", + "vendor_name": "GenuineIntel", + "model_name": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", + "family": 6, + "model": 122, + "stepping": 1, + "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", + "cx16", + "xtpr", + "pdcm", + "sse4_1", + "sse4_2", + "x2apic", + "movbe", + "popcnt", + "tsc_deadline_timer", + "aes", + "xsave", + "rdrand", + "lahf_lm", + "3dnowprefetch", + "cpuid_fault", + "cat_l2", + "pti", + "cdp_l2", + "ssbd", + "ibrs", + "ibpb", + "stibp", + "ibrs_enhanced", + "tpr_shadow", + "flexpriority", + "ept", + "vpid", + "ept_ad", + "fsgsbase", + "tsc_adjust", + "smep", + "erms", + "mpx", + "rdt_a", + "rdseed", + "smap", + "clflushopt", + "intel_pt", + "sha_ni", + "xsaveopt", + "xsavec", + "xgetbv1", + "xsaves", + "dtherm", + "ida", + "arat", + "pln", + "pts", + "vnmi", + "umip", + "rdpid", + "md_clear", + "arch_capabilities" + ], + "bugs": [ + "cpu_meltdown", + "spectre_v1", + "spectre_v2", + "spec_store_bypass", + "rfds", + "bhi" + ], + "power_management": [""], + "bogo": 2995, + "cache": 4096, + "units": 64, + "page_size": 4096, + "physical_id": 0, + "siblings": 4, + "cores": 4, + "fpu": false, + "fpu_exception": false, + "cpuid_level": 24, + "write_protect": false, + "tlb_size": 32765, + "clflush_size": 64, + "cache_alignment": 64, + "address_sizes": { + "physical": "0x27", + "virtual": "0x30" + } + } + ], + "disk": [ + { + "index": 25, + "attached_to": 22, + "class_list": ["disk", "block_device"], + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "serial": "0x1023fd20", + "model": "Disk", + "sysfs_id": "/class/block/mmcblk0", + "sysfs_bus_id": "mmc0:0001", + "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.0/mmc_host/mmc0/mmc0:0001", + "unix_device_names": [ + "/dev/disk/by-id/mmc-hB8aP__0x1023fd20", + "/dev/mmcblk0" + ], + "resources": [ + { + "type": "disk_geo", + "cylinders": 954240, + "heads": 4, + "sectors": 16, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 61071360, + "value_2": 512 + } + ], + "driver": "sdhci-pci", + "driver_module": "sdhci_pci", + "drivers": ["mmcblk", "sdhci-pci"], + "driver_modules": ["sdhci_pci"] + }, + { + "index": 26, + "attached_to": 22, + "class_list": ["disk", "block_device"], + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "model": "Disk", + "sysfs_id": "/class/block/mmcblk0boot0", + "sysfs_bus_id": "mmcblk0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0", + "unix_device_names": ["/dev/mmcblk0boot0"], + "resources": [ + { + "type": "disk_geo", + "cylinders": 128, + "heads": 4, + "sectors": 16, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 8192, + "value_2": 512 + } + ], + "driver": "mmcblk", + "drivers": ["mmcblk"] + }, + { + "index": 27, + "attached_to": 22, + "class_list": ["disk", "block_device"], + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "model": "Disk", + "sysfs_id": "/class/block/mmcblk0boot1", + "sysfs_bus_id": "mmcblk0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0", + "unix_device_names": ["/dev/mmcblk0boot1"], + "resources": [ + { + "type": "disk_geo", + "cylinders": 128, + "heads": 4, + "sectors": 16, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 8192, + "value_2": 512 + } + ], + "driver": "mmcblk", + "drivers": ["mmcblk"] + }, + { + "index": 28, + "attached_to": 17, + "class_list": ["disk", "usb", "scsi", "block_device"], + "bus_type": { + "hex": "0084", + "name": "SCSI", + "value": 132 + }, + "slot": { + "bus": 1, + "number": 0 + }, + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "vendor": { + "hex": "0951", + "name": "Kingston", + "value": 2385 + }, + "device": { + "hex": "1643", + "name": "DataTraveler G3", + "value": 5699 + }, + "revision": { + "hex": "0000", + "name": "PMAP", + "value": 0 + }, + "serial": "001CC0EC350DBB90670B0122", + "model": "Kingston DataTraveler G3", + "sysfs_id": "/class/block/sda", + "sysfs_bus_id": "1:0:0:0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0", + "unix_device_names": [ + "/dev/disk/by-id/usb-Kingston_DataTraveler_G3_001CC0EC350DBB90670B0122-0:0", + "/dev/disk/by-path/pci-0000:00:15.0-usb-0:3:1.0-scsi-0:0:0:0", + "/dev/disk/by-path/pci-0000:00:15.0-usbv2-0:3:1.0-scsi-0:0:0:0", + "/dev/sda" + ], + "unix_device_name2": "/dev/sg0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + }, + { + "type": "disk_geo", + "cylinders": 1017, + "heads": 124, + "sectors": 62, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 7819264, + "value_2": 512 + } + ], + "driver": "usb-storage", + "driver_module": "usb_storage", + "drivers": ["sd", "usb-storage"], + "driver_modules": ["sd_mod", "usb_storage"], + "module_alias": "usb:v0951p1643d0100dc00dsc00dp00ic08isc06ip50in00" + } + ], + "graphics_card": [ + { + "index": 20, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "3185", + "value": 12677 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "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": 61440, + "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:v00008086d00003185sv00001028sd0000080Cbc03sc00i00" + } + ], + "hub": [ + { + "index": 30, + "attached_to": 37, + "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": "0bda", + "name": "Generic", + "value": 3034 + }, + "device": { + "hex": "0411", + "name": "USB3.2 Hub", + "value": 1041 + }, + "revision": { + "hex": "0000", + "name": "1.00", + "value": 0 + }, + "model": "Generic USB3.2 Hub", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb2/2-1/2-1:1.0", + "sysfs_bus_id": "2-1: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:v0BDAp0411d0100dc09dsc00dp03ic09isc00ip00in00" + }, + { + "index": 31, + "attached_to": 35, + "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": "0bda", + "name": "Generic", + "value": 3034 + }, + "device": { + "hex": "5415", + "name": "USB2.1 Hub", + "value": 21525 + }, + "revision": { + "hex": "0000", + "name": "1.00", + "value": 0 + }, + "model": "Generic USB2.1 Hub", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-6/1-6:1.0", + "sysfs_bus_id": "1-6: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:v0BDAp5415d0100dc09dsc00dp02ic09isc00ip02in00" + }, + { + "index": 34, + "attached_to": 37, + "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": "0bda", + "name": "Generic", + "value": 3034 + }, + "device": { + "hex": "0415", + "name": "USB3.2 Hub", + "value": 1045 + }, + "revision": { + "hex": "0000", + "name": "1.00", + "value": 0 + }, + "model": "Generic USB3.2 Hub", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb2/2-6/2-6:1.0", + "sysfs_bus_id": "2-6: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:v0BDAp0415d0100dc09dsc00dp03ic09isc00ip00in00" + }, + { + "index": 35, + "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.12.66 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.12", + "value": 0 + }, + "serial": "0000:00:15.0", + "model": "Linux 6.12.66 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:15.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": 36, + "attached_to": 35, + "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": "0bda", + "name": "Generic", + "value": 3034 + }, + "device": { + "hex": "5411", + "name": "USB2.1 Hub", + "value": 21521 + }, + "revision": { + "hex": "0000", + "name": "1.00", + "value": 0 + }, + "model": "Generic USB2.1 Hub", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-1/1-1:1.0", + "sysfs_bus_id": "1-1: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:v0BDAp5411d0100dc09dsc00dp02ic09isc00ip02in00" + }, + { + "index": 37, + "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.12.66 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.12", + "value": 0 + }, + "serial": "0000:00:15.0", + "model": "Linux 6.12.66 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:15.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": 29, + "attached_to": 31, + "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": "1ea7", + "value": 7847 + }, + "device": { + "hex": "0066", + "name": "2.4G Mouse", + "value": 102 + }, + "revision": { + "hex": "0000", + "name": "2.00", + "value": 0 + }, + "model": "2.4G Mouse", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-6/1-6.2/1-6.2:1.0", + "sysfs_bus_id": "1-6.2:1.0", + "unix_device_names": [ + "/dev/input/by-id/usb-1ea7_2.4G_Mouse-event-kbd", + "/dev/input/by-path/pci-0000:00:15.0-usb-0:6.2:1.0-event-kbd", + "/dev/input/by-path/pci-0000:00:15.0-usbv2-0:6.2:1.0-event-kbd", + "/dev/input/event0" + ], + "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:v1EA7p0066d0200dc00dsc00dp00ic03isc01ip01in00" + } + ], + "memory": [ + { + "index": 7, + "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": 8053063680 + } + ] + } + ], + "mmc_controller": [ + { + "index": 22, + "attached_to": 0, + "class_list": ["mmc_controller"], + "bus_type": { + "hex": "0093", + "name": "MMC", + "value": 147 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0117", + "name": "MMC Controller", + "value": 279 + }, + "vendor": "", + "device": "MMC Controller", + "model": "MMC Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1c.0/mmc_host/mmc0/mmc0:0001", + "sysfs_bus_id": "mmc0:0001", + "driver": "mmcblk", + "drivers": ["mmcblk"] + } + ], + "monitor": [ + { + "index": 23, + "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": "22f0", + "name": "HP", + "value": 8944 + }, + "device": { + "hex": "284c", + "name": "LA2405", + "value": 10316 + }, + "serial": "CN404409TT", + "model": "HP LA2405", + "resources": [ + { + "type": "monitor", + "width": 1024, + "height": 768, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 1280, + "height": 1024, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 1280, + "height": 960, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 1600, + "height": 1200, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 1920, + "height": 1200, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 640, + "height": 480, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 800, + "height": 600, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "size", + "unit": "mm", + "value_1": 518, + "value_2": 324 + } + ], + "detail": { + "manufacture_year": 2010, + "manufacture_week": 44, + "vertical_sync": { + "min": 50, + "max": 63 + }, + "horizontal_sync": { + "min": 24, + "max": 76 + }, + "horizontal_sync_timings": { + "disp": 1920, + "sync_start": 1968, + "sync_end": 2000, + "total": 2080 + }, + "vertical_sync_timings": { + "disp": 1200, + "sync_start": 1203, + "sync_end": 1209, + "total": 1235 + }, + "clock": 154000, + "width": 1920, + "height": 1200, + "width_millimetres": 518, + "height_millimetres": 324, + "horizontal_flag": 45, + "vertical_flag": 43, + "vendor": "", + "name": "LA2405" + }, + "driver_info": { + "type": "display", + "width": 1920, + "height": 1200, + "vertical_sync": { + "min": 50, + "max": 63 + }, + "horizontal_sync": { + "min": 24, + "max": 76 + }, + "bandwidth": 0, + "horizontal_sync_timings": { + "disp": 1920, + "sync_start": 1968, + "sync_end": 2000, + "total": 2080 + }, + "vertical_sync_timings": { + "disp": 1200, + "sync_start": 1203, + "sync_end": 1209, + "total": 1235 + }, + "horizontal_flag": 45, + "vertical_flag": 43 + } + } + ], + "mouse": [ + { + "index": 33, + "attached_to": 31, + "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": "1ea7", + "value": 7847 + }, + "device": { + "hex": "0066", + "name": "2.4G Mouse", + "value": 102 + }, + "revision": { + "hex": "0000", + "name": "2.00", + "value": 0 + }, + "compat_vendor": "Unknown", + "compat_device": "Generic USB Mouse", + "model": "2.4G Mouse", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-6/1-6.2/1-6.2:1.1", + "sysfs_bus_id": "1-6.2:1.1", + "unix_device_names": ["/dev/input/mice"], + "unix_device_name2": "/dev/input/mouse0", + "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": 1, + "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:v1EA7p0066d0200dc00dsc00dp00ic03isc01ip02in01" + } + ], + "network_controller": [ + { + "index": 11, + "attached_to": 21, + "class_list": ["network_controller", "pci"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 1, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "8168", + "value": 33128 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0015", + "value": 21 + }, + "model": "Ethernet controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/0000:01:00.0", + "sysfs_bus_id": "0000:01:00.0", + "unix_device_names": ["enp1s0"], + "resources": [ + { + "type": "hwaddr", + "address": 48 + }, + { + "type": "io", + "base": 57344, + "range": 256, + "enabled": true, + "access": "read_write" + }, + { + "type": "phwaddr", + "address": 48 + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "r8169", + "driver_module": "r8169", + "drivers": ["r8169"], + "driver_modules": ["r8169"], + "module_alias": "pci:v000010ECd00008168sv00001028sd0000080Cbc02sc00i00" + } + ], + "network_interface": [ + { + "index": 38, + "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": 39, + "attached_to": 11, + "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/enp1s0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:14.0/0000:01:00.0", + "unix_device_names": ["enp1s0"], + "resources": [ + { + "type": "hwaddr", + "address": 48 + }, + { + "type": "phwaddr", + "address": 48 + } + ], + "driver": "r8169", + "driver_module": "r8169", + "drivers": ["r8169"], + "driver_modules": ["r8169"] + } + ], + "pci": [ + { + "index": 8, + "attached_to": 0, + "class_list": ["pci", "unknown"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 23 + }, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "31b4", + "value": 12724 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel Signal processing controller", + "sysfs_id": "/devices/pci0000:00/0000:00:17.0", + "sysfs_bus_id": "0000:00:17.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:v00008086d000031B4sv00001028sd0000080Cbc11sc80i00" + }, + { + "index": 9, + "attached_to": 0, + "class_list": ["pci", "unknown"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 28 + }, + "base_class": { + "hex": "0008", + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "hex": "0005", + "value": 5 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1028", + "value": 4136 + }, + "device": { + "hex": "31cc", + "value": 12748 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel Generic system peripheral", + "sysfs_id": "/devices/pci0000:00/0000:00:1c.0", + "sysfs_bus_id": "0000:00:1c.0", + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 1 + }, + "driver": "sdhci-pci", + "driver_module": "sdhci_pci", + "drivers": ["sdhci-pci"], + "driver_modules": ["sdhci_pci"], + "module_alias": "pci:v00008086d000031CCsv00001028sd0000080Cbc08sc05i01" + }, + { + "index": 12, + "attached_to": 0, + "class_list": ["pci", "unknown"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 23 + }, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "31ba", + "value": 12730 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel Signal processing controller", + "sysfs_id": "/devices/pci0000:00/0000:00:17.3", + "sysfs_bus_id": "0000:00:17.3", + "detail": { + "function": 3, + "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:v00008086d000031BAsv00001028sd0000080Cbc11sc80i00" + }, + { + "index": 13, + "attached_to": 0, + "class_list": ["pci", "unknown"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 15 + }, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "319a", + "value": 12698 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel Communication controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0f.0", + "sysfs_bus_id": "0000:00:0f.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:v00008086d0000319Asv00001028sd0000080Cbc07sc80i00" + }, + { + "index": 16, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "31d4", + "value": 12756 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel SMBus", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.1", + "sysfs_bus_id": "0000:00:1f.1", + "resources": [ + { + "type": "io", + "base": 61504, + "range": 32, + "enabled": true, + "access": "read_write" + } + ], + "detail": { + "function": 1, + "command": 3, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "i801_smbus", + "driver_module": "i2c_i801", + "drivers": ["i801_smbus"], + "driver_modules": ["i2c_i801"], + "module_alias": "pci:v00008086d000031D4sv00001028sd0000080Cbc0Csc05i00" + }, + { + "index": 19, + "attached_to": 0, + "class_list": ["pci", "unknown"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "3190", + "value": 12688 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel System peripheral", + "sysfs_id": "/devices/pci0000:00/0000:00:00.3", + "sysfs_bus_id": "0000:00:00.3", + "detail": { + "function": 3, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d00003190sv00001028sd0000080Cbc08sc80i00" + } + ], + "sound": [ + { + "index": 18, + "attached_to": 0, + "class_list": ["sound", "pci"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 14 + }, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "3198", + "value": 12696 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel Multimedia controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0e.0", + "sysfs_bus_id": "0000:00:0e.0", + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "snd_hda_intel", + "driver_module": "snd_hda_intel", + "drivers": ["snd_hda_intel"], + "driver_modules": ["snd_hda_intel"], + "module_alias": "pci:v00008086d00003198sv00001028sd0000080Cbc04sc03i00" + } + ], + "storage_controller": [ + { + "index": 15, + "attached_to": 0, + "class_list": ["storage_controller", "pci"], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 18 + }, + "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": "1028", + "value": 4136 + }, + "device": { + "hex": "31e3", + "value": 12771 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel Mass storage controller", + "sysfs_id": "/devices/pci0000:00/0000:00:12.0", + "sysfs_bus_id": "0000:00:12.0", + "resources": [ + { + "type": "io", + "base": 61536, + "range": 32, + "enabled": true, + "access": "read_write" + }, + { + "type": "io", + "base": 61568, + "range": 4, + "enabled": true, + "access": "read_write" + }, + { + "type": "io", + "base": 61584, + "range": 8, + "enabled": true, + "access": "read_write" + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 1 + }, + "driver": "ahci", + "driver_module": "ahci", + "drivers": ["ahci"], + "driver_modules": ["ahci"], + "module_alias": "pci:v00008086d000031E3sv00001028sd0000080Cbc01sc06i01" + } + ], + "system": { + "form_factor": "desktop" + }, + "unknown": [ + { + "index": 24, + "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_names": ["/dev/ttyS0"], + "resources": [ + { + "type": "io", + "base": 1016, + "range": 0, + "enabled": true, + "access": "read_write" + } + ] + } + ], + "usb_controller": [ + { + "index": 17, + "attached_to": 0, + "class_list": ["usb_controller", "pci"], + "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": "0003", + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "hex": "0030", + "value": 48 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1028", + "value": 4136 + }, + "device": { + "hex": "31a8", + "value": 12712 + }, + "sub_device": { + "hex": "080c", + "value": 2060 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Intel USB Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0", + "sysfs_bus_id": "0000:00:15.0", + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "driver_module": "xhci_pci", + "drivers": ["xhci_hcd"], + "driver_modules": ["xhci_pci"], + "module_alias": "pci:v00008086d000031A8sv00001028sd0000080Cbc0Csc03i30" + } + ] + }, + "smbios": { + "bios": { + "handle": 0, + "vendor": "Dell Inc.", + "version": "1.14.0", + "date": "11/11/2021", + "features": [ + "PCI supported", + "PnP supported", + "BIOS flashable", + "BIOS shadowing allowed", + "CD boot supported", + "Selectable boot supported", + "EDD spec 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", + "ACPI supported", + "USB Legacy supported", + "BIOS Boot Spec supported", + "F12 Network boot supported" + ], + "start_address": "0xf0000", + "rom_size": 10485760 + }, + "board": { + "handle": 2, + "manufacturer": "Dell Inc.", + "product": "0XPG0W", + "version": "A00", + "board_type": { + "hex": "000a", + "name": "Motherboard", + "value": 10 + }, + "features": ["Hosting Board", "Replaceable"], + "location": "", + "chassis": 3 + }, + "cache": [ + { + "handle": 23, + "socket": "CPU Internal L1", + "size_max": 224, + "size_current": 224, + "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": "0001", + "name": "Other", + "value": 1 + }, + "associativity": { + "hex": "0001", + "name": "Other", + "value": 1 + }, + "sram_type_current": ["Synchronous"], + "sram_type_supported": ["Synchronous"] + }, + { + "handle": 24, + "socket": "CPU Internal L2", + "size_max": 4096, + "size_current": 4096, + "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"] + } + ], + "chassis": [ + { + "handle": 3, + "manufacturer": "Dell Inc.", + "version": "", + "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" + } + ], + "config": { + "handle": 9, + "options": ["Default string"] + }, + "language": [ + { + "handle": 61491, + "languages": ["en|US|iso8859-1"] + } + ], + "memory_array": [ + { + "handle": 11, + "location": { + "hex": "0003", + "name": "Motherboard", + "value": 3 + }, + "usage": { + "hex": "0003", + "name": "System memory", + "value": 3 + }, + "ecc": { + "hex": "0003", + "name": "None", + "value": 3 + }, + "max_size": "0x800000", + "error_handle": 65534, + "slots": 2 + } + ], + "memory_array_mapped_address": [ + { + "handle": 12, + "array_handle": 11, + "start_address": "0x0", + "end_address": "0x200000000", + "part_width": 2 + } + ], + "memory_device": [ + { + "handle": 13, + "location": "SODIMM1", + "bank_location": "", + "manufacturer": "Toshiba", + "part_number": "KCDT82-MIR", + "array_handle": 11, + "error_handle": 65534, + "width": 64, + "ecc_bits": 0, + "size": 4194304, + "form_factor": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "name": "Other", + "value": 26 + }, + "memory_type_details": ["Synchronous"], + "speed": 3200 + }, + { + "handle": 15, + "location": "SODIMM2", + "bank_location": "", + "manufacturer": "Toshiba", + "part_number": "KCDT82-MIR", + "array_handle": 11, + "error_handle": 65534, + "width": 64, + "ecc_bits": 0, + "size": 4194304, + "form_factor": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "name": "Other", + "value": 26 + }, + "memory_type_details": ["Synchronous"], + "speed": 3200 + } + ], + "memory_device_mapped_address": [ + { + "handle": 14, + "memory_device_handle": 13, + "array_map_handle": 12, + "start_address": "0x0", + "end_address": "0x100000000", + "row_position": 1, + "interleave_position": 1, + "interleave_depth": 2 + }, + { + "handle": 16, + "memory_device_handle": 15, + "array_map_handle": 12, + "start_address": "0x100000000", + "end_address": "0x200000000", + "row_position": 1, + "interleave_position": 2, + "interleave_depth": 2 + } + ], + "onboard": [ + { + "handle": 49, + "devices": [ + { + "name": "\"Intel HD Graphics\"", + "type": { + "hex": "0003", + "name": "Video", + "value": 3 + }, + "enabled": true + } + ] + }, + { + "handle": 50, + "devices": [ + { + "name": "NETWORK_NAME_STRING", + "type": { + "hex": "0005", + "name": "Ethernet", + "value": 5 + }, + "enabled": true + } + ] + }, + { + "handle": 51, + "devices": [ + { + "name": "AUDIO_NAME_STRING", + "type": { + "hex": "0007", + "name": "Sound", + "value": 7 + }, + "enabled": true + } + ] + } + ], + "port_connector": [ + { + "handle": 26, + "port_type": { + "hex": "001f", + "name": "Network Port", + "value": 31 + }, + "external_connector_type": { + "hex": "000b", + "name": "RJ-45", + "value": 11 + }, + "external_reference_designator": "LAN" + }, + { + "handle": 27, + "port_type": { + "hex": "001c", + "name": "Video Port", + "value": 28 + }, + "external_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "external_reference_designator": "DisplayPort 2" + }, + { + "handle": 28, + "port_type": { + "hex": "001c", + "name": "Video Port", + "value": 28 + }, + "external_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "external_reference_designator": "DisplayPort 1" + }, + { + "handle": 29, + "port_type": { + "hex": "0009", + "name": "Serial Port 16550A Compatible", + "value": 9 + }, + "external_connector_type": { + "hex": "0008", + "name": "DB-9 pin male", + "value": 8 + }, + "external_reference_designator": "Serial" + }, + { + "handle": 30, + "port_type": { + "hex": "001c", + "name": "Video Port", + "value": 28 + }, + "external_connector_type": { + "hex": "0007", + "name": "DB-15 pin female", + "value": 7 + }, + "external_reference_designator": "VGA" + }, + { + "handle": 31, + "port_type": { + "hex": "001d", + "name": "Audio Port", + "value": 29 + }, + "external_connector_type": { + "hex": "001f", + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "Line-out" + }, + { + "handle": 32, + "port_type": { + "hex": "001d", + "name": "Audio Port", + "value": 29 + }, + "external_connector_type": { + "hex": "001f", + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "Line-in/Mic" + }, + { + "handle": 33, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Rear USB 3.0" + }, + { + "handle": 34, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Rear USB 3.0" + }, + { + "handle": 35, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Rear USB 3.0" + }, + { + "handle": 36, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Rear USB 3.0" + }, + { + "handle": 37, + "port_type": { + "hex": "0020", + "name": "Other", + "value": 32 + }, + "internal_connector_type": { + "hex": "0022", + "name": "Other", + "value": 34 + }, + "internal_reference_designator": "SATA0" + }, + { + "handle": 38, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "FAN_CPU" + }, + { + "handle": 39, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "INTRUDER" + }, + { + "handle": 40, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "INT_SPKR" + }, + { + "handle": 41, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "internal_reference_designator": "INT_USB" + }, + { + "handle": 42, + "port_type": { + "hex": "001d", + "name": "Audio Port", + "value": 29 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "FRONTPANEL", + "external_connector_type": { + "hex": "001f", + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "Microphone" + }, + { + "handle": 43, + "port_type": { + "hex": "001d", + "name": "Audio Port", + "value": 29 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "FRONTPANEL", + "external_connector_type": { + "hex": "001f", + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "Headphone" + }, + { + "handle": 44, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "FRONTPANEL", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Front USB 2.0" + }, + { + "handle": 45, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "FRONTPANEL", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Front USB 2.0" + }, + { + "handle": 46, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "USB3_FRONT", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Front USB 3.0" + } + ], + "power_controls": [ + { + "handle": 17, + "month": 0, + "day": 0, + "hour": 0, + "minute": 0, + "second": 0 + } + ], + "processor": [ + { + "handle": 25, + "socket": "SOCKET 0", + "socket_type": { + "hex": "0001", + "name": "Other", + "value": 1 + }, + "socket_populated": true, + "manufacturer": "Intel", + "version": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", + "part": "Fill By OEM", + "processor_type": { + "hex": "0003", + "name": "CPU", + "value": 3 + }, + "processor_family": { + "hex": "000f", + "name": "Celeron", + "value": 15 + }, + "processor_status": { + "hex": "0001", + "name": "Enabled", + "value": 1 + }, + "clock_ext": 100, + "clock_max": 2700, + "cache_handle_l1": 23, + "cache_handle_l2": 24, + "cache_handle_l3": 0 + } + ], + "slot": [ + { + "handle": 47, + "designation": "SLOT1", + "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": 1, + "features": ["3.3 V", "PME#"] + }, + { + "handle": 48, + "designation": "SLOT2_M.2", + "slot_type": { + "hex": "0015", + "name": "Other", + "value": 21 + }, + "bus_width": { + "hex": "0008", + "name": "Other", + "value": 8 + }, + "usage": { + "hex": "0003", + "name": "Available", + "value": 3 + }, + "length": { + "hex": "0003", + "name": "Short", + "value": 3 + }, + "id": 2, + "features": ["3.3 V", "PME#"] + }, + { + "handle": 61477, + "designation": "J7H1", + "slot_type": { + "hex": "00ae", + "name": "Other", + "value": 174 + }, + "bus_width": { + "hex": "000a", + "name": "Other", + "value": 10 + }, + "usage": { + "hex": "0003", + "name": "Available", + "value": 3 + }, + "length": { + "hex": "0003", + "name": "Short", + "value": 3 + }, + "id": 0, + "features": ["3.3 V", "Shared", "PME#"] + }, + { + "handle": 61478, + "designation": "J8H1", + "slot_type": { + "hex": "00ad", + "name": "Other", + "value": 173 + }, + "bus_width": { + "hex": "0009", + "name": "Other", + "value": 9 + }, + "usage": { + "hex": "0004", + "name": "In Use", + "value": 4 + }, + "length": { + "hex": "0003", + "name": "Short", + "value": 3 + }, + "id": 1, + "features": ["3.3 V", "Shared", "PME#"] + } + ], + "system": { + "handle": 1, + "manufacturer": "Dell Inc.", + "product": "Wyse 5070 Thin Client", + "version": "", + "wake_up": { + "hex": "0006", + "name": "Power Switch", + "value": 6 + } + } + } +} diff --git a/hosts/minilab/monitors.nix b/hosts/minilab/monitors.nix new file mode 100644 index 0000000..9e14087 --- /dev/null +++ b/hosts/minilab/monitors.nix @@ -0,0 +1,14 @@ +_: { + monitors = [ + { + name = "DP-2"; + resolution = { + width = 1920; + height = 1200; + }; + refreshRate = 60; + refreshRateNiri = 60.000; + transform = 1; + } + ]; +} diff --git a/modules/base/fireproof.nix b/modules/base/fireproof.nix index ba6e446..3651e7d 100644 --- a/modules/base/fireproof.nix +++ b/modules/base/fireproof.nix @@ -1,4 +1,8 @@ -{lib, ...}: { +{ + config, + lib, + ... +}: { options.fireproof = { hostname = lib.mkOption { type = lib.types.str; @@ -9,7 +13,24 @@ description = "The primary username for the machine"; }; work.enable = lib.mkEnableOption "Enable work-related applications and tools"; - dev.enable = lib.mkEnableOption "Enable development tools and applications"; + dev = { + enable = lib.mkEnableOption "Enable development tools and applications"; + intellij.enable = lib.mkOption { + type = lib.types.bool; + default = config.fireproof.dev.enable; + description = "Enable IntelliJ-based IDEs"; + }; + clickhouse.enable = lib.mkOption { + type = lib.types.bool; + default = config.fireproof.dev.enable; + description = "Enable Clickhouse"; + }; + playwright.enable = lib.mkOption { + type = lib.types.bool; + default = config.fireproof.dev.enable; + description = "Enable Playwright"; + }; + }; hardware = { battery = lib.mkOption { type = lib.types.bool; diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 1418273..ef45071 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -10,6 +10,16 @@ default = config.fireproof.desktop.enable; description = "Enable window manager (niri) and dank material shell (dms)"; }; + chromium.enable = lib.mkOption { + type = lib.types.bool; + default = config.fireproof.desktop.enable; + description = "Enable Chromium"; + }; + zed.enable = lib.mkOption { + type = lib.types.bool; + default = config.fireproof.desktop.enable; + description = "Enable Zed editor"; + }; }; imports = [ diff --git a/modules/programs/chromium.nix b/modules/programs/chromium.nix index ed1ad6c..04726bd 100644 --- a/modules/programs/chromium.nix +++ b/modules/programs/chromium.nix @@ -5,7 +5,7 @@ pkgsUnstable, ... }: { - config = lib.mkIf config.fireproof.desktop.enable { + config = lib.mkIf (config.fireproof.desktop.enable && config.fireproof.desktop.chromium.enable) { fireproof.home-manager.programs.chromium = { enable = true; package = pkgsUnstable.chromium; diff --git a/modules/programs/clickhouse.nix b/modules/programs/clickhouse.nix index bea88bb..182dccc 100644 --- a/modules/programs/clickhouse.nix +++ b/modules/programs/clickhouse.nix @@ -5,7 +5,7 @@ pkgsUnstable, ... }: { - config = lib.mkIf config.fireproof.dev.enable { + config = lib.mkIf config.fireproof.dev.clickhouse.enable { environment.systemPackages = [ pkgsUnstable.clickhouse pkgsUnstable.envsubst diff --git a/modules/programs/playwright.nix b/modules/programs/playwright.nix index ad82155..94eced5 100644 --- a/modules/programs/playwright.nix +++ b/modules/programs/playwright.nix @@ -5,7 +5,7 @@ pkgsUnstable, ... }: { - config = lib.mkIf config.fireproof.dev.enable { + config = lib.mkIf config.fireproof.dev.playwright.enable { fireproof.home-manager.programs.fish.shellInit = '' set -xg PLAYWRIGHT_BROWSERS_PATH ${pkgsUnstable.playwright-driver.browsers} set -xg PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS true diff --git a/modules/programs/pycharm.nix b/modules/programs/pycharm.nix index 9992dbf..b5c13de 100644 --- a/modules/programs/pycharm.nix +++ b/modules/programs/pycharm.nix @@ -4,22 +4,19 @@ lib, pkgsUnstable, ... -}: let - pycharmPkg = pkgsUnstable.jetbrains.pycharm.override { - # -Dide.browser.jcef.enabled causes crashes on wayland - vmopts = '' - -Dide.browser.jcef.enabled=false - -Dawt.toolkit.name=WLToolkit - -Xmx8G - ''; - }; - # pycharmWithPlugins = pkgsUnstable.jetbrains.plugins.addPlugins pycharmPkg [ - # "github-copilot" - # ]; -in { - config = lib.mkIf (config.fireproof.desktop.enable && config.fireproof.dev.enable) { +}: { + config = lib.mkIf (config.fireproof.desktop.enable && config.fireproof.dev.intellij.enable) (let + pycharmPkg = pkgsUnstable.jetbrains.pycharm.override { + # -Dide.browser.jcef.enabled causes crashes on wayland + vmopts = '' + -Dide.browser.jcef.enabled=false + -Dawt.toolkit.name=WLToolkit + -Xmx8G + ''; + }; + in { environment.systemPackages = [ pycharmPkg ]; - }; + }); } diff --git a/modules/programs/zed.nix b/modules/programs/zed.nix index 3e1206d..050868a 100644 --- a/modules/programs/zed.nix +++ b/modules/programs/zed.nix @@ -5,7 +5,7 @@ pkgsUnstable, ... }: { - config = lib.mkIf (config.fireproof.desktop.enable && config.fireproof.dev.enable) { + config = lib.mkIf (config.fireproof.desktop.enable && config.fireproof.desktop.zed.enable) { fireproof.home-manager.programs.zed-editor = { enable = true; package = pkgsUnstable.zed-editor; diff --git a/modules/system/ssh.nix b/modules/system/ssh.nix index 3ebbba9..39644a3 100644 --- a/modules/system/ssh.nix +++ b/modules/system/ssh.nix @@ -45,6 +45,11 @@ in { hostname = "x.nickolaj.com"; user = "nickolaj"; }; + minilab = { + hostname = "10.0.0.7"; + user = "nickolaj"; + proxyJump = "homelab"; + }; "forgejo.nickolaj.com" = { hostname = "forgejo.nickolaj.com"; user = "git"; diff --git a/secrets/hosts/minilab/.rekey/0c9073a1fbc987285b1eca271435b2e7-k8s-ao-prod.age b/secrets/hosts/minilab/.rekey/0c9073a1fbc987285b1eca271435b2e7-k8s-ao-prod.age new file mode 100644 index 0000000000000000000000000000000000000000..157ece8380960962f9520d3e877980acb4768c5d GIT binary patch literal 2143 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCR+@-8$=NmtO1EJ}?? z_3<{&k1{SSO7=*KbaKw9GVn+aG1N9SarP<7_D%6|Pc$y93gvQgu}BGb&2|e4N-xPR zHp)vg2>10hNHHx9N;c3B4y?=y3vjl~4so=sN(b4N=I5Q_V&m$mn_iTfSe&X5mFuYx zR?HP1?&4-zSRUve6rpe66_smdnB|{bm}OyBT9I5*>R0KR8Ll1dT9{uImg4H^SD9y_ ztsfGYXjzu&TB&cEk!Z-3lH=)AWa=E4=$Drpoa*WA;$&H2nr+|~ni$EYtE;QvXP9l` zVHuWHRpOtWnc)?cnQZ8ko>!a`>}~9p;?1Fz>mM8X zq!mnGtvi4M=XLmxC$=(6<}xzOsr_5OEWGjL|MDju zN{t?0)N>Zi_;p#|OPO!aw#!y0dY6dbDEk+?>XG4|ii8cWojwJT;_Je?gS*%wIbHr3 zc-&sQ??|zJ)7{-xU#5EQjVrDAzC@`csB*ey_?+(#r1Tu(Pj6IadcpmluQkRxelN4^ z#n7)0w7&nIzWd+vHV%XEyU%Nqjn7vf`6HNEXtAkB`)8n9%bo;nIp((LC@;}nHzjWP zt*pJi+UNFihg?H1RU`k?f&3reHhj=*n{r*;(RiMk((bK`KHZ-`Pw;l>**|*%f<^v4 zJh=0|q5bvJduL-F-dwirPVSB}mv7zyUrYIXWnJoSs$H#QpBB3Nn)G_+Irrqw7;j)~ z3)f$I_Eu!R@5!fYJlpC8Ra^tirPrpf3g(nMc*&FD%lr0Yfv-1xT3u58P*R@j{_^?0 zN0MK+RR=58+-gcXbi8=J%mZWb&N*&&tL|BEeDASRv)9w`R_2H0Ow0ZplJNRGWntLN z6O*JjKY3YrblvZhr#=}S6v_MZo&THL*?li!wIyu5?=-%_jGX*FAq#U(}b?d98L zG;7_C{mUQwIz^km)ZAma{LbB^JLYUV&qwFQeZ9FMGnVJrw!;Fe4U9jP-fB*?>Zx9R z@5g$vpf6Uc=b{RoFP)v3=lD(9-_p~`m9B|kK&ySrvX{{G!l zb99#Q3ti_n$kSNA=FRKN5=;7m5ApwDju+XpHTuY<%p(%lCB8c>b(*Q&@B4dske#3H z{Id?$nJOFoN*bku9>xnkE9T1F@~in?dGCD2=#*Qvx6k>Vo71v#&rfUNFwTa9R&!Tu zG%-tCe8|5T z#y{?SYAa6YE%&!w zelbMHl(pdg)7?AO&*-^y29$Y*%@=aqE!=SNQU9a|n|)&z+~YZ%apWN5jKU=6CG3gn zN^J+LzjiE6iu%B>#v3axgt*xHEErF6|k!yb0a6VnIHR0xd&EtD2Z%vN!_-=gG zO!}a*UQ283G@-l=zn9Jz`Ix)(pHmiBSpC{qlV0ma9#PHByo>OIQAu zi_(lqTs$rPgLIIwyAo?z+Wbrr*WT6o8)KA=MV|i352}&MnzAjiD)r=AmW2I$u^s*l=+5zImF35M(~rll zvb;UPfA0UhTVD+}eBb;zeiz@wTwC@3&z^VIyHzNZ_TKHDw7kmu-g%w&2F&$71yJAEor4s*KQ)1)j3)+8dLx6eBj;m`O`|^XH zy*gt!|G4KjgO;r9SXrm)kHriumroZnZuhv*u~cQz!k6k(g9>BXYy!_Naz5}=`5I^H z;m8b!lU<9vMC2yMywxf+KC*a$kk*%Lo$?hw)Rh7zG)#<3-XY7yDW&!2_kpb}d5&B9 zTP7!qcYCT``ru&WU&XO<=Gv9o9+wXYGo|gQ-gVWlf2*2FQoh~M&YHq&o>8YxMlh$V zzTPWc##xsmcA?Px|5wgw>-fG^zPrV-x?rJz$fFK!)4Rc!kDkh}P)Ydx{*AlgmYlQK zAKu{ZzOXUHNKsz-5tmZM<|Q&NHJF}% z?Adfab%D}!_G3$1m+GXmw(QWG7v&|k;QAu>qa4|%n?v~Lan6|UA-Lxogw!{|;>bW?vG`suwY|`2PK!sDa6@v?-#i=6D@gb7GsQ zM9_r8`gRTfB=gE7bicOTw-)^$_+vRs;5@}EuP0kC{{DFCg;;^7E(K3_?%$~yQSw&m z$ht_bmdt&3bEg=$UVr9%H?wZ{%6TkjW{0f}`oR-W5D?8x?%Z3i_|72=I|d{Qy# zoVCkYu5JcrF-L!E!Rsx}w*Gg{?zjILIAMk0m*^@pc4NnuJWjhS6Rmo;Ec|U)_Ui66 zsqF?De literal 0 HcmV?d00001 diff --git a/secrets/hosts/minilab/.rekey/1134b882d52e9a63ec449bcf5caeb2b1-k8s-ao-dev.age b/secrets/hosts/minilab/.rekey/1134b882d52e9a63ec449bcf5caeb2b1-k8s-ao-dev.age new file mode 100644 index 0000000000000000000000000000000000000000..e75034ee70fc4d7e2b056afc744e60bdab85b0e4 GIT binary patch literal 2060 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCR+@-8$=Nmr=wF0-&m zs_;#9GA*ujGRm_kaV*Wu$x1V+aMCsm%BTqSE=x)Z&(E%K&gb$sOE!(rt|(12)6R2A z%S`mM2y}K%a?i~Taq@|(^36;MOm}t3E6z>NO$ON(mS+$W?WLPul$uzas^Fukppsiq zQ=Of}g$=Bml|ABkYZ}$%GGaI(C_=x>fnUtqQ&2@2gJQ`yXUdcKVZttgYWyQ=B{OU{mnqE zOytA%Y10%L_Wvs`;942%&K>t8bM>c5^%a3^lKi~oZOspB|41HqdG>E?^F&pyS!&rD zz3C$SpPGIJa$b<1nq42Gt6SZ%v$ywrZ0Ie{KNr}23^Wy43pM^Qn`#4#T z?YGDJ?|o`9(>x>emn+EiaD+~!&GtvUPq)mw=vVbsap|KLSFiuwm)<++9{#1wmvSoP z{DQz8r?SoGhn86io^tNuuu`_qWZWCe*S&%7r__dhJF;s#l+>OwA1f<7?dg>EDo1q# z(*~*UQdfT*In`iLu>R%abqv>>1dAOhFjm?eHHpBDrF#fdRmK> zc#P>rMM3rkerN6M-TSg8^1lDJ^V+7Z=cJC^@#fumrs98drE$cXgM|xH%bO(FR-Se@ z~UbK$w%ffqSJ1$uC@n_fW-PsUoU-|!; z3Ts0BNwJb<)1H58k8RM`KgUwPszdv=;}nY@L2^EZQs?HXw>g18cXJEk$W@x9qHp~dLL&n`7Fx8#PVd1fq=Ewel^c>@kyWlW^t*obLI1`>eOc~<%lKu z!pg4I`n0zCrFHJB+Tyll+UT^WUE&20)Z1z3p6OeE*a{p89 z@|zNiwl(qmk6EH&^495`3FpJiCg!Q>F8+ragr9L-dfB-hH#9bitSGOZ$>Sq)h1vv)-ruYU--#8nZm!@7uL6p!BxA!w5rd@Jx{<|(w$X<8*&LL)(cXu9iSy?_|&(7#6IgxI@yE)r@8&8fz?3Xzc zHD5f~uC<$6y8K+!vI8!5lH1B&&+?!8+>!aOsEA2FSFD<1?KT%7ww;3RbKUBLV;2i< zx&QOQzhG(46Muwyo21O%hD?~7$K`!3Hs#NPBMbeHagvVo}yI8&8tH(?yvqgzB-FualU*4QQb)O&8(=&z}pBR`J zw6upXswDQ9CQl1Vntr6*KFsq`+KS{yZq2ss>sq(;u)NOoyVWu`^2X2EPY?VEd{Az& z|HL8f{Pgk_ix0(n3Ey~f({NGUcePZtC93h0g2e0N4`&6b9AVp+bJ z@SZmWU8|YGba?(1j|+k`l_mL|Cn$=i zI4Ae1GQSjKIK~wGoom6g@HVafCx-i)yUr#(vRonAX7^xM zR>gMF4Nqq?UOK9$)ZzAkamU8$bGysr*D9N}oq2nGhsBX-7nR+taeq14boKAZGskUO zc&y&VMnz_q5H)b!PiC*R*YAP4u%k cDZSq)x-?#-{`9dE8mlHuX;n}?GNa2L05ogFj{pDw literal 0 HcmV?d00001 diff --git a/secrets/hosts/minilab/.rekey/28f8047855dd37e02c777eda51e76977-hosts-private.age b/secrets/hosts/minilab/.rekey/28f8047855dd37e02c777eda51e76977-hosts-private.age new file mode 100644 index 0000000000000000000000000000000000000000..ed50447132f4a4a5e9a39ba0ffcd623cf79ecf2b GIT binary patch literal 386 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCR+@-8$=Nmp<)EiDc! zb5D0nk4$mR^^C}?4DiU$O7r#z@Xm@b4=5>3adi%I2?;68FyP9M3<&Tw3Ngq?&o54j z^6^V6EY9_|2-5cUc6D?&3U;jsOn0erEC|!LNCw%as+(Svnpm8w5SnZo>7}QrqmUhy zkmXiv#8sFRk!cx~nq(4@=a!!xm>!fFWSHu2=A7l{YhDS`lWHQRrFj=4+Im z<(BDYXu+kctE-S(oDmt}9~$Iu8tR#w;^bKB8f;n?WS;Aur0t^Z@0=Fw=wg*^2XuRO9TXVURyI_DysIyb++$9th_Lqb{P6<(=hE29?u hoLC(qy5Xk%B*Dh04Fc^4Pcke|7hLr8t7OfVVgTfoj^F?Q literal 0 HcmV?d00001 diff --git a/secrets/hosts/minilab/.rekey/2a734f98d81d78eac96eda4f6490fe18-ssh-key.age b/secrets/hosts/minilab/.rekey/2a734f98d81d78eac96eda4f6490fe18-ssh-key.age new file mode 100644 index 0000000000000000000000000000000000000000..05dbd971fd29dac58c73203edcfaf5985f6aa282 GIT binary patch literal 757 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCR+@-8$=NmuX>u=F)d za;!8gEDR~isc4CSiwaW)Hg3-R-?NDHm< zFv=(>aV`n-C^vVEOfgO^EeZ=tGxH8ei*!s+i3HhZm6PCMq?=xpnpm95?Hn3|vLQ=aGOp&cAx8C+)O=4O$W9pzE# z=E>DFPxRoA!|@Ef?xFuzKK#-7Mj>v=tZ&U8t8UHz{8hM0UA&q9s&)jyDocJ(FB26Qn{mo`xrFV^?LPjtDF>gql zrJH?)GmhKu!(St%E%JJk%wERMHZtk?GWS{fjc11w7iPb)wruxTY5lsSKSO6vh_|Lk#pI(TI&p5o}pY>I_ zMUgKI&Z+t*X?tI4T_3Xc_{THv^mo_pQF>7MKQLwL>C?$iHh6zp`PBG@-p0N!ITZ#f zC4OgYS3C>(Q>eE+&4lTx)&xaQ`F@dOuRbZ6S+xd5xK0Y6VQ~0a%l`QSbyc<6lRrLs zbSb6sndeo5e5Rc0byZuO?S17m|E}AytFB)9=B6Oat}S^7;zY!y8amsH+m-cfN(7^B F0|2lQL!bZv literal 0 HcmV?d00001 diff --git a/secrets/hosts/minilab/.rekey/36d7db78c03fc51d9d5f8d8596efc15e-llm-api-key.age b/secrets/hosts/minilab/.rekey/36d7db78c03fc51d9d5f8d8596efc15e-llm-api-key.age new file mode 100644 index 0000000000000000000000000000000000000000..c1a38bb39b74639acd0ed0ba1787ce8fef81760b GIT binary patch literal 589 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCR+@-8$=Nmr-}s!U1B ziHJ(iEeUW>O{|ErFf;T_PmWA2j52jMGph`CDhMvfPYa01OXo884oETZDfBK+ch&ds z3rk7&Ps=jS3-C|ziYm(WO04uW&NHd3aLe@aF9+FHs8OMtUX+?xoT}hfq@bMS5g)1$ znVe&3rKB35pyp$hVjjlj6j*5Pk&&rg>0THdk!z9Un~@#pol3fs<;o%#RZfz7MU z*G~zHY1dR1o0PoY?A$RMIoam2PTglW0zTc^@+b1#4=2YzOXsFf@J~9v=XH~?p7X@* zKQEP+*vx9$r(|x;J@4zx-#dIf-WEqy729UKnedjyD6)lRaQNA+Pe2;i`tCU4xd9DRv#}|kbM8m zRH?{WZ@Rwpzo7Blh>u)d9dw@PsqW0W!~S`>10j1?*04Y0aNZ33#tM1=>Smx literal 0 HcmV?d00001 diff --git a/secrets/hosts/minilab/.rekey/73c2b0c7572b39d6a9751dfc0833f4a2-hashed-user-password.age b/secrets/hosts/minilab/.rekey/73c2b0c7572b39d6a9751dfc0833f4a2-hashed-user-password.age new file mode 100644 index 0000000..756e5d1 --- /dev/null +++ b/secrets/hosts/minilab/.rekey/73c2b0c7572b39d6a9751dfc0833f4a2-hashed-user-password.age @@ -0,0 +1,8 @@ +age-encryption.org/v1 +-> ssh-ed25519 RKq2dg nK9d86+E3FH/5psCjFqhL28Vh4oSMk9hA+Dlw2Sa1AY +Xc1V84VTZgyj/YFSuo4zSkej6YDoFzFfiRtEb5GXefs +-> K-grease : ssh-ed25519 RKq2dg T8VpJqDF8uIqn0N4N1r3YiTDs+YaFMQxuBzcKHdLgEk +r7P19xgoF9YmbjSTBFG4KR3x7G0kBBqEf4GSSJnL6B4 +-> Tj;vFK-grease |;W # Y)z4k +CNn8PrkPrwcRsA +--- CrTJgbVsaS9z0gDOtqzCyq+LnQBAN8q+PCHkG/kz280 +f3"7?C]刼aj{݀d.4Qoo?}c,X I9'uc7Ϡ&-#.nR:hbڰrΑ'|  =B0$Q7 Y\V<{vng>4ż|aO qI#KG)վEN>Dл[Hxv爫T ;Z<Jx/t{?:yql<$a9D7Jtvbs*/ZM>N K&<'7՝Fy Wl(F \ No newline at end of file diff --git a/secrets/hosts/minilab/.rekey/e5820865277d01258208366a3b08d2cd-forgejo-ssh-key.age b/secrets/hosts/minilab/.rekey/e5820865277d01258208366a3b08d2cd-forgejo-ssh-key.age new file mode 100644 index 0000000000000000000000000000000000000000..0d734dd9b3c9154f4658ec316ce66faa307488de GIT binary patch literal 654 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCR+@-8$=Nmt0v&PmM9 zaq=q4$;x+kG08F4_jWO}@Xsl?NDax-H?|B+OLYp$2rdZ83*|~NNQ=y{^wW<>^fvSN z$#N+zh)OFk_B3?%EH|x8GV^tg@YZ(8G)OiJumIVXsHmx%UX+?xoXS<2Z{%F)V(M+~ z77`U)k*>|9tE;O}lwIYW>gArCVHBB^YZhvrpHk#%niWx5;_Z?V5U8DAS*V|w?UNqq zSRBeFdUmgG($%%oQVbJ|E>-UhbP?ZdBXW`b(Ak~FPLn45Q>a^da^V_$Mv*=S{UR)Yji}TJ-+Umihj^x!ZrOm=du!R&4To=1>2Yx$S!)zT5rl6~8ZcQ;W=` z9~8-a*gA98JEy>I-iqUkN*(899{KmnCV9cNJ0Cj_Uu_mXso>q}mFln1TDa(Q*`Gk; zTyy@2y8HmP7>kst0h-%`{w(YWDGcTAdb;4`v7Z~}3gmR3RZGjeduQ5ImlchDYuHz< z=ZO&FJz^A`HPh$FoQENAQXghKJ0sqHUdAFoNN3rz!s4>|uP2p8Upx6d*;?%WtM((C JpJ#3K1pt%BBh&x@ literal 0 HcmV?d00001 diff --git a/secrets/hosts/minilab/id_ed25519.age b/secrets/hosts/minilab/id_ed25519.age new file mode 100644 index 0000000000000000000000000000000000000000..28e11ad8de594852a3ef0a534cad1c968d43b2b4 GIT binary patch literal 734 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14$Sl(>Ffuh$C^Yu*3oBP}%qb~04RbY4 zD)cuth^QzxFLueSO4j!XHF7d7GV~}n%qZ|Ij0!9%3DkGy$|~|tbM+1LaCOVpc8&1Q zD=RlHj7Sd2GzfG{D)M#l$Oz0TOf*PJ3(Ix{*_EhblN+m}n_iTfSe&X*lB1BSR;Q$- zV3KE3YQp81o2Q*;8tfYp79M3>oNw$_l^l|l>FVW^;S&~??XR8e;hmqDpBNk#oRMal z6I>Ws8RC)|Tvp%~uI-v-6ynR3pQUZ-n;m2sYFwtDnPtJHtE;QvQ|{`NSLWvvV4hl; z9N^;=W|`<1>1deh?&B9~Zermb7L}TAVp0;6W8%rRz}~aPl6Uk|4S``M*dP6m*wM;2BUsmUNIBR!mYFu*Z%p$|> zJEtCIePCd}BjZnh&EH>l>)da|mAEk7a2L7!TkyZ@iA{?&rJfhWa?DphxwmwQsA76m z(Ak)m&k99^t6%r|>PmM6KDwHm$a`q!>lszEwKJIC7!~?NIIRDzaWiPX(~*_a4C2<# z+B|Kutmyn_u^%`*pK~_N?~$royt`*j!PTiL3j^CHuD_AVmL8vf*3KtoN|L7TqF$fB zaWhp#Tedv*nLIyNe}h->^YHfWM{_OBY@8UxUG$vx+im~BSU>yA(feP*oHY&~d^&GW z(dAn&HVagneLfXoG=s(DkM-WG-|ik)yw9B`$=UJoR