diff --git a/homes/x86_64-linux/kylekrein/emacs.nix b/homes/x86_64-linux/kylekrein/emacs.nix
index 55978aa..9090b9b 100644
--- a/homes/x86_64-linux/kylekrein/emacs.nix
+++ b/homes/x86_64-linux/kylekrein/emacs.nix
@@ -7,7 +7,7 @@
config,
...
}: let
- emacs = inputs.emacs-kylekrein.packages.${system}.with-lsps-native;
+ emacs = inputs.emacs-kylekrein.packages.${system}.with-lsps;
in {
programs.emacs = {
enable = osConfig.custom.presets.wayland.enable;
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
deleted file mode 100644
index 4cf880a..0000000
--- a/nixos/configuration.nix
+++ /dev/null
@@ -1,321 +0,0 @@
-# Edit this configuration file to define what should be installed on
-# your system. Help is available in the configuration.nix(5) man page
-# and in the NixOS manual (accessible by running ‘nixos-help’).
-{
- config,
- lib,
- pkgs,
- hwconfig,
- first-nixos-install,
- inputs,
- unstable-pkgs,
- ...
-}: let
-in {
- imports =
- [
- inputs.sops-nix.nixosModules.sops
- inputs.nixos-facter-modules.nixosModules.facter
- inputs.home-manager.nixosModules.default
- inputs.disko.nixosModules.default
- inputs.chaotic.nixosModules.nyx-cache
- inputs.chaotic.nixosModules.nyx-overlay
- inputs.chaotic.nixosModules.nyx-registry
- inputs.lanzaboote.nixosModules.lanzaboote
- ./modules/firefox
- ./modules/flatpak
- ./modules/steam
- ./modules/ly
- ./modules/sddm
- ./modules/services/autoupgrade
- ./modules/sops
- ./modules/dolphin
- ./modules/gnupg
- ./modules/direnv
- ./hosts/${hwconfig.hostname}
- ]
- ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
- facter.reportPath = ./hosts/${hwconfig.hostname}/facter.json;
- kylekrein.services.autoUpgrade = {
- enable = false;
- pushUpdates = false; #if hwconfig.hostname == "kylekrein-homepc" then true else false;
- configDir = "/etc/nixos-config";
- user = "root";
- };
-
- boot = {
- kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
- loader = {
- systemd-boot.enable = true;
- efi.canTouchEfiVariables =
- if hwconfig.hostname != "kylekrein-mac"
- then true
- else false;
- };
- # Hide the OS choice for bootloaders.
- # It's still possible to open the bootloader list by pressing any key
- # It will just not appear on screen unless a key is pressed
- loader.timeout = 0;
- };
-
- networking.hostName = hwconfig.hostname;
- # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
-
- # Configure network proxy if necessary
- # networking.proxy.default = "http://user:password@proxy:port/";
- # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
-
- #flatpak
- #kk.services.flatpak.enable = hwconfig.system != "aarch64-linux";
- services.flatpak.packages = [
- ];
-
- # Enable networking
- networking.networkmanager.enable = true;
-
- # Set your time zone.
- time.timeZone = "Europe/Berlin";
-
- # Select internationalisation properties.
- i18n.defaultLocale = "ru_RU.UTF-8";
-
- i18n.extraLocaleSettings = {
- LC_ADDRESS = "de_DE.UTF-8";
- LC_IDENTIFICATION = "de_DE.UTF-8";
- LC_MEASUREMENT = "de_DE.UTF-8";
- LC_MONETARY = "de_DE.UTF-8";
- LC_NAME = "de_DE.UTF-8";
- LC_NUMERIC = "de_DE.UTF-8";
- LC_PAPER = "de_DE.UTF-8";
- LC_TELEPHONE = "de_DE.UTF-8";
- LC_TIME = "de_DE.UTF-8";
- };
-
- # Configure keymap in X11
- services.xserver.xkb = {
- layout = "us,ru";
- variant = "";
- options = "grp:caps_toggle";
- };
- console.keyMap = "us";
-
- services.udisks2.enable = true;
-
- users = {
- mutableUsers = false;
- users = {
- root = {
- # disable root login here, and also when installing nix by running nixos-install --no-root-passwd
- # https://discourse.nixos.org/t/how-to-disable-root-user-account-in-configuration-nix/13235/3
- hashedPassword = "!"; # disable root logins, nothing hashes to !
- };
- };
- };
-
- #qt = {
- # enable = true;
- # platformTheme = "qt5ct";
- # style = "kvantum";
- #};
-
- # List packages installed in system profile. To search, run:
- # $ nix search wget
- environment.systemPackages = with pkgs; [
- kdePackages.kdenlive
- system-config-printer
- libreoffice
- nix-output-monitor
- eza
- fd
- (pkgs.writeShellScriptBin "root-files" ''
- ${pkgs.fd}/bin/fd --one-file-system --base-directory / --type f --hidden --exclude "{tmp,etc/passwd}"
- '') # https://www.reddit.com/r/NixOS/comments/1d1apm0/comment/l5tgbwz/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
- gparted
- qdirstat
- exfatprogs
- kitty
- tealdeer
- fzf
- lazygit
- fastfetch
- telegram-desktop
- vlc
- wl-clipboard
- git
- git-credential-manager
- egl-wayland
- kitty-themes
- btop
- solaar
- pdfarranger
- densify
- gimp3
-
- #kde
- kdePackages.gwenview
- kdePackages.ark
-
- # user packages
- obs-studio
- neovim
- localsend
-
- comma #run nix run nixpkgs#nix-index to init
- gdb
- element-desktop
- unstable-pkgs.fluffychat
-
- #beeengineeditor
- #beelocalization
- ];
-
- programs.kdeconnect.enable = true;
- programs.kdeconnect.package = lib.mkDefault pkgs.kdePackages.kdeconnect-kde;
-
- programs.nh = {
- enable = true;
- clean.enable = true;
- clean.extraArgs = "--keep-since 4d --keep 3";
- flake = "/etc/nixos-config";
- };
- fonts.packages = with pkgs; [
- nerd-fonts.jetbrains-mono
- font-awesome
- nerd-fonts.symbols-only
- hack-font
- # microsoft fonts:
- #corefonts
- #vistafonts
- ];
- environment.sessionVariables = {
- NIXOS_OZONE_WL = "1";
- MANPAGER = "emacsclient -c";
- EDITOR = "emacsclient -c";
- };
- kk.loginManagers.sddm.enable = true;
-
- systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder
- services.syncthing = {
- user = "kylekrein";
- configDir = "/persist/home/kylekrein/.config/syncthing";
- enable = true;
- };
- hardware = {
- graphics = {
- enable = true;
- };
- logitech.wireless.enable = true;
- bluetooth = {
- enable = true;
- powerOnBoot = true;
- settings = {
- General = {
- Experimental = true;
- };
- };
- };
- };
- services.blueman.enable = true;
-
- security.polkit.enable = true;
-
- #programs.thunar = {
- # enable = true;
- # plugins = with pkgs.xfce; [
- # thunar-archive-plugin
- # thunar-volman
- # ];
- # };
- #programs.xfconf.enable = true; # so thunar can save config
- #services.gvfs.enable = true; # Mount, trash, and other functionalities
- #services.tumbler.enable = true; # Thumbnail support for images
-
- security.rtkit.enable = true;
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- alsa.support32Bit = true;
- pulse.enable = true;
- jack.enable = true;
- };
-
- home-manager = {
- useGlobalPkgs = true;
- useUserPackages = true;
- sharedModules = [
- inputs.sops-nix.homeManagerModules.sops
- ];
- };
-
- programs.bash = {
- shellAliases = {
- ls = "${pkgs.eza}/bin/eza --icons=always";
- };
- };
-
- #printing
- services.printing.enable = true;
- services.avahi = {
- enable = true;
- nssmdns4 = true;
- openFirewall = true;
- };
-
- #services.flatpak.enable = true;
- #services.flatpak.packages = [
- # "flathub:app/org.kde.dolphin//stable"
- # ];
-
- # Some programs need SUID wrappers, can be configured further or are
- # started in user sessions.
- # programs.mtr.enable = true;
- # programs.gnupg.agent = {
- # enable = true;
- # enableSSHSupport = true;
- # };
-
- kk.steam.enable = true;
-
- # List services that you want to enable:
-
- # Enable the OpenSSH daemon.
- services.openssh = {
- enable = true;
- # require public key authentication for better security
- settings.PasswordAuthentication = false;
- settings.KbdInteractiveAuthentication = false;
- settings.PermitRootLogin = "no";
- };
-
- # Open ports in the firewall.
- networking.firewall.allowedTCPPorts = [22 53317];
- networking.firewall.allowedUDPPorts = [22 53317];
- # Or disable the firewall altogether.
- #networking.firewall.enable = false;
-
- # This value determines the NixOS release from which the default
- # settings for stateful data, like file locations and database versions
- # on your system were taken. It‘s perfectly fine and recommended to leave
- # this value at the release version of the first install of this system.
- # Before changing this value read the documentation for this option
- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "24.05"; # Did you read the comment?
-
- nix = {
- settings = {
- experimental-features = [
- "nix-command"
- "flakes"
- ];
- auto-optimise-store = true;
- substituters = [
- "https://nix-gaming.cachix.org"
- "https://nix-community.cachix.org"
- ];
- trusted-public-keys = [
- "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
- "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
- ];
- };
- };
-}
diff --git a/nixos/hardware/apple-silicon-linux/default.nix b/nixos/hardware/apple-silicon-linux/default.nix
deleted file mode 100644
index 726c9d7..0000000
--- a/nixos/hardware/apple-silicon-linux/default.nix
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- pkgs,
- lib,
- inputs,
- ...
-}: let
- pkgs-master = import inputs.nixpkgs-master {
- inherit (pkgs) system;
- config.allowUnfree = true;
- };
-in {
- nixpkgs = {
- overlays = [
- (self: super: {
- widevine-cdm = pkgs-master.widevine-cdm;
- })
- ];
- };
- #nixpkgs.overlays = [
- # (import ./widevine-overlay.nix)
- #];
- #nixpkgs.config.allowUnsupportedSystem = true;
- imports = [
- #./apple-silicon-support
- ];
- programs.firefox.policies.Preferences = {
- "media.gmp-widevinecdm.version" = "system-installed";
- "media.gmp-widevinecdm.visible" = true;
- "media.gmp-widevinecdm.enabled" = true;
- "media.gmp-widevinecdm.autoupdate" = false;
- "media.eme.enabled" = true;
- "media.eme.encrypted-media-encryption-scheme.enabled" = true;
- };
- programs.firefox.autoConfig = ''
- // Zhu
- lockPref("general.useragent.override","Mozilla/5.0 (X11; CrOS aarch64 15236.80.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.125 Safari/537.36");''; #doesn't work. You need to manually add this to about:config
- hardware.asahi = {
- peripheralFirmwareDirectory = ./firmware;
- useExperimentalGPUDriver = true; #deprecated
- #experimentalGPUInstallMode = "overlay";
- setupAsahiSound = true;
- };
-
- #powerManagement = {
- # enable = true;
- # powertop.enable = true;
- #};
- #hardware.graphics.enable32Bit = lib.mkForce false;
- environment.systemPackages = with pkgs; [
- #mesa
- #mesa.drivers
- mesa-asahi-edge
- #widevine-cdm
- #widevinecdm-aarch64
- ];
-}
diff --git a/nixos/hardware/apple-silicon-linux/firmware/all_firmware.tar.gz b/nixos/hardware/apple-silicon-linux/firmware/all_firmware.tar.gz
deleted file mode 100755
index 6550b7b..0000000
Binary files a/nixos/hardware/apple-silicon-linux/firmware/all_firmware.tar.gz and /dev/null differ
diff --git a/nixos/hardware/apple-silicon-linux/firmware/kernelcache.release.mac13g b/nixos/hardware/apple-silicon-linux/firmware/kernelcache.release.mac13g
deleted file mode 100755
index 9d48281..0000000
Binary files a/nixos/hardware/apple-silicon-linux/firmware/kernelcache.release.mac13g and /dev/null differ
diff --git a/nixos/hardware/apple-silicon-linux/homemac.nix b/nixos/hardware/apple-silicon-linux/homemac.nix
deleted file mode 100644
index 9b34415..0000000
--- a/nixos/hardware/apple-silicon-linux/homemac.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{pkgs, ...}: {
- programs.firefox.profiles.default.settings = {
- "media.gmp-widevinecdm.version" = pkgs.widevinecdm-aarch64.version;
- "media.gmp-widevinecdm.visible" = true;
- "media.gmp-widevinecdm.enabled" = true;
- "media.gmp-widevinecdm.autoupdate" = false;
- "media.eme.enabled" = true;
- "media.eme.encrypted-media-encryption-scheme.enabled" = true;
- };
-
- home.file."firefox-widevinecdm" = {
- enable = true;
- target = ".mozilla/firefox/default/gmp-widevinecdm";
- source = pkgs.runCommandLocal "firefox-widevinecdm" {} ''
- out=$out/${pkgs.widevinecdm-aarch64.version}
- mkdir -p $out
- ln -s ${pkgs.widevinecdm-aarch64}/manifest.json $out/manifest.json
- ln -s ${pkgs.widevinecdm-aarch64}/libwidevinecdm.so $out/libwidevinecdm.so
- '';
- recursive = true;
- };
-}
diff --git a/nixos/hardware/apple-silicon-linux/widevine-overlay.nix b/nixos/hardware/apple-silicon-linux/widevine-overlay.nix
deleted file mode 100644
index fde4e48..0000000
--- a/nixos/hardware/apple-silicon-linux/widevine-overlay.nix
+++ /dev/null
@@ -1,5 +0,0 @@
-prev: final: {
- widevinecdm-aarch64 = import ./widevine.nix {
- inherit (final) stdenvNoCC fetchFromGitHub fetchurl python3 squashfsTools nspr;
- };
-}
diff --git a/nixos/hardware/apple-silicon-linux/widevine.nix b/nixos/hardware/apple-silicon-linux/widevine.nix
deleted file mode 100644
index ccae416..0000000
--- a/nixos/hardware/apple-silicon-linux/widevine.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- stdenvNoCC,
- fetchFromGitHub,
- fetchurl,
- python3,
- squashfsTools,
- nspr,
-}: let
- widevine-installer = fetchFromGitHub {
- owner = "AsahiLinux";
- repo = "widevine-installer";
- rev = "7a3928fe1342fb07d96f61c2b094e3287588958b";
- sha256 = "sha256-XI1y4pVNpXS+jqFs0KyVMrxcULOJ5rADsgvwfLF6e0Y=";
- };
- lacros-image = fetchurl {
- url = let
- distfiles_base = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles";
- lacros_name = "chromeos-lacros-arm64-squash-zstd";
- lacrosVersion = "120.0.6098.0";
- in "${distfiles_base}/${lacros_name}-${lacrosVersion}";
- hash = "sha256-OKV8w5da9oZ1oSGbADVPCIkP9Y0MVLaQ3PXS3ZBLFXY=";
- };
-in
- stdenvNoCC.mkDerivation {
- name = "widevine";
- version = "4.10.2662.3";
-
- dontUnpack = true;
- dontBuild = true;
-
- buildInputs = [python3 squashfsTools];
-
- installPhase = ''
- mkdir $out
- unsquashfs -q ${lacros-image} 'WidevineCdm/*'
- python3 ${widevine-installer}/widevine_fixup.py squashfs-root/WidevineCdm/_platform_specific/cros_arm64/libwidevinecdm.so $out/libwidevinecdm.so
- mv squashfs-root/WidevineCdm/manifest.json $out/
- mv squashfs-root/WidevineCdm/LICENSE $out/
- patchelf --add-rpath ${nspr}/lib $out/libwidevinecdm.so
- '';
- }
diff --git a/nixos/hardware/framework12/default.nix b/nixos/hardware/framework12/default.nix
deleted file mode 100644
index 22eba87..0000000
--- a/nixos/hardware/framework12/default.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- pkgs,
- lib,
- inputs,
- ...
-}: {
- imports = [
- inputs.nixos-hardware.nixosModules.framework-12-13th-gen-intel
- ];
- # Ensure that the `pinctrl_tigerlake` kernel module is loaded before `soc_button_array`.
- # This is required for correcly switching to tablet mode when the display is folded back.
- boot.extraModprobeConfig = ''
- softdep soc_button_array pre: pinctrl_tigerlake
- '';
- boot.initrd.kernelModules = ["pinctrl_tigerlake"];
- # Patch the `udev` rules shipping with `iio-sensor-proxy` according to:
- # https://github.com/FrameworkComputer/linux-docs/blob/main/framework12/Ubuntu-25-04-accel-ubuntu25.04.md
- nixpkgs.overlays = [
- (final: prev: {
- iio-sensor-proxy = prev.iio-sensor-proxy.overrideAttrs (old: {
- postInstall = ''
- ${old.postInstall or ""}
- sed -i 's/.*iio-buffer-accel/#&/' $out/lib/udev/rules.d/80-iio-sensor-proxy.rules
- '';
- });
- })
- ];
- hardware.enableRedistributableFirmware = true;
- environment.systemPackages = [
- pkgs.framework-tool
- ];
- users.groups.touchscreen = {};
- services.udev.extraRules = ''
- KERNEL=="event*", ATTRS{name}=="ILIT2901:00 222A:5539", SYMLINK+="touchscreen", MODE="0660", GROUP="touchscreen"
- '';
-}
diff --git a/nixos/hardware/nvidia/default.nix b/nixos/hardware/nvidia/default.nix
deleted file mode 100644
index a2e5c04..0000000
--- a/nixos/hardware/nvidia/default.nix
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- config,
- pkgs,
- lib,
- ...
-}: {
- hardware = {
- graphics = {
- enable = true;
- extraPackages = with pkgs; [
- nvidia-vaapi-driver
- ];
- };
- nvidia = {
- # https://nixos.wiki/wiki/Nvidia
- # Modesetting is required.
- modesetting.enable = true;
-
- # Nvidia power management. Experimental, and can cause sleep/suspend to fail.
- # Enable this if you have graphical corruption issues or application crashes after waking
- # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
- # of just the bare essentials.
- powerManagement.enable = true; #false;
-
- # Fine-grained power management. Turns off GPU when not in use.
- # Experimental and only works on modern Nvidia GPUs (Turing or newer).
- powerManagement.finegrained = false;
-
- # Use the NVidia open source kernel module (not to be confused with the
- # independent third-party "nouveau" open source driver).
- # Support is limited to the Turing and later architectures. Full list of
- # supported GPUs is at:
- # https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
- # Only available from driver 515.43.04+
- # Currently alpha-quality/buggy, so false is currently the recommended setting.
- open = true;
-
- # Enable the Nvidia settings menu,
- # accessible via `nvidia-settings`.
- nvidiaSettings = true;
-
- # Optionally, you may need to select the appropriate driver version for your specific GPU.
- package = config.boot.kernelPackages.nvidiaPackages.latest;
- };
-
- logitech.wireless.enable = true;
- };
- services.xserver.videoDrivers = ["nvidia"];
-}
diff --git a/nixos/home.nix b/nixos/home.nix
deleted file mode 100644
index 2f67752..0000000
--- a/nixos/home.nix
+++ /dev/null
@@ -1,161 +0,0 @@
-{
- config,
- lib,
- pkgs,
- hwconfig,
- first-nixos-install,
- username,
- inputs,
- ...
-}: let
-in {
- imports =
- [
- #./modules/fastfetch
- #./modules/tmux/home.nix
- ]
- ++ lib.optional (lib.strings.hasInfix "kylekrein" hwconfig.hostname) ./modules/fastfetch
- ++ lib.optional (hwconfig.useImpermanence) (
- import ./modules/impermanence/home.nix {
- inherit username;
- inherit inputs;
- }
- )
- #++ lib.optional (config.programs.hyprland.enable) (
- # import ./modules/hyprland/home.nix {
- # inherit pkgs;
- # inherit username;
- # inherit inputs;
- # inherit hwconfig;
- # inherit lib;
- # }
- #)
- ++ lib.optional (builtins.pathExists ./homes/${username}) (
- import ./homes/${username} {
- inherit username;
- inherit config;
- inherit pkgs;
- inherit lib;
- inherit inputs;
- inherit hwconfig;
- }
- );
- # Home Manager needs a bit of information about you and the paths it should
- # manage.
- home.username = username;
- home.homeDirectory = "/home/${username}";
-
- #xdg.configFile."Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {
- # General.theme = "Catppuccin-Mocha";
- # };
- #xdg.configFile = {
- # "Kvantum/kvantum.kvconfig".text = ''
- # [General]
- # theme=catppuccin-mocha
- # '';
-
- # The important bit is here, links the theme directory from the package to a directory under `~/.config`
- # where Kvantum should find it.
- # "Kvantum/catppuccin-mocha".source = "${pkgs.catppuccin-kvantum}/share/Kvantum/catppuccin-mocha";
- #};
-
- programs.fzf = {
- enable = true;
- enableBashIntegration = true;
- };
-
- programs.eza = {
- enable = true;
- icons = "always";
- };
-
- #xdg.configFile."qt5ct/qt5ct.conf".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {
- # Appearance.icon_theme = "Breeze Dark";
- # };
-
- # This value determines the Home Manager release that your configuration is
- # compatible with. This helps avoid breakage when a new Home Manager release
- # introduces backwards incompatible changes.
- #
- # You should not change this value, even if you update Home Manager. If you do
- # want to update the value, then make sure to first check the Home Manager
- # release notes.
- home.stateVersion = "24.05"; # Please read the comment before changing.
-
- # The home.packages option allows you to install Nix packages into your
- # environment.
- home.packages = with pkgs; [
- # # Adds the 'hello' command to your environment. It prints a friendly
- # # "Hello, world!" when run.
- # pkgs.hello
-
- # # It is sometimes useful to fine-tune packages, for example, by applying
- # # overrides. You can do that directly here, just don't forget the
- # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
- # # fonts?
- # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
-
- # # You can also create simple shell scripts directly inside your
- # # configuration. For example, this adds a command 'my-hello' to your
- # # environment:
- # (pkgs.writeShellScriptBin "my-hello" ''
- # echo "Hello, ${config.home.username}!"
- # '')
- #obs-studio
- #vesktop
- #vscode-fhs
- ];
-
- programs.kitty = {
- enable = lib.strings.hasInfix "kylekrein" hwconfig.hostname;
- font = {
- name = "JetBrainsMono Nerd Font";
- size = 20;
- };
- settings = {
- confirm_os_window_close = 0;
- };
- #shellIntegration.enableFishIntegration = true;
- themeFile = "Catppuccin-Macchiato";
- #Also available: Catppuccin-Frappe Catppuccin-Latte Catppuccin-Macchiato Catppuccin-Mocha
- # See all available kitty themes at: https://github.com/kovidgoyal/kitty-themes/blob/46d9dfe230f315a6a0c62f4687f6b3da20fd05e4/themes.json
- };
-
- # Home Manager is pretty good at managing dotfiles. The primary way to manage
- # plain files is through 'home.file'.
- home.file = {
- # # Building this configuration will create a copy of 'dotfiles/screenrc' in
- # # the Nix store. Activating the configuration will then make '~/.screenrc' a
- # # symlink to the Nix store copy.
- # ".screenrc".source = dotfiles/screenrc;
-
- # # You can also set the file content immediately.
- # ".gradle/gradle.properties".text = ''
- # org.gradle.console=verbose
- # org.gradle.daemon.idletimeout=3600000
- # '';
- };
-
- # Home Manager can also manage your environment variables through
- # 'home.sessionVariables'. These will be explicitly sourced when using a
- # shell provided by Home Manager. If you don't want to manage your shell
- # through Home Manager then you have to manually source 'hm-session-vars.sh'
- # located at either
- #
- # ~/.nix-profile/etc/profile.d/hm-session-vars.sh
- #
- # or
- #
- # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
- #
- # or
- #
- # /etc/profiles/per-user/kylekrein/etc/profile.d/hm-session-vars.sh
- #
- home.sessionVariables = {
- # EDITOR = "emacs";
- };
-
- # Let Home Manager install and manage itself.
- programs.home-manager.enable = true;
-}
diff --git a/nixos/homes/kylekrein/battery-status.nix b/nixos/homes/kylekrein/battery-status.nix
deleted file mode 100644
index 997123c..0000000
--- a/nixos/homes/kylekrein/battery-status.nix
+++ /dev/null
@@ -1,110 +0,0 @@
-{
- pkgs,
- hwconfig,
- ...
-}: let
- battery-path = "/sys/class/power_supply/${
- if hwconfig.hostname == "kylekrein-mac"
- then "macsmc-battery"
- else
- (
- if hwconfig.hostname == "kylekrein-framework12"
- then "BAT1"
- else "BAT0"
- )
- }";
- get-battery-level = "${pkgs.writeShellScriptBin "get-battery-level" ''
- cat ${battery-path}/capacity 2>/dev/null || echo "N/A"
- ''}/bin/get-battery-level";
- get-status = "${pkgs.writeShellScriptBin "get-status" ''
- cat ${battery-path}/status 2>/dev/null || echo "Unknown"
- ''}/bin/get-status";
- get-icon = "${pkgs.writeShellScriptBin "get-icon" ''
- BATTERY_LEVEL=$(${get-battery-level})
- STATUS=$(${get-status})
- if [[ "$BATTERY_LEVEL" == "N/A" ]]; then
- ICON=" "
- elif [[ "$STATUS" == "Charging" ]]; then
- if [[ $BATTERY_LEVEL -ge 90 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 80 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 70 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 60 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 50 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 40 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 30 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 20 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 10 ]]; then
- ICON=" "
- else
- ICON=" "
- fi
- else
- if [[ $BATTERY_LEVEL -ge 90 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 70 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 50 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 30 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 10 ]]; then
- ICON=" "
- else
- ICON=" "
- fi
- fi
-
- echo "$ICON"
- ''}/bin/get-icon";
- get-remaining-time = "${pkgs.writeShellScriptBin "get-remaining-time" ''
- REMAINING_ENERGY=$(cat ${battery-path}/${
- if hwconfig == "kylekrein-mac"
- then "energy_now"
- else "charge_now"
- })
- POWER_USAGE=$(cat ${battery-path}/${
- if hwconfig.hostname == "kylekrein-mac"
- then "power_now"
- else "current_now"
- })
- if [[ -n "$REMAINING_ENERGY" && -n "$POWER_USAGE" && "$POWER_USAGE" -ne 0 ]]; then
- TIME_LEFT=$((${
- if hwconfig.hostname == "kylekrein-mac"
- then "0 - "
- else ""
- }(REMAINING_ENERGY / POWER_USAGE)))
- MINUTES_LEFT=$(((${
- if hwconfig.hostname == "kylekrein-mac"
- then "0 - "
- else ""
- }( (REMAINING_ENERGY * 60) / POWER_USAGE )) - (TIME_LEFT * 60)))
- echo "$TIME_LEFT h $MINUTES_LEFT min"
- else
- echo ""
- fi
- ''}/bin/get-remaining-time";
-in {
- available = hwconfig.isLaptop;
- icon = get-icon;
- status = get-status;
- time = get-remaining-time;
- level = get-battery-level;
- labelAdaptive = "${pkgs.writeShellScriptBin "labelAdaptive" ''
- if [[ "$(${get-status})" == "Charging" ]]; then
- echo "$(${get-battery-level})% $(${get-icon})"
- else
- echo "$(${get-remaining-time}) $(${get-icon})"
- fi
- ''}/bin/labelAdaptive";
- labelPercent = "${pkgs.writeShellScriptBin "labelPercent" ''
- echo "$(${get-battery-level})% $(${get-icon})"
- ''}/bin/labelPercent";
-}
diff --git a/nixos/homes/kylekrein/default.nix b/nixos/homes/kylekrein/default.nix
deleted file mode 100644
index 217621b..0000000
--- a/nixos/homes/kylekrein/default.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- config,
- username,
- pkgs,
- lib,
- inputs,
- hwconfig,
- ...
-}: {
- imports =
- [
- ./git.nix
- ]
- ++ lib.optional (lib.strings.hasInfix "kylekrein" hwconfig.hostname) (
- import ./niri.nix {
- inherit pkgs;
- inherit config;
- inherit username;
- inherit inputs;
- inherit hwconfig;
- inherit lib;
- }
- );
-}
diff --git a/nixos/homes/kylekrein/emacs.nix b/nixos/homes/kylekrein/emacs.nix
deleted file mode 100644
index 6c43a49..0000000
--- a/nixos/homes/kylekrein/emacs.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- config,
- pkgs,
- hwconfig,
- inputs,
- ...
-}: let
- emacs = inputs.emacs-kylekrein.packages.${hwconfig.system}.with-lsps;
-in {
- programs.emacs = {
- enable = true;
- package = emacs;
- };
- systemd.user.services.emacs = {
- Unit = {
- Description = "Launches (and relaunches) emacs";
- };
- Install = {
- WantedBy = ["default.target"];
- };
- Service = {
- ExecStart = "${pkgs.writeShellScript "run-emacs" ''
- ${emacs}/bin/emacs --fg-daemon
- ''}";
- Restart = "on-failure";
- RestartSec = 5;
- };
- };
-}
diff --git a/nixos/homes/kylekrein/git.nix b/nixos/homes/kylekrein/git.nix
deleted file mode 100644
index f4805f0..0000000
--- a/nixos/homes/kylekrein/git.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{pkgs, ...}: {
- programs.git = {
- enable = true;
- userName = "Aleksandr Lebedev";
- userEmail = "alex.lebedev2003@icloud.com";
- extraConfig = {
- credential.helper = "manager";
- credential."https://github.com".username = "KyleKrein";
- credential.credentialStore = "plaintext";
- };
- };
-}
diff --git a/nixos/homes/kylekrein/hyprlock.nix b/nixos/homes/kylekrein/hyprlock.nix
deleted file mode 100644
index 0cdb100..0000000
--- a/nixos/homes/kylekrein/hyprlock.nix
+++ /dev/null
@@ -1,99 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- ...
-}: let
- profile-image = ./nixos-warbler.png;
- battery-level =
- (import ./battery-status.nix {
- inherit pkgs;
- inherit hwconfig;
- }).labelPercent;
-in {
- programs.hyprlock = {
- enable = true;
- settings = {
- general = {
- #enable_fingerprint = true;
- disable_loading_bar = true;
- hide_cursor = true;
- no_fade_in = false;
- grace = 10;
- };
- background = {
- path = "${../../modules/hyprland/wallpaper.jpg}";
- blur_passes = 1;
- blur_size = 7;
- noise = 0.0117;
- contrast = 0.8916;
- brightness = 0.8172;
- vibrancy = 0.1696;
- vibrancy_darkness = 0.0;
- };
- image = {
- path = "${profile-image}";
- size = 150;
- border_size = 4;
- #border_color = "rgb(0C96F9)";
- rounding = -1; # Negative means circle
- position = "0, 220";
- halign = "center";
- valign = "center";
- };
- input-field = {
- size = "600, 100";
- outline_thickness = 3;
- dots_size = 0.33;
- dots_spacing = 0.15;
- dots_center = true;
- dots_rounding = -1;
- dots_fade_time = 200;
- placeholder_text = "Input Password...";
- hide_input = false;
- fade_on_empty = false;
- fail_text = "$FAIL ($ATTEMPTS)";
- fail_timeout = 2000;
- fail_transition = 300;
- position = "0, -20";
- halign = "center";
- valign = "center";
- };
- label =
- [
- {
- text = "$USER";
- font_family = "Fira Code";
- font_size = 56;
- position = "0, 100";
- halign = "center";
- valign = "center";
- }
- {
- text = "$TIME";
- font_family = "Roboto";
- font_size = 72;
- position = "-40, -40";
- halign = "right";
- valign = "top";
- }
- {
- text = "$LAYOUT";
- font_family = "JetBrains Mono";
- font_size = 28;
- position = "-20, 20";
- halign = "right";
- valign = "bottom";
- }
- ]
- ++ lib.optional (hwconfig.isLaptop) {
- text = ''cmd[update:10000] ${battery-level}'';
- font_family = "JetBrains Mono";
- font_size = 28;
- position = "20, 20";
- halign = "left";
- valign = "bottom";
- };
- };
- };
-}
diff --git a/nixos/homes/kylekrein/lisgd-config.h b/nixos/homes/kylekrein/lisgd-config.h
deleted file mode 100644
index 40b1a47..0000000
--- a/nixos/homes/kylekrein/lisgd-config.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- distancethreshold: Minimum cutoff for a gestures to take effect
- degreesleniency: Offset degrees within which gesture is recognized (max=45)
- timeoutms: Maximum duration for a gesture to take place in miliseconds
- orientation: Number of 90 degree turns to shift gestures by
- verbose: 1=enabled, 0=disabled; helpful for debugging
- device: Path to the /dev/ filesystem device events should be read from
- gestures: Array of gestures; binds num of fingers / gesturetypes to commands
- Supported gestures: SwipeLR, SwipeRL, SwipeDU, SwipeUD,
- SwipeDLUR, SwipeURDL, SwipeDRUL, SwipeULDR
-*/
-
-unsigned int distancethreshold = 125;
-unsigned int distancethreshold_pressed = 60;
-unsigned int degreesleniency = 15;
-unsigned int timeoutms = 800;
-unsigned int orientation = 0;
-unsigned int verbose = 1;
-double edgesizeleft = 50.0;
-double edgesizetop = 50.0;
-double edgesizeright = 50.0;
-double edgesizebottom = 50.0;
-double edgessizecaling = 1.0;
-char *device = "/dev/touchscreen";
-
-// Gestures can also be specified interactively from the command line using -g
-Gesture gestures[] = {
- {1, SwipeRL, EdgeRight, DistanceAny, ActModeReleased,
- "niri msg action focus-column-right"},
- {1, SwipeLR, EdgeLeft, DistanceAny, ActModeReleased,
- "niri msg action focus-column-left"},
- {1, SwipeDU, CornerBottomRight, DistanceMedium, ActModeReleased,
- "niri msg action focus-workspace-down"},
- {1, SwipeUD, CornerTopRight, DistanceMedium, ActModeReleased,
- "niri msg action focus-workspace-up"},
- {1, SwipeDU, CornerBottomLeft, DistanceShort, ActModeReleased,
- "niri msg action switch-preset-column-width"},
- //{1, SwipeUD, EdgeTop, DistanceAny, ActModeReleased, "nwggrid -o 0.98"},
- //"pkill -SIGRTMIN -f wvkbd"},
- //{2, SwipeUD, EdgeAny, DistanceAny, ActModeReleased,
- //"sway-interactive-screenshot -s focused-output"},
- //{3, SwipeLR, EdgeAny, DistanceAny, ActModeReleased,
- //"swaymsg layout tabbed"},
- //{3, SwipeRL, EdgeAny, DistanceAny, ActModeReleased,
- //"swaymsg layout toggle split"},
- {2, SwipeUD, EdgeLeft, DistanceShort, ActModePressed,
- "niri msg action fullscreen-window"},
- {2, SwipeUD, EdgeRight, DistanceMedium, ActModeReleased,
- "niri msg action close-window"},
- {2, SwipeDU, EdgeBottom, DistanceAny, ActModeReleased,
- "pkill -34 -f wvkbd"},
- //{2, SwipeUD, EdgeBottom, DistanceAny, ActModeReleased,
- //"pkill -9 -f wvkbd-mobintl"},
- {3, SwipeDU, EdgeAny, DistanceAny, ActModeReleased,
- "niri msg action toggle-overview"},
-};
diff --git a/nixos/homes/kylekrein/lisgd.nix b/nixos/homes/kylekrein/lisgd.nix
deleted file mode 100644
index e0d565d..0000000
--- a/nixos/homes/kylekrein/lisgd.nix
+++ /dev/null
@@ -1,2 +0,0 @@
-{pkgs}:
-pkgs.lisgd.override {conf = ./lisgd-config.h;}
diff --git a/nixos/homes/kylekrein/niri.nix b/nixos/homes/kylekrein/niri.nix
deleted file mode 100644
index 98adbe1..0000000
--- a/nixos/homes/kylekrein/niri.nix
+++ /dev/null
@@ -1,408 +0,0 @@
-#https://github.com/sodiboo/niri-flake/blob/main/default-config.kdl.nix
-#https://github.com/sodiboo/niri-flake/blob/main/docs.md
-#https://github.com/sodiboo/system/blob/main/niri.mod.nix
-{
- config,
- pkgs,
- lib,
- inputs,
- hwconfig,
- username,
- ...
-}: let
- lisgd-patched = pkgs.callPackage ./lisgd.nix {};
- wvkbd-patched = pkgs.callPackage ./wvkbd.nix {};
-in {
- programs.fuzzel = {
- enable = true;
- settings.main.terminal = "kitty";
- };
- services.swaync = {
- enable = true;
- };
- imports = [
- ./waybar
- ./hyprlock.nix
- ./emacs.nix
- ];
- home.packages = with pkgs;
- [
- nwg-drawer
- wlogout
- brightnessctl
- fuzzel
- waybar
- swaybg
- libnotify
- hyprlock
- networkmanagerapplet
- ]
- ++ lib.optionals (hwconfig.hasTouchscreen) (with pkgs; [
- wvkbd-patched # https://github.com/jjsullivan5196/wvkbd
- lisgd-patched
- ]);
- programs.niri = {
- settings = {
- outputs = lib.mkIf (hwconfig.hostname == "kylekrein-homepc") {
- "DP-1" = {
- scale = 1.6;
- position.x = 1600;
- position.y = 0;
- };
- "DP-3" = {
- scale = 1.6;
- position.x = 0;
- position.y = 0;
- };
- };
- spawn-at-startup = let
- set-low-brightness = lib.mkIf (hwconfig.isLaptop) {
- command = [
- "${lib.getExe pkgs.brightnessctl}"
- "set"
- (
- if hwconfig.hostname == "kylekrein-framework12"
- then "20%"
- else "25%"
- )
- ];
- };
- touchscreen-gestures = lib.mkIf (hwconfig.hasTouchscreen) {
- command = [
- "${lisgd-patched}/bin/lisgd" #https://git.sr.ht/~mil/lisgd
- ];
- };
- touchscreen-keyboard = lib.mkIf (hwconfig.hasTouchscreen) {
- command = [
- "${wvkbd-patched}/bin/wvkbd"
- "--hidden"
- ];
- };
- in [
- set-low-brightness
- touchscreen-gestures
- touchscreen-keyboard
- {
- command = [
- "${lib.getExe pkgs.networkmanagerapplet}"
- ];
- }
- {
- command = [
- "${lib.getExe pkgs.networkmanagerapplet}"
- ];
- }
- {
- command = [
- "dbus-update-activation-environment"
- "--systemd"
- "--all"
- ];
- }
- {
- command = [
- "${pkgs.solaar}/bin/solaar"
- "-w"
- "hide"
- ];
- }
- {
- command = [
- "${lib.getExe pkgs.swaybg}"
- "-m"
- "fill"
- "-i"
- "${../../modules/hyprland/wallpaper.jpg}"
- ];
- }
- ];
- layout = {
- preset-column-widths = [
- {proportion = 1.0 / 2.0;}
- {proportion = 1.0;}
- {proportion = 2.0 / 3.0;}
- {proportion = 1.0 / 3.0;}
- ];
- default-column-width = {proportion = 1.0 / 2.0;};
- };
- binds = with config.lib.niri.actions; let
- sh = spawn "sh" "-c";
- emacs = action: sh "emacsclient -c --eval \"${action}\"";
- homedir = "/home/${username}/";
- screenshot-annotate = sh ''${lib.getExe pkgs.grim} -g "$(${lib.getExe pkgs.slurp} -w 0)" -t ppm - | ${lib.getExe pkgs.satty} --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush'';
- in {
- "Mod+E".action = sh "emacsclient -c";
- "Mod+Shift+C".action = sh "dolphin";
- "Mod+C".action = emacs ''(dirvish \"${homedir}\")'';
- "Mod+T".action = spawn "kitty";
- "Mod+D".action = spawn "fuzzel";
- "Mod+B".action = spawn "librewolf";
- "Mod+H".action = show-hotkey-overlay;
- "Mod+F".action = fullscreen-window;
- "Mod+R".action = switch-preset-column-width;
- "Mod+Q".action = close-window;
- "Mod+Shift+S".action = screenshot-annotate;
- "Mod+1".action = focus-workspace 1;
- "Mod+2".action = focus-workspace 2;
- "Mod+3".action = focus-workspace 3;
- "Mod+4".action = focus-workspace 4;
- "Mod+5".action = focus-workspace 5;
- "Mod+6".action = focus-workspace 6;
- "Mod+7".action = focus-workspace 7;
- "Mod+8".action = focus-workspace 8;
- "Mod+9".action = focus-workspace 9;
- "Mod+0".action = focus-workspace 10;
-
- "Mod+Shift+1".action.move-column-to-workspace = 1;
- "Mod+Shift+2".action.move-column-to-workspace = 2;
- "Mod+Shift+3".action.move-column-to-workspace = 3;
- "Mod+Shift+4".action.move-column-to-workspace = 4;
- "Mod+Shift+5".action.move-column-to-workspace = 5;
- "Mod+Shift+6".action.move-column-to-workspace = 6;
- "Mod+Shift+7".action.move-column-to-workspace = 7;
- "Mod+Shift+8".action.move-column-to-workspace = 8;
- "Mod+Shift+9".action.move-column-to-workspace = 9;
- "Mod+Shift+0".action.move-column-to-workspace = 10;
-
- "Mod+Left".action = focus-column-left;
- "Mod+Right".action = focus-column-right;
- "Mod+Up".action = focus-workspace-up;
- "Mod+Down".action = focus-workspace-down;
- "Mod+Shift+Left".action = move-column-left;
- "Mod+Shift+Right".action = move-column-right;
- "Mod+Shift+Up".action = move-column-to-workspace-up;
- "Mod+Shift+Down".action = move-column-to-workspace-down;
- "Mod+Ctrl+Left".action = focus-monitor-left;
- "Mod+Ctrl+Right".action = focus-monitor-right;
- "Mod+Shift+Ctrl+Left".action = move-column-to-monitor-left;
- "Mod+Shift+Ctrl+Right".action = move-column-to-monitor-right;
-
- "XF86AudioRaiseVolume".action = sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+";
- "XF86AudioLowerVolume".action = sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-";
- "XF86AudioMute".action = sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
-
- "XF86MonBrightnessUp".action = sh "brightnessctl set 10%+";
- "XF86MonBrightnessDown".action = sh "brightnessctl set 10%-";
- #"Mod+Tab".action = focus-window-down-or-column-right;
- #"Mod+Shift+Tab".action = focus-window-up-or-column-left;
- "Mod+Tab".action = toggle-overview;
- };
- input = {
- power-key-handling.enable = hwconfig.hostname != "kylekrein-framework12";
- focus-follows-mouse = {
- #enable = true;
- };
- warp-mouse-to-focus.enable = true;
- keyboard = {
- xkb.layout = "us, ru, de";
- xkb.options =
- "grp:lctrl_toggle, ctrl:nocaps"
- + (
- if hwconfig.hostname == "kylekrein-mac"
- then ", altwin:swap_alt_win"
- else ""
- );
- track-layout = "window";
- numlock = true;
- };
- touchpad = {
- tap = true;
- #accel-profile = "adaptive";
- click-method = "clickfinger";
- };
- };
- cursor = {
- hide-after-inactive-ms = 10000;
- };
- gestures.hot-corners.enable = true;
- prefer-no-csd = true;
- environment = {
- XDG_SESSION_TYPE = "wayland";
- __GL_GSYNC_ALLOWED = "1";
- QT_QPA_PLATFORM = "wayland";
- DISPLAY = ":0";
- };
- layer-rules = [
- {
- #this is for later to place keyboard on top of hyprlock
- matches = [{namespace = "wvkbd";}];
- }
- ];
- window-rules = [
- {
- #active
- matches = [
- {
- is-active = true;
- }
- ];
- opacity = 1.0;
- }
- {
- #inactive
- matches = [
- {
- is-active = false;
- }
- ];
- opacity = 1.0;
- }
- {
- #opaque
- matches = [
- {
- app-id = "emacs";
- }
- {
- app-id = "blender";
- }
- ];
- opacity = 1.0;
- }
- {
- #Popups
- matches = [
- {
- title = "emacs-run-launcher";
- }
- {
- title = "Paradox Crash Reporter";
- }
- ];
- open-floating = true;
- open-focused = true;
- }
- {
- #PiP
- matches = [
- {
- title = "Picture-in-Picture";
- }
- ];
- open-floating = true;
- open-focused = false;
- opacity = 1.0;
- default-floating-position = {
- x = 0;
- y = 0;
- relative-to = "top-right";
- };
- }
- ];
- debug = lib.mkIf (hwconfig.hostname == "kylekrein-mac") {
- render-drm-device = "/dev/dri/renderD128";
- };
- xwayland-satellite = {
- enable = true;
- path = "${lib.getExe pkgs.xwayland-satellite-unstable}";
- };
- };
- };
-
- services.hypridle = let
- niri = lib.getExe config.programs.niri.package;
- loginctl = "${pkgs.systemd}/bin/loginctl";
- pidof = "${pkgs.procps}/bin/pidof";
- locking-script = "${pidof} hyprlock || ${lib.getExe pkgs.hyprlock}";
- systemctl = "${pkgs.systemd}/bin/systemctl";
- #locking-script = "${pkgs.swaylock}/bin/swaylock --daemonize";
- #unlocking-script = "pkill -SIGUSR1 swaylock";
- suspendScript = cmd:
- pkgs.writeShellScript "suspend-script" ''
- # check if any player has status "Playing"
- ${lib.getExe pkgs.playerctl} -a status | ${lib.getExe pkgs.ripgrep} Playing -q
- # only suspend if nothing is playing
- if [ $? == 1 ]; then
- ${cmd}
- fi
- '';
- in {
- enable = true;
- settings.general = {
- before_sleep_cmd = "${pidof} hyprlock || ${loginctl} lock-session;#${niri} msg action power-off-monitors";
- after_sleep_cmd = "#${niri} msg action power-on-monitors";
- lock_cmd = "${locking-script}";
- };
- settings.listener = let
- secondary = "${systemctl} suspend";
- in
- lib.mkIf (hwconfig.isLaptop) [
- #{
- # timeout = 30;
- # command = "pidof hyprlock && ${secondary}";
- #}
- {
- timeout = 870;
- on-timeout = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}";
- }
- {
- timeout = 900;
- on-timeout = "${suspendScript "${systemctl} suspend"}";
- }
- ];
- };
- services = {
- mako = {
- enable = false;
- settings = {
- };
- };
- };
- systemd.user.services.lisgd-niri = lib.mkIf (hwconfig.hasTouchscreen) {
- Unit = {
- Description = "Makes sure that you have touchscreen gestures.";
- };
- Install = {
- WantedBy = ["default.target"];
- };
- Service = {
- ExecStart = "${pkgs.writeShellScript "run-lisgd" ''
- ${lisgd-patched}/bin/lisgd
- ''}";
- Restart = "on-failure";
- RestartSec = 5;
- };
- };
- systemd.user.services.autorotate = lib.mkIf (hwconfig.hasTouchscreen) {
- Unit = {
- Description = "Adds auto rotation to Niri.";
- };
- Install = {
- WantedBy = ["default.target"];
- };
- Service = {
- ExecStart = "${pkgs.writeShellScript "autorotate" ''
- transform="normal"
-
- monitor-sensor | while read -r line; do
- case "$line" in
- *normal*)
- new_transform="normal"
- ;;
- *right-up*)
- new_transform="270"
- ;;
- *bottom-up*)
- new_transform="180"
- ;;
- *left-up*)
- new_transform="90"
- ;;
- *)
- continue
- ;;
- esac
-
- if [[ "$new_transform" != "$transform" ]]; then
- transform="$new_transform"
- echo "Transform: $transform"
- niri msg output eDP-1 transform "$transform"
- systemctl --user restart lisgd-niri.service
- fi
- done
- ''}";
- Restart = "always";
- RestartSec = 5;
- };
- };
-}
diff --git a/nixos/homes/kylekrein/nixos-warbler.png b/nixos/homes/kylekrein/nixos-warbler.png
deleted file mode 100755
index e87245c..0000000
Binary files a/nixos/homes/kylekrein/nixos-warbler.png and /dev/null differ
diff --git a/nixos/homes/kylekrein/profile-image.png b/nixos/homes/kylekrein/profile-image.png
deleted file mode 100644
index 571410a..0000000
Binary files a/nixos/homes/kylekrein/profile-image.png and /dev/null differ
diff --git a/nixos/homes/kylekrein/waybar/default.nix b/nixos/homes/kylekrein/waybar/default.nix
deleted file mode 100644
index 1b22c2b..0000000
--- a/nixos/homes/kylekrein/waybar/default.nix
+++ /dev/null
@@ -1,206 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- ...
-}: let
- battery = import ../battery-status.nix {
- inherit pkgs;
- inherit hwconfig;
- };
-in {
- programs.waybar = {
- enable = true;
- systemd.enable = true;
-
- #window#waybar {
- # background: transparent;
- #border-bottom: none;
- #}
- #${builtins.readFile "${pkgs.waybar}/etc/xdg/waybar/style.css"}
- style = ''
- ${builtins.readFile ./waybarstyle.css}'';
- settings = [
- {
- height = 36;
- layer = "top";
- position = "top";
- tray = {spacing = 3;};
- modules-center = [
- #"hyprland/window"
- "clock"
- ];
- modules-left = [
- "custom/drawer"
- "wlr/taskbar"
- "niri/workspaces"
- "niri/window"
- ];
- modules-right =
- lib.optional hwconfig.isLaptop "backlight"
- ++ [
- "pulseaudio"
- #"network"
- #"cpu"
- "memory"
- #"temperature"
- "niri/language"
- ]
- ++ lib.optional battery.available "custom/battery"
- ++ [
- "tray"
- "custom/notification"
- #"custom/disablehypridle"
- "custom/power"
- ];
- battery = {
- format = " {time} {icon} ";
- format-alt = " {capacity}% {icon} ";
- format-charging = " {capacity}% ";
- format-icons = ["" "" "" "" ""];
- format-plugged = " {capacity}% ";
- states = {
- critical = 10;
- warning = 20;
- };
- };
- backlight = {
- format = "{percent}% ";
- on-scroll-up = "${pkgs.brightnessctl}/bin/brightnessctl s 5%+";
- on-scroll-down = "${pkgs.brightnessctl}/bin/brightnessctl s 5%-";
- };
- "custom/battery" = {
- exec = "${pkgs.writeShellScriptBin "battery-widget" ''
- ${battery.labelAdaptive}
- ${battery.labelPercent}
- ''}/bin/battery-widget";
- interval = 20;
- tooltip = true;
- };
- clock = {
- format = "{:%a %d | %H:%M}";
- format-alt = "{:%d.%m.%Y}";
- tooltip-format = "{:%d.%m.%Y | %H:%M}";
- };
- cpu = {
- format = "{usage}% ";
- tooltip = false;
- };
- "custom/drawer" = {
- format = "";
- tooltip = false;
- on-click = ''nwg-drawer -fm "dolphin" -closebtn "right" -nocats -term "kitty" -ovl -wm "niri" -s "${./drawerstyle.css}" '';
- };
- "niri/language" = {
- format = "{}";
- format-en = "EN";
- format-ru = "RU";
- format-de = "DE";
- on-click = "niri msg action switch-layout next";
- on-click-right = "niri msg action switch-layout prev";
- };
- "wlr/taskbar" = {
- format = "{icon}";
- icon-size = 18;
- tooltip-format = "{title}";
- on-click = "activate";
- on-click-middle = "close";
- };
- memory = {
- interval = 1;
- format = " {used}/{total}Gb";
- };
- network = {
- interval = 1;
- format-alt = "{ifname}: {ipaddr}/{cidr}";
- format-disconnected = "Disconnected ⚠";
- format-ethernet = "{ifname}: {ipaddr}/{cidr} up: {bandwidthUpBits} down: {bandwidthDownBits}";
- format-linked = "{ifname} (No IP) ";
- #format-wifi = "{signalStrength}% ";
- format-wifi = "{signalStrength}% ";
- tooltip-format = "{essid} ({signalStrength}%) ";
- };
- pulseaudio = {
- format = "{icon} {volume}% {format_source}";
- format-bluetooth = "{icon} {volume}% {format_source}";
- format-bluetooth-muted = " {format_source}";
- format-icons = {
- car = "";
- default = [" " " " " "];
- handsfree = "";
- headphones = "";
- headset = "";
- phone = "";
- portable = "";
- };
- format-muted = " {format_source}";
- format-source = " {volume}%";
- format-source-muted = " ";
- on-click = "${pkgs.pwvucontrol}/bin/pwvucontrol";
- };
- "hyprland/submap" = {format = ''{}'';};
- temperature = {
- critical-threshold = 80;
- format = "{temperatureC}°C {icon}";
- format-icons = ["" "" ""];
- };
-
- "hyprland/workspaces" = {
- disable-scroll = true;
- all-outputs = false;
- warp-on-scroll = true;
- format = "{name}{icon} ";
- format-icons = {
- urgent = "";
- active = "";
- default = "";
- };
- #persistent-workspaces = {
- # "*" = 3;
- #};
- };
-
- "custom/power" = {
- format = "⏻";
- tooltip = false;
- on-click = "wlogout";
- };
-
- "custom/notification" = {
- tooltip = false;
- format = "{icon}";
- format-icons = {
- notification = "";
- none = "";
- dnd-notification = "";
- dnd-none = "";
- };
- return-type = "json";
- exec-if = "which swaync-client";
- exec = "swaync-client -swb";
- on-click = "sleep 0.1 && swaync-client -t -sw";
- on-click-right = "sleep 0.1 && swaync-client -d -sw";
- escape = true;
- };
-
- "custom/disablehypridle" = {
- exec = ''
- if pgrep -x "hypridle" > /dev/null; then
- echo "{\"text\": \" \", \"tooltip\": \"Hypridle is running\", \"class\": \"active\"}";
- else
- echo "{\"text\": \" \", \"tooltip\": \"Hypridle is not running\", \"class\": \"inactive\"}";
- fi
- '';
- return-type = "json";
- on-click = ''
- if pgrep -x "hypridle" > /dev/null; then
- pkill hypridle
- else
- hypridle &
- fi
- '';
- };
- }
- ];
- };
-}
diff --git a/nixos/homes/kylekrein/waybar/drawerstyle.css b/nixos/homes/kylekrein/waybar/drawerstyle.css
deleted file mode 100644
index b92b6c1..0000000
--- a/nixos/homes/kylekrein/waybar/drawerstyle.css
+++ /dev/null
@@ -1,47 +0,0 @@
-* {
- border: none;
- font-family: Font Awesome, Roboto, Arial, sans-serif;
- font-size: 16px;
- color: #eeeeee;
- border-radius: 10px;
-}
-window {
- background-color: rgba(50, 63, 99, 0.718);
- color: #eeeeee;
-}
-
-/* search entry */
-entry {
- background-color: rgba(0, 0, 0, 0.2)
-}
-
-button, image {
- background: none;
- border: none
-}
-
-button:hover {
- background-color: rgba(255, 255, 255, 0.1)
-}
-
-/* in case you wanted to give category buttons a different look */
-#category-button {
- margin: 0 10px 0 10px
-}
-
-#pinned-box {
- padding-bottom: 5px;
- border-bottom: 1px dotted gray
-}
-
-#files-box {
- padding: 5px;
- border: 1px dotted gray;
- border-radius: 15px
-}
-
-/* math operation result label */
-#math-label {
- font-weight: bold;
- font-size: 16px
-}
diff --git a/nixos/homes/kylekrein/waybar/waybarstyle.css b/nixos/homes/kylekrein/waybar/waybarstyle.css
deleted file mode 100644
index 3b1cc5f..0000000
--- a/nixos/homes/kylekrein/waybar/waybarstyle.css
+++ /dev/null
@@ -1,104 +0,0 @@
-* {
- border: none;
- font-family: Font Awesome, Roboto, Arial, sans-serif;
- font-size: 16px;
- color: #B9826A;
- border-radius: 10px;
-}
-
-window {
- font-weight: bold;
-}
-window#waybar {
- background: transparent;
-}
-/*-----module groups----*/
-.modules-right {
- background-color: rgba(0,43,51,0.85);
- margin: 2px 10px 0 0;
-}
-.modules-center {
- background-color: rgba(0,43,51,0.85);
- margin: 2px 0 0 0;
-}
-.modules-left {
- margin: 2px 0 0 5px;
- background-color: rgba(0,43,51,0.85);
-}
-/*-----modules indv----*/
-#workspaces button {
- padding: 1px 5px;
- background-color: transparent;
-}
-#workspaces button:hover {
- box-shadow: inherit;
- background-color: rgba(0,153,153,1);
-}
-
-#workspaces button.focused {
- background-color: rgba(0,119,179,0.6);
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#temperature,
-#network,
-#pulseaudio,
-#custom-media,
-#tray,
-#mode,
-#niri-language,
-#language,
-#custom-power,
-#custom-menu,
-#custom-battery,
-#custom-notification,
-#custom-drawer,
-#backlight,
-#workspaces,
-#window,
-#taskbar,
-#idle_inhibitor {
- margin: 0px 0px;
- padding: 0px 5px;
- border-right: 1px solid rgba(255,255,255,0.2);
- border-radius: 0px;
-}
-#clock,
-#custom-power,
-#window {
- border-right: none;
-}
-#custom-drawer {
- font-size: 20px;
-}
-#custom-power,
-#custom-drawer,
-#custom-notification {
- padding: 0px 0.5em 0px 0.3em;
-}
-#mode {
- color: #cc3436;
- font-weight: bold;
-}
-/*-----Indicators----*/
-#idle_inhibitor.activated {
- color: #2dcc36;
-}
-#pulseaudio.muted {
- color: #cc3436;
-}
-#battery.charging {
- color: #2dcc36;
-}
-#battery.warning:not(.charging) {
- color: #e6e600;
-}
-#battery.critical:not(.charging) {
- color: #cc3436;
-}
-#temperature.critical {
- color: #cc3436;
-}
diff --git a/nixos/homes/kylekrein/wvkbd-niri.patch b/nixos/homes/kylekrein/wvkbd-niri.patch
deleted file mode 100644
index aa00213..0000000
--- a/nixos/homes/kylekrein/wvkbd-niri.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 764c39633aa4bb8b94463dd19961bb4e9c78be26 Mon Sep 17 00:00:00 2001
-From: Maarten van Gompel
-Date: Sun, 31 Mar 2024 13:57:24 +0200
-Subject: [PATCH] debug: include trailing \0 byte in call to
- zwp_virtual_keyboard_v1.keymap()
-
-Ref: https://github.com/jjsullivan5196/wvkbd/issues/70
----
- keyboard.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/keyboard.c b/keyboard.c
-index afe0639..cd9a11e 100644
---- a/keyboard.c
-+++ b/keyboard.c
-@@ -678,7 +678,7 @@ create_and_upload_keymap(struct kbd *kb, const char *name, uint32_t comp_unichr,
- size_t keymap_size = strlen(keymap_template) + 64;
- char *keymap_str = malloc(keymap_size);
- sprintf(keymap_str, keymap_template, comp_unichr, comp_shift_unichr);
-- keymap_size = strlen(keymap_str);
-+ keymap_size = strlen(keymap_str) + 1;
- int keymap_fd = os_create_anonymous_file(keymap_size);
- if (keymap_fd < 0) {
- die("could not create keymap fd\n");
---
-2.49.0
-
diff --git a/nixos/homes/kylekrein/wvkbd.nix b/nixos/homes/kylekrein/wvkbd.nix
deleted file mode 100644
index c882117..0000000
--- a/nixos/homes/kylekrein/wvkbd.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- wvkbd,
- fetchFromGitHub,
- ...
-}: let
- niri-patch = ./wvkbd-niri.patch; #https://github.com/jjsullivan5196/wvkbd/issues/70
-in
- wvkbd.overrideAttrs (final: prev: {
- version = "0.17";
- src = fetchFromGitHub {
- owner = "Paulicat";
- repo = "wvkbd";
- rev = "ac02545ab6f6ccfa5b6f132414021ba57ea73096";
- hash = "sha256-py/IqNEEaTOx/9W935Vc47WoNFz99+bNaYD0sL//JmY=";
- };
- installFlags = prev.installFlags ++ ["LAYOUT=vistath"];
- patches = prev.patches or [] ++ [niri-patch];
- })
diff --git a/nixos/hosts/andrej-pc/configuration.nix b/nixos/hosts/andrej-pc/configuration.nix
deleted file mode 100644
index ad3a074..0000000
--- a/nixos/hosts/andrej-pc/configuration.nix
+++ /dev/null
@@ -1,333 +0,0 @@
-# Edit this configuration file to define what should be installed on
-# your system. Help is available in the configuration.nix(5) man page
-# and in the NixOS manual (accessible by running ‘nixos-help’).
-{
- config,
- lib,
- pkgs,
- hwconfig,
- first-nixos-install,
- inputs,
- unstable-pkgs,
- ...
-}: {
- programs.firefox.policies.Preferences."browser.startup.page" = lib.mkForce 1;
-
- imports =
- [
- inputs.sops-nix.nixosModules.sops
- inputs.stylix.nixosModules.stylix
- inputs.nixos-facter-modules.nixosModules.facter
- inputs.home-manager.nixosModules.default
- inputs.disko.nixosModules.default
- inputs.chaotic.nixosModules.nyx-cache
- inputs.chaotic.nixosModules.nyx-overlay
- inputs.chaotic.nixosModules.nyx-registry
-
- ../../modules/firefox
- #../../modules/flatpak
- ../../modules/steam
- ../../modules/ly
- ../../modules/sddm
- ../../modules/services/autoupgrade
- ../../modules/sops
- #../../modules/emacs
- ./default.nix
- ]
- ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
- facter.reportPath = ./facter.json;
- kylekrein.services.autoUpgrade = {
- enable = false;
- pushUpdates = false;
- configDir = "/etc/nixos-config";
- user = "root";
- };
- services.scx.enable = true; # by default uses scx_rustland scheduler
- boot = {
- kernelPackages = lib.mkDefault pkgs.linuxPackages_cachyos;
- loader = {
- systemd-boot.enable = true;
- efi.canTouchEfiVariables = true;
- };
- # Hide the OS choice for bootloaders.
- # It's still possible to open the bootloader list by pressing any key
- # It will just not appear on screen unless a key is pressed
- loader.timeout = 0;
- };
-
- networking.hostName = hwconfig.hostname;
- # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
-
- # Configure network proxy if necessary
- # networking.proxy.default = "http://user:password@proxy:port/";
- # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
-
- #flatpak
- #kk.services.flatpak.enable = true;
- #services.flatpak.packages = [
- #];
-
- services.pipewire = {
- extraLv2Packages = [pkgs.rnnoise-plugin];
- configPackages = [
- (pkgs.writeTextDir "share/pipewire/pipewire.conf.d/20-rnnoise.conf" ''
- context.modules = [
- { name = libpipewire-module-filter-chain
- args = {
- node.description = "Noise Canceling source"
- media.name = "Noise Canceling source"
- filter.graph = {
- nodes = [
- {
- type = lv2
- name = rnnoise
- plugin = "https://github.com/werman/noise-suppression-for-voice#stereo"
- label = noise_suppressor_stereo
- control = {
- }
- }
- ]
- }
- capture.props = {
- node.name = "capture.rnnoise_source"
- node.passive = true
- }
- playback.props = {
- node.name = "rnnoise_source"
- media.class = Audio/Source
- }
- }
- }
- ]
- '')
- ];
- };
-
- # Enable networking
- networking.networkmanager.enable = true;
-
- # Set your time zone.
- time.timeZone = "Europe/Berlin";
-
- # Select internationalisation properties.
- i18n.defaultLocale = "ru_RU.UTF-8";
-
- i18n.extraLocaleSettings = {
- LC_ADDRESS = "de_DE.UTF-8";
- LC_IDENTIFICATION = "de_DE.UTF-8";
- LC_MEASUREMENT = "de_DE.UTF-8";
- LC_MONETARY = "de_DE.UTF-8";
- LC_NAME = "de_DE.UTF-8";
- LC_NUMERIC = "de_DE.UTF-8";
- LC_PAPER = "de_DE.UTF-8";
- LC_TELEPHONE = "de_DE.UTF-8";
- LC_TIME = "de_DE.UTF-8";
- };
-
- # Configure keymap in X11
- services.xserver.xkb = {
- layout = "us,ru";
- variant = "";
- options = "grp:caps_toggle";
- };
- console.keyMap = "us";
-
- services.udisks2.enable = true;
-
- users = {
- mutableUsers = false;
- users = {
- root = {
- # disable root login here, and also when installing nix by running nixos-install --no-root-passwd
- # https://discourse.nixos.org/t/how-to-disable-root-user-account-in-configuration-nix/13235/3
- hashedPassword = "!"; # disable root logins, nothing hashes to !
- };
- };
- };
-
- #qt = {
- # enable = true;
- # platformTheme = "qt5ct";
- # style = "kvantum";
- #};
-
- # List packages installed in system profile. To search, run:
- # $ nix search wget
- environment.systemPackages = with pkgs; [
- libreoffice
- fzf
- killall
- eza
- fd
- gparted
- exfatprogs
- lazygit
- fastfetch
- telegram-desktop
- vlc
- wl-clipboard
- git
- git-credential-manager
- egl-wayland
- btop
- obs-studio
- blender
- vscodium-fhs
- discord
- solaar
- element-desktop
- unstable-pkgs.wasistlos
-
- prismlauncher
- unstable-pkgs.mcpelauncher-ui-qt
- jdk
- teams-for-linux
- ];
- programs.kdeconnect.enable = true;
- programs.kdeconnect.package = lib.mkDefault pkgs.kdePackages.kdeconnect-kde;
-
- programs.nh = {
- enable = true;
- clean.enable = true;
- clean.extraArgs = "--keep-since 4d --keep 3";
- flake = "/etc/nixos-config";
- };
- fonts.packages = with unstable-pkgs; [
- #TODO change to pkgs when 25.05 comes out
- nerd-fonts.jetbrains-mono
- font-awesome
- nerd-fonts.symbols-only
- hack-font
- # microsoft fonts:
- #corefonts
- #vistafonts
- ];
- environment.sessionVariables = {
- NIXOS_OZONE_WL = "1";
- #MANPAGER = "emacsclient -c -a 'emacs' +Man!";
- #EDITOR = "emacsclient -c -a 'emacs'";
- };
- hardware = {
- graphics = {
- enable = true;
- };
- logitech.wireless.enable = true;
- bluetooth = {
- enable = true;
- powerOnBoot = true;
- settings = {
- General = {
- Experimental = true;
- };
- };
- };
- };
- services.blueman.enable = true;
- security.polkit.enable = true;
-
- security.rtkit.enable = true;
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- alsa.support32Bit = true;
- pulse.enable = true;
- jack.enable = true;
- };
-
- home-manager = {
- useGlobalPkgs = true;
- useUserPackages = true;
- };
- stylix = {
- enable = false;
- image = "${../../modules/hyprland/wallpaper.jpg}";
- autoEnable = true;
- opacity = {
- desktop = 0.0; #0.5;
- };
- targets = {
- gtk.enable = true;
- plymouth = {
- enable = true;
- #logo = ./fastfetch/nixos.png;
- logoAnimated = false;
- };
- };
- fonts = {
- sizes = {
- applications = 14;
- desktop = 12;
- popups = 12;
- terminal = 16;
- };
- };
- polarity = "dark";
- base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
- };
-
- programs.bash = {
- shellAliases = {
- ls = "${pkgs.eza}/bin/eza --icons=always";
- };
- };
-
- #services.flatpak.enable = true;
- #services.flatpak.packages = [
- # "flathub:app/org.kde.dolphin//stable"
- # ];
-
- # Some programs need SUID wrappers, can be configured further or are
- # started in user sessions.
- # programs.mtr.enable = true;
- # programs.gnupg.agent = {
- # enable = true;
- # enableSSHSupport = true;
- # };
-
- kk.steam.enable = true;
-
- # List services that you want to enable:
-
- # Enable the OpenSSH daemon.
- services.openssh = {
- enable = true;
- # require public key authentication for better security
- settings.PasswordAuthentication = false;
- settings.KbdInteractiveAuthentication = false;
- settings.PermitRootLogin = "no";
- };
-
- # Open ports in the firewall.
- networking.firewall.allowedTCPPorts = [22 25565];
- networking.firewall.allowedUDPPorts = [22 25565];
- # Or disable the firewall altogether.
- #networking.firewall.enable = false;
-
- # This value determines the NixOS release from which the default
- # settings for stateful data, like file locations and database versions
- # on your system were taken. It‘s perfectly fine and recommended to leave
- # this value at the release version of the first install of this system.
- # Before changing this value read the documentation for this option
- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "24.11"; # Did you read the comment?
-
- nix = {
- settings = {
- experimental-features = [
- "nix-command"
- "flakes"
- ];
- auto-optimise-store = true;
- substituters = [
- "https://hyprland.cachix.org"
- "https://nix-gaming.cachix.org"
- "https://nix-community.cachix.org"
- ];
- trusted-public-keys = [
- "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
- "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
- "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
- ];
- };
- };
-}
diff --git a/nixos/hosts/andrej-pc/default.nix b/nixos/hosts/andrej-pc/default.nix
deleted file mode 100644
index 8f3daeb..0000000
--- a/nixos/hosts/andrej-pc/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- pkgs,
- config,
- lib,
- hwconfig,
- inputs,
- ...
-}: {
- imports = [
- ../../hardware/nvidia
-
- ../../modules/gnome
-
- ../../users/kylekrein
-
- ../../users/andrej
- ];
-
- zramSwap = {
- enable = true; # Hopefully? helps with freezing when using swap
- };
-
- services.zerotierone = {
- enable = true;
- joinNetworks = [
- "a09acf0233dccb4a"
- "1d71939404962783"
- "41d49af6c260338d"
- ];
- };
-
- hardware.nvidia.open = lib.mkForce false;
- #hardware.nvidia.package = lib.mkForce config.boot.kernelPackages.nvidiaPackages.latest;
- systemd.network.wait-online.enable = lib.mkForce false;
-}
diff --git a/nixos/hosts/andrej-pc/facter.json b/nixos/hosts/andrej-pc/facter.json
deleted file mode 100755
index a147eaa..0000000
--- a/nixos/hosts/andrej-pc/facter.json
+++ /dev/null
@@ -1,4611 +0,0 @@
-{
- "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": true,
- "pnp_id": 0,
- "lba_support": false,
- "low_memory_size": 641024,
- "smbios_version": 520
- },
- "bridge": [
- {
- "index": 8,
- "attached_to": 15,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 3,
- "number": 0
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0004",
- "name": "PCI bridge",
- "value": 4
- },
- "pci_interface": {
- "hex": "0001",
- "name": "Subtractive decode",
- "value": 1
- },
- "vendor": {
- "hex": "1283",
- "value": 4739
- },
- "device": {
- "hex": "8892",
- "value": 34962
- },
- "revision": {
- "hex": "0041",
- "value": 65
- },
- "model": "PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:1c.5/0000:03:00.0",
- "sysfs_bus_id": "0000:03:00.0",
- "resources": [
- {
- "type": "irq",
- "base": 11,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 7,
- "header_type": 1,
- "secondary_bus": 4,
- "irq": 11,
- "prog_if": 1
- },
- "module_alias": "pci:v00001283d00008892sv00000000sd00000000bc06sc04i01"
- },
- {
- "index": 11,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a114",
- "value": 41236
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "00f1",
- "value": 241
- },
- "model": "Intel PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:1c.0",
- "sysfs_bus_id": "0000:00:1c.0",
- "resources": [
- {
- "type": "irq",
- "base": 121,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 2,
- "irq": 121,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00008086d0000A114sv00001458sd00005001bc06sc04i00"
- },
- {
- "index": 12,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a143",
- "value": 41283
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "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,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00008086d0000A143sv00001458sd00005001bc06sc01i00"
- },
- {
- "index": 14,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "1901",
- "value": 6401
- },
- "sub_device": {
- "hex": "5000",
- "value": 20480
- },
- "revision": {
- "hex": "0007",
- "value": 7
- },
- "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",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00008086d00001901sv00001458sd00005000bc06sc04i00"
- },
- {
- "index": 15,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a115",
- "value": 41237
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "00f1",
- "value": 241
- },
- "model": "Intel PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:1c.5",
- "sysfs_bus_id": "0000:00:1c.5",
- "resources": [
- {
- "type": "irq",
- "base": 122,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 5,
- "command": 7,
- "header_type": 1,
- "secondary_bus": 3,
- "irq": 122,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00008086d0000A115sv00001458sd00005001bc06sc04i00"
- },
- {
- "index": 19,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "191f",
- "value": 6431
- },
- "sub_device": {
- "hex": "5000",
- "value": 20480
- },
- "revision": {
- "hex": "0007",
- "value": 7
- },
- "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
- },
- "driver": "skl_uncore",
- "driver_module": "intel_uncore",
- "drivers": [
- "skl_uncore"
- ],
- "driver_modules": [
- "intel_uncore"
- ],
- "module_alias": "pci:v00008086d0000191Fsv00001458sd00005000bc06sc00i00"
- },
- {
- "index": 20,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a118",
- "value": 41240
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "00f1",
- "value": 241
- },
- "model": "Intel PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:1d.0",
- "sysfs_bus_id": "0000:00:1d.0",
- "resources": [
- {
- "type": "irq",
- "base": 123,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 5,
- "irq": 123,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00008086d0000A118sv00001458sd00005001bc06sc04i00"
- }
- ],
- "camera": [
- {
- "index": 34,
- "attached_to": 36,
- "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": "145f",
- "name": "AONI ELECTRONIC CO.",
- "value": 5215
- },
- "device": {
- "hex": "0203",
- "name": "Trust USB Camera",
- "value": 515
- },
- "revision": {
- "hex": "0000",
- "name": "10.19",
- "value": 0
- },
- "serial": "AN202010190003",
- "model": "AONI Trust USB Camera",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0",
- "sysfs_bus_id": "1-3: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": 0,
- "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:v145Fp0203d1019dcEFdsc02dp01ic0Eisc01ip00in00"
- },
- {
- "index": 40,
- "attached_to": 36,
- "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": "145f",
- "name": "AONI ELECTRONIC CO.",
- "value": 5215
- },
- "device": {
- "hex": "0203",
- "name": "Trust USB Camera",
- "value": 515
- },
- "revision": {
- "hex": "0000",
- "name": "10.19",
- "value": 0
- },
- "serial": "AN202010190003",
- "model": "AONI Trust USB Camera",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1",
- "sysfs_bus_id": "1-3: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": 0,
- "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:v145Fp0203d1019dcEFdsc02dp01ic0Eisc02ip00in01"
- }
- ],
- "cpu": [
- {
- "architecture": "x86_64",
- "vendor_name": "GenuineIntel",
- "family": 6,
- "model": 94,
- "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",
- "pni",
- "pclmulqdq",
- "dtes64",
- "monitor",
- "ds_cpl",
- "vmx",
- "smx",
- "est",
- "tm2",
- "ssse3",
- "sdbg",
- "fma",
- "cx16",
- "xtpr",
- "pdcm",
- "pcid",
- "sse4_1",
- "sse4_2",
- "x2apic",
- "movbe",
- "popcnt",
- "aes",
- "xsave",
- "avx",
- "f16c",
- "rdrand",
- "lahf_lm",
- "abm",
- "3dnowprefetch",
- "cpuid_fault",
- "pti",
- "tpr_shadow",
- "flexpriority",
- "ept",
- "vpid",
- "ept_ad",
- "fsgsbase",
- "tsc_adjust",
- "bmi1",
- "hle",
- "avx2",
- "smep",
- "bmi2",
- "erms",
- "invpcid",
- "rtm",
- "mpx",
- "rdseed",
- "adx",
- "smap",
- "clflushopt",
- "intel_pt",
- "xsaveopt",
- "xsavec",
- "xgetbv1",
- "xsaves",
- "dtherm",
- "ida",
- "arat",
- "pln",
- "pts",
- "hwp",
- "hwp_notify",
- "hwp_act_window",
- "hwp_epp",
- "vnmi"
- ],
- "bugs": [
- "cpu_meltdown",
- "spectre_v1",
- "spectre_v2",
- "spec_store_bypass",
- "l1tf",
- "mds",
- "swapgs",
- "taa",
- "itlb_multihit",
- "srbds",
- "mmio_stale_data",
- "retbleed",
- "gds"
- ],
- "bogo": 6399.96,
- "cache": 6144,
- "units": 16,
- "physical_id": 0,
- "siblings": 4,
- "cores": 4,
- "fpu": true,
- "fpu_exception": true,
- "cpuid_level": 22,
- "write_protect": false,
- "clflush_size": 64,
- "cache_alignment": 64,
- "address_sizes": {
- "physical": 39,
- "virtual": 48
- }
- }
- ],
- "disk": [
- {
- "index": 27,
- "attached_to": 23,
- "class_list": [
- "disk",
- "usb",
- "scsi",
- "block_device"
- ],
- "bus_type": {
- "hex": "0084",
- "name": "SCSI",
- "value": 132
- },
- "slot": {
- "bus": 5,
- "number": 0
- },
- "base_class": {
- "hex": "0106",
- "name": "Mass Storage Device",
- "value": 262
- },
- "sub_class": {
- "hex": "0000",
- "name": "Disk",
- "value": 0
- },
- "vendor": {
- "hex": "0781",
- "name": "USB",
- "value": 1921
- },
- "device": {
- "hex": "55ab",
- "name": "SanDisk 3.2Gen1",
- "value": 21931
- },
- "revision": {
- "hex": "0000",
- "name": "1.00",
- "value": 0
- },
- "serial": "0401570c9b2d0d0e2606",
- "model": "USB SanDisk 3.2Gen1",
- "sysfs_id": "/class/block/sdd",
- "sysfs_bus_id": "5:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0",
- "unix_device_name": "/dev/sdd",
- "unix_device_number": {
- "type": 98,
- "major": 8,
- "minor": 48,
- "range": 16
- },
- "unix_device_names": [
- "/dev/disk/by-diskseq/13",
- "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_0401570c9b2d0d0e2606c0209a79d144b8ba0d37318074eb2d6b8ddc150b5ee378c60000000000000000000068de47f9ff931b18ab5581075caa5978-0:0",
- "/dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.0-scsi-0:0:0:0",
- "/dev/disk/by-path/pci-0000:00:14.0-usbv3-0:2:1.0-scsi-0:0:0:0",
- "/dev/sdd"
- ],
- "unix_device_name2": "/dev/sg3",
- "unix_device_number2": {
- "type": 99,
- "major": 21,
- "minor": 3,
- "range": 1
- },
- "resources": [
- {
- "type": "disk_geo",
- "cylinders": 58680,
- "heads": 64,
- "sectors": 32,
- "size": 0,
- "geo_type": "logical"
- },
- {
- "type": "size",
- "unit": "sectors",
- "value_1": 120176640,
- "value_2": 512
- }
- ],
- "driver": "usb-storage",
- "driver_module": "usb_storage",
- "drivers": [
- "sd",
- "usb-storage"
- ],
- "driver_modules": [
- "sd_mod",
- "usb_storage"
- ],
- "module_alias": "usb:v0781p55ABd0100dc00dsc00dp00ic08isc06ip50in00"
- },
- {
- "index": 28,
- "attached_to": 9,
- "class_list": [
- "disk",
- "ide",
- "block_device"
- ],
- "bus_type": {
- "hex": "0085",
- "name": "IDE",
- "value": 133
- },
- "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": "0000",
- "name": "INTENSO",
- "value": 0
- },
- "device": {
- "hex": "0000",
- "name": "SSD",
- "value": 0
- },
- "revision": {
- "hex": "0000",
- "name": "4A0",
- "value": 0
- },
- "serial": "1772404001002894",
- "model": "INTENSO SSD",
- "sysfs_id": "/class/block/sdb",
- "sysfs_bus_id": "1:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:17.0/ata2/host1/target1:0:0/1: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-diskseq/10",
- "/dev/disk/by-id/ata-INTENSO_SSD_1772404001002894",
- "/dev/disk/by-path/pci-0000:00:17.0-ata-2",
- "/dev/disk/by-path/pci-0000:00:17.0-ata-2.0",
- "/dev/sdb"
- ],
- "resources": [
- {
- "type": "disk_geo",
- "cylinders": 60801,
- "heads": 255,
- "sectors": 63,
- "size": 0,
- "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"
- ]
- },
- {
- "index": 29,
- "attached_to": 23,
- "class_list": [
- "disk",
- "usb",
- "scsi",
- "block_device"
- ],
- "bus_type": {
- "hex": "0084",
- "name": "SCSI",
- "value": 132
- },
- "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": "058f",
- "name": "Generic",
- "value": 1423
- },
- "device": {
- "hex": "6387",
- "name": "Flash Disk",
- "value": 25479
- },
- "revision": {
- "hex": "0000",
- "name": "8.07",
- "value": 0
- },
- "serial": "E93B092B",
- "model": "Generic Flash Disk",
- "sysfs_id": "/class/block/sdc",
- "sysfs_bus_id": "4:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/host4/target4:0:0/4:0:0:0",
- "unix_device_name": "/dev/sdc",
- "unix_device_number": {
- "type": 98,
- "major": 8,
- "minor": 32,
- "range": 16
- },
- "unix_device_names": [
- "/dev/disk/by-diskseq/11",
- "/dev/disk/by-id/usb-Generic_Flash_Disk_E93B092B-0:0",
- "/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0",
- "/dev/disk/by-path/pci-0000:00:14.0-usbv2-0:1:1.0-scsi-0:0:0:0",
- "/dev/sdc"
- ],
- "unix_device_name2": "/dev/sg2",
- "unix_device_number2": {
- "type": 99,
- "major": 21,
- "minor": 2,
- "range": 1
- },
- "resources": [
- {
- "type": "baud",
- "speed": 480000000,
- "bits": 0,
- "stop_bits": 0,
- "parity": 0,
- "handshake": 0
- },
- {
- "type": "disk_geo",
- "cylinders": 1022,
- "heads": 254,
- "sectors": 62,
- "size": 0,
- "geo_type": "logical"
- },
- {
- "type": "size",
- "unit": "sectors",
- "value_1": 16099328,
- "value_2": 512
- }
- ],
- "driver": "usb-storage",
- "driver_module": "usb_storage",
- "drivers": [
- "sd",
- "usb-storage"
- ],
- "driver_modules": [
- "sd_mod",
- "usb_storage"
- ],
- "module_alias": "usb:v058Fp6387d0112dc00dsc00dp00ic08isc06ip50in00"
- },
- {
- "index": 30,
- "attached_to": 9,
- "class_list": [
- "disk",
- "ide",
- "block_device"
- ],
- "bus_type": {
- "hex": "0085",
- "name": "IDE",
- "value": 133
- },
- "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": "0000",
- "name": "T-FORCE",
- "value": 0
- },
- "device": {
- "hex": "0000",
- "name": "512GB",
- "value": 0
- },
- "revision": {
- "hex": "0000",
- "name": "61.5",
- "value": 0
- },
- "serial": "TPBF2207220010401030",
- "model": "T-FORCE 512GB",
- "sysfs_id": "/class/block/sda",
- "sysfs_bus_id": "0:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0: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-diskseq/9",
- "/dev/disk/by-id/ata-T-FORCE_512GB_TPBF2207220010401030",
- "/dev/disk/by-path/pci-0000:00:17.0-ata-1",
- "/dev/disk/by-path/pci-0000:00:17.0-ata-1.0",
- "/dev/sda"
- ],
- "resources": [
- {
- "type": "disk_geo",
- "cylinders": 62260,
- "heads": 255,
- "sectors": 63,
- "size": 0,
- "geo_type": "logical"
- },
- {
- "type": "size",
- "unit": "sectors",
- "value_1": 1000215216,
- "value_2": 512
- }
- ],
- "driver": "ahci",
- "driver_module": "ahci",
- "drivers": [
- "ahci",
- "sd"
- ],
- "driver_modules": [
- "ahci",
- "sd_mod"
- ]
- }
- ],
- "graphics_card": [
- {
- "index": 17,
- "attached_to": 14,
- "class_list": [
- "graphics_card",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 1,
- "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": "10de",
- "name": "nVidia Corporation",
- "value": 4318
- },
- "sub_vendor": {
- "hex": "1462",
- "value": 5218
- },
- "device": {
- "hex": "1c02",
- "value": 7170
- },
- "sub_device": {
- "hex": "3285",
- "value": 12933
- },
- "revision": {
- "hex": "00a1",
- "value": 161
- },
- "model": "nVidia VGA compatible controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.0/0000:01:00.0",
- "sysfs_bus_id": "0000:01:00.0",
- "resources": [
- {
- "type": "io",
- "base": 57344,
- "range": 128,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "irq",
- "base": 129,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3221225472,
- "range": 268435456,
- "enabled": true,
- "access": "read_only",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 3489660928,
- "range": 33554432,
- "enabled": true,
- "access": "read_only",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 3724541952,
- "range": 16777216,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 786432,
- "range": 131072,
- "enabled": false,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 129,
- "prog_if": 0
- },
- "driver": "nouveau",
- "driver_module": "nouveau",
- "drivers": [
- "nouveau"
- ],
- "driver_modules": [
- "nouveau"
- ],
- "module_alias": "pci:v000010DEd00001C02sv00001462sd00003285bc03sc00i00"
- }
- ],
- "hub": [
- {
- "index": 36,
- "attached_to": 23,
- "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.6.56 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0002",
- "name": "xHCI Host Controller",
- "value": 2
- },
- "revision": {
- "hex": "0000",
- "name": "6.06",
- "value": 0
- },
- "serial": "0000:00:14.0",
- "model": "Linux 6.6.56 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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00"
- },
- {
- "index": 42,
- "attached_to": 23,
- "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.6.56 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0003",
- "name": "xHCI Host Controller",
- "value": 3
- },
- "revision": {
- "hex": "0000",
- "name": "6.06",
- "value": 0
- },
- "serial": "0000:00:14.0",
- "model": "Linux 6.6.56 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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00"
- }
- ],
- "keyboard": [
- {
- "index": 31,
- "attached_to": 36,
- "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": "258a",
- "name": "SINOWEALTH",
- "value": 9610
- },
- "device": {
- "hex": "1007",
- "name": "Wired Gaming Mouse",
- "value": 4103
- },
- "revision": {
- "hex": "0000",
- "name": "1.01",
- "value": 0
- },
- "model": "SINOWEALTH Wired Gaming Mouse",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1",
- "sysfs_bus_id": "1-4: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-SINOWEALTH_Wired_Gaming_Mouse-if01-event-kbd",
- "/dev/input/by-path/pci-0000:00:14.0-usb-0:4:1.1-event-kbd",
- "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:4: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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_protocol": 1,
- "interface_number": 1,
- "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:v258Ap1007d0101dc00dsc00dp00ic03isc01ip01in01"
- },
- {
- "index": 32,
- "attached_to": 36,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c34b",
- "name": "USB Keyboard",
- "value": 49995
- },
- "revision": {
- "hex": "0000",
- "name": "62.00",
- "value": 0
- },
- "model": "Logitech USB Keyboard",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0",
- "sysfs_bus_id": "1-6:1.0",
- "unix_device_name": "/dev/input/event2",
- "unix_device_number": {
- "type": 99,
- "major": 13,
- "minor": 66,
- "range": 1
- },
- "unix_device_names": [
- "/dev/input/by-id/usb-Logitech_USB_Keyboard-event-kbd",
- "/dev/input/by-path/pci-0000:00:14.0-usb-0:6:1.0-event-kbd",
- "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:6:1.0-event-kbd",
- "/dev/input/event2"
- ],
- "resources": [
- {
- "type": "baud",
- "speed": 1500000,
- "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:v046DpC34Bd6200dc00dsc00dp00ic03isc01ip01in00"
- }
- ],
- "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": "mem",
- "base": 0,
- "range": 16727728128,
- "enabled": true,
- "access": "read_write",
- "prefetch": "unknown"
- },
- {
- "type": "phys_mem",
- "range": 17179869184
- }
- ]
- }
- ],
- "monitor": [
- {
- "index": 25,
- "attached_to": 17,
- "class_list": [
- "monitor"
- ],
- "base_class": {
- "hex": "0100",
- "name": "Monitor",
- "value": 256
- },
- "sub_class": {
- "hex": "0002",
- "name": "LCD Monitor",
- "value": 2
- },
- "vendor": {
- "hex": "410c",
- "name": "PHILIPS",
- "value": 16652
- },
- "device": {
- "hex": "c155",
- "name": "PHL 243V7",
- "value": 49493
- },
- "serial": "3583",
- "model": "PHILIPS PHL 243V7",
- "resources": [
- {
- "type": "monitor",
- "width": 1024,
- "height": 768,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 1024,
- "height": 768,
- "vertical_frequency": 70,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 1024,
- "height": 768,
- "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": 1920,
- "height": 1080,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 640,
- "height": 480,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 640,
- "height": 480,
- "vertical_frequency": 67,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 640,
- "height": 480,
- "vertical_frequency": 72,
- "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": 56,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 72,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 75,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 832,
- "height": 624,
- "vertical_frequency": 75,
- "interlaced": false
- },
- {
- "type": "size",
- "unit": "mm",
- "value_1": 527,
- "value_2": 296
- }
- ],
- "detail": {
- "manufacture_year": 2022,
- "manufacture_week": 45,
- "vertical_sync": {
- "min": 50,
- "max": 76
- },
- "horizontal_sync": {
- "min": 30,
- "max": 83
- },
- "horizontal_sync_timings": {
- "disp": 1920,
- "sync_start": 1968,
- "sync_end": 2000,
- "total": 2080
- },
- "vertical_sync_timings": {
- "disp": 1080,
- "sync_start": 1083,
- "sync_end": 1088,
- "total": 1119
- },
- "clock": 174500,
- "width": 1920,
- "height": 1080,
- "width_millimetres": 527,
- "height_millimetres": 296,
- "horizontal_flag": 45,
- "vertical_flag": 43,
- "vendor": "",
- "name": "PHL 243V7"
- },
- "driver_info": {
- "type": "display",
- "width": 1920,
- "height": 1080,
- "vertical_sync": {
- "min": 50,
- "max": 76
- },
- "horizontal_sync": {
- "min": 30,
- "max": 83
- },
- "bandwidth": 0,
- "horizontal_sync_timings": {
- "disp": 1920,
- "sync_start": 1968,
- "sync_end": 2000,
- "total": 2080
- },
- "vertical_sync_timings": {
- "disp": 1080,
- "sync_start": 1083,
- "sync_end": 1088,
- "total": 1119
- },
- "horizontal_flag": 45,
- "vertical_flag": 43
- }
- }
- ],
- "mouse": [
- {
- "index": 38,
- "attached_to": 36,
- "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": "258a",
- "name": "SINOWEALTH",
- "value": 9610
- },
- "device": {
- "hex": "1007",
- "name": "Wired Gaming Mouse",
- "value": 4103
- },
- "revision": {
- "hex": "0000",
- "name": "1.01",
- "value": 0
- },
- "compat_vendor": "Unknown",
- "compat_device": "Generic USB Mouse",
- "model": "SINOWEALTH Wired Gaming Mouse",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0",
- "sysfs_bus_id": "1-4: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:v258Ap1007d0101dc00dsc00dp00ic03isc01ip02in00"
- }
- ],
- "network_controller": [
- {
- "index": 13,
- "attached_to": 11,
- "class_list": [
- "network_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 2,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "8168",
- "value": 33128
- },
- "sub_device": {
- "hex": "e000",
- "value": 57344
- },
- "revision": {
- "hex": "000c",
- "value": 12
- },
- "model": "Ethernet controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:1c.0/0000:02:00.0",
- "sysfs_bus_id": "0000:02:00.0",
- "unix_device_name": "enp2s0",
- "unix_device_names": [
- "enp2s0"
- ],
- "resources": [
- {
- "type": "hwaddr",
- "address": 49
- },
- {
- "type": "io",
- "base": 53248,
- "range": 256,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "irq",
- "base": 16,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3524263936,
- "range": 16384,
- "enabled": true,
- "access": "read_only",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 3742367744,
- "range": 4096,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "phwaddr",
- "address": 49
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 16,
- "prog_if": 0
- },
- "driver": "r8169",
- "driver_module": "r8169",
- "drivers": [
- "r8169"
- ],
- "driver_modules": [
- "r8169"
- ],
- "module_alias": "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00"
- },
- {
- "index": 43,
- "attached_to": 36,
- "class_list": [
- "network_controller",
- "usb",
- "wlan_card"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0002",
- "name": "Network controller",
- "value": 2
- },
- "sub_class": {
- "hex": "0082",
- "name": "WLAN controller",
- "value": 130
- },
- "vendor": {
- "hex": "148f",
- "name": "MediaTek",
- "value": 5263
- },
- "device": {
- "hex": "7601",
- "name": "802.11 n WLAN",
- "value": 30209
- },
- "serial": "1.0",
- "model": "MediaTek 802.11 n WLAN",
- "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": "wlp0s20f0u5",
- "unix_device_names": [
- "wlp0s20f0u5"
- ],
- "resources": [
- {
- "type": "baud",
- "speed": 480000000,
- "bits": 0,
- "stop_bits": 0,
- "parity": 0,
- "handshake": 0
- },
- {
- "type": "hwaddr",
- "address": 57
- },
- {
- "type": "phwaddr",
- "address": 57
- },
- {
- "type": "wlan",
- "channels": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13"
- ],
- "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"
- ],
- "auth_modes": [
- "open",
- "sharedkey",
- "wpa-psk",
- "wpa-eap"
- ],
- "enc_modes": [
- "WEP40",
- "WEP104",
- "TKIP",
- "CCMP"
- ]
- }
- ],
- "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": "00ff",
- "name": "vendor_spec",
- "value": 255
- },
- "interface_subclass": {
- "hex": "00ff",
- "name": "vendor_spec",
- "value": 255
- },
- "interface_protocol": 255,
- "interface_number": 0,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "driver": "mt7601u",
- "driver_module": "mt7601u",
- "drivers": [
- "mt7601u"
- ],
- "driver_modules": [
- "mt7601u"
- ],
- "module_alias": "usb:v148Fp7601d0000dc00dsc00dp00icFFiscFFipFFin00"
- }
- ],
- "network_interface": [
- {
- "index": 44,
- "attached_to": 43,
- "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/wlp0s20f0u5",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0",
- "unix_device_name": "wlp0s20f0u5",
- "unix_device_names": [
- "wlp0s20f0u5"
- ],
- "resources": [
- {
- "type": "hwaddr",
- "address": 57
- },
- {
- "type": "phwaddr",
- "address": 57
- }
- ],
- "driver": "mt7601u",
- "driver_module": "mt7601u",
- "drivers": [
- "mt7601u"
- ],
- "driver_modules": [
- "mt7601u"
- ]
- },
- {
- "index": 45,
- "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": 46,
- "attached_to": 13,
- "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/enp2s0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.0/0000:02:00.0",
- "unix_device_name": "enp2s0",
- "unix_device_names": [
- "enp2s0"
- ],
- "resources": [
- {
- "type": "hwaddr",
- "address": 49
- },
- {
- "type": "phwaddr",
- "address": 49
- }
- ],
- "driver": "r8169",
- "driver_module": "r8169",
- "drivers": [
- "r8169"
- ],
- "driver_modules": [
- "r8169"
- ]
- }
- ],
- "pci": [
- {
- "index": 10,
- "attached_to": 0,
- "class_list": [
- "pci",
- "unknown"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 31
- },
- "base_class": {
- "hex": "0005",
- "name": "Memory controller",
- "value": 5
- },
- "sub_class": {
- "hex": "0080",
- "name": "Memory controller",
- "value": 128
- },
- "vendor": {
- "hex": "8086",
- "name": "Intel Corporation",
- "value": 32902
- },
- "sub_vendor": {
- "hex": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a121",
- "value": 41249
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "model": "Intel Memory controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:1f.2",
- "sysfs_bus_id": "0000:00:1f.2",
- "resources": [
- {
- "type": "mem",
- "base": 3743563776,
- "range": 16384,
- "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:v00008086d0000A121sv00001458sd00005001bc05sc80i00"
- },
- {
- "index": 16,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a13a",
- "value": 41274
- },
- "sub_device": {
- "hex": "1c3a",
- "value": 7226
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "model": "Intel Communication controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:16.0",
- "sysfs_bus_id": "0000:00:16.0",
- "resources": [
- {
- "type": "irq",
- "base": 126,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3743600640,
- "range": 4096,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 0,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 126,
- "prog_if": 0
- },
- "driver": "mei_me",
- "driver_module": "mei_me",
- "drivers": [
- "mei_me"
- ],
- "driver_modules": [
- "mei_me"
- ],
- "module_alias": "pci:v00008086d0000A13Asv00001458sd00001C3Abc07sc80i00"
- },
- {
- "index": 22,
- "attached_to": 0,
- "class_list": [
- "pci",
- "unknown"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 20
- },
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a131",
- "value": 41265
- },
- "sub_device": {
- "hex": "8888",
- "value": 34952
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "model": "Intel Signal processing controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.2",
- "sysfs_bus_id": "0000:00:14.2",
- "resources": [
- {
- "type": "irq",
- "base": 18,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3743604736,
- "range": 4096,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 2,
- "command": 2,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 18,
- "prog_if": 0
- },
- "driver": "intel_pch_thermal",
- "driver_module": "intel_pch_thermal",
- "drivers": [
- "intel_pch_thermal"
- ],
- "driver_modules": [
- "intel_pch_thermal"
- ],
- "module_alias": "pci:v00008086d0000A131sv00001458sd00008888bc11sc80i00"
- },
- {
- "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": "0005",
- "name": "SMBus",
- "value": 5
- },
- "vendor": {
- "hex": "8086",
- "name": "Intel Corporation",
- "value": 32902
- },
- "sub_vendor": {
- "hex": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a123",
- "value": 41251
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "model": "Intel SMBus",
- "sysfs_id": "/devices/pci0000:00/0000:00:1f.4",
- "sysfs_bus_id": "0000:00:1f.4",
- "resources": [
- {
- "type": "io",
- "base": 61440,
- "range": 32,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "irq",
- "base": 16,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3743588352,
- "range": 256,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 4,
- "command": 3,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 16,
- "prog_if": 0
- },
- "driver": "i801_smbus",
- "driver_module": "i2c_i801",
- "drivers": [
- "i801_smbus"
- ],
- "driver_modules": [
- "i2c_i801"
- ],
- "module_alias": "pci:v00008086d0000A123sv00001458sd00005001bc0Csc05i00"
- }
- ],
- "sound": [
- {
- "index": 18,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a170",
- "value": 41328
- },
- "sub_device": {
- "hex": "a182",
- "value": 41346
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "model": "Intel Multimedia controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:1f.3",
- "sysfs_bus_id": "0000:00:1f.3",
- "resources": [
- {
- "type": "irq",
- "base": 127,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3743416320,
- "range": 65536,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 3743547392,
- "range": 16384,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 3,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 127,
- "prog_if": 0
- },
- "driver": "snd_hda_intel",
- "driver_module": "snd_hda_intel",
- "drivers": [
- "snd_hda_intel"
- ],
- "driver_modules": [
- "snd_hda_intel"
- ],
- "module_alias": "pci:v00008086d0000A170sv00001458sd0000A182bc04sc03i00"
- },
- {
- "index": 21,
- "attached_to": 14,
- "class_list": [
- "sound",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 1,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0003",
- "value": 3
- },
- "vendor": {
- "hex": "10de",
- "name": "nVidia Corporation",
- "value": 4318
- },
- "sub_vendor": {
- "hex": "1462",
- "value": 5218
- },
- "device": {
- "hex": "10f1",
- "value": 4337
- },
- "sub_device": {
- "hex": "3285",
- "value": 12933
- },
- "revision": {
- "hex": "00a1",
- "value": 161
- },
- "model": "nVidia Multimedia controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.0/0000:01:00.1",
- "sysfs_bus_id": "0000:01:00.1",
- "resources": [
- {
- "type": "irq",
- "base": 17,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3741843456,
- "range": 16384,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 1,
- "command": 6,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 17,
- "prog_if": 0
- },
- "driver": "snd_hda_intel",
- "driver_module": "snd_hda_intel",
- "drivers": [
- "snd_hda_intel"
- ],
- "driver_modules": [
- "snd_hda_intel"
- ],
- "module_alias": "pci:v000010DEd000010F1sv00001462sd00003285bc04sc03i00"
- },
- {
- "index": 33,
- "attached_to": 36,
- "class_list": [
- "sound",
- "usb"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0001",
- "name": "Multimedia audio controller",
- "value": 1
- },
- "vendor": {
- "hex": "145f",
- "name": "AONI ELECTRONIC CO.",
- "value": 5215
- },
- "device": {
- "hex": "0203",
- "name": "Trust USB Camera",
- "value": 515
- },
- "revision": {
- "hex": "0000",
- "name": "10.19",
- "value": 0
- },
- "serial": "AN202010190003",
- "model": "AONI Trust USB Camera",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.2",
- "sysfs_bus_id": "1-3:1.2",
- "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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_subclass": {
- "hex": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_protocol": 0,
- "interface_number": 2,
- "interface_alternate_setting": 0,
- "interface_association": {
- "function_class": {
- "hex": "0001",
- "name": "audio",
- "value": 1
- },
- "function_subclass": {
- "hex": "0002",
- "name": "comm",
- "value": 2
- },
- "function_protocol": 0,
- "interface_count": 2,
- "first_interface": 2
- }
- },
- "hotplug": "usb",
- "driver": "snd-usb-audio",
- "driver_module": "snd_usb_audio",
- "drivers": [
- "snd-usb-audio"
- ],
- "driver_modules": [
- "snd_usb_audio"
- ],
- "module_alias": "usb:v145Fp0203d1019dcEFdsc02dp01ic01isc01ip00in02"
- },
- {
- "index": 39,
- "attached_to": 36,
- "class_list": [
- "sound",
- "usb"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0001",
- "name": "Multimedia audio controller",
- "value": 1
- },
- "vendor": {
- "hex": "145f",
- "name": "AONI ELECTRONIC CO.",
- "value": 5215
- },
- "device": {
- "hex": "0203",
- "name": "Trust USB Camera",
- "value": 515
- },
- "revision": {
- "hex": "0000",
- "name": "10.19",
- "value": 0
- },
- "serial": "AN202010190003",
- "model": "AONI Trust USB Camera",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3",
- "sysfs_bus_id": "1-3:1.3",
- "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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_subclass": {
- "hex": "0002",
- "name": "comm",
- "value": 2
- },
- "interface_protocol": 0,
- "interface_number": 3,
- "interface_alternate_setting": 0,
- "interface_association": {
- "function_class": {
- "hex": "0001",
- "name": "audio",
- "value": 1
- },
- "function_subclass": {
- "hex": "0002",
- "name": "comm",
- "value": 2
- },
- "function_protocol": 0,
- "interface_count": 2,
- "first_interface": 2
- }
- },
- "hotplug": "usb",
- "driver": "snd-usb-audio",
- "driver_module": "snd_usb_audio",
- "drivers": [
- "snd-usb-audio"
- ],
- "driver_modules": [
- "snd_usb_audio"
- ],
- "module_alias": "usb:v145Fp0203d1019dcEFdsc02dp01ic01isc02ip00in03"
- }
- ],
- "storage_controller": [
- {
- "index": 9,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a102",
- "value": 41218
- },
- "sub_device": {
- "hex": "b005",
- "value": 45061
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "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": 61472,
- "range": 32,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "io",
- "base": 61504,
- "range": 4,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "io",
- "base": 61520,
- "range": 8,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "irq",
- "base": 124,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3743580160,
- "range": 8192,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 3743592448,
- "range": 2048,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 3743596544,
- "range": 256,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 124,
- "prog_if": 1
- },
- "driver": "ahci",
- "driver_module": "ahci",
- "drivers": [
- "ahci"
- ],
- "driver_modules": [
- "ahci"
- ],
- "module_alias": "pci:v00008086d0000A102sv00001458sd0000B005bc01sc06i01"
- }
- ],
- "system": {
- "form_factor": "desktop"
- },
- "unknown": [
- {
- "index": 26,
- "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": 37,
- "attached_to": 36,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c34b",
- "name": "USB Keyboard",
- "value": 49995
- },
- "revision": {
- "hex": "0000",
- "name": "62.00",
- "value": 0
- },
- "model": "Logitech USB Keyboard",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1",
- "sysfs_bus_id": "1-6:1.1",
- "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-Logitech_USB_Keyboard-event-if01",
- "/dev/input/by-path/pci-0000:00:14.0-usb-0:6:1.1-event",
- "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:6:1.1-event",
- "/dev/input/event3"
- ],
- "resources": [
- {
- "type": "baud",
- "speed": 1500000,
- "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:v046DpC34Bd6200dc00dsc00dp00ic03isc00ip00in01"
- }
- ],
- "usb_controller": [
- {
- "index": 23,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "a12f",
- "value": 41263
- },
- "sub_device": {
- "hex": "5007",
- "value": 20487
- },
- "revision": {
- "hex": "0031",
- "value": 49
- },
- "model": "Intel USB Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0",
- "sysfs_bus_id": "0000:00:14.0",
- "resources": [
- {
- "type": "irq",
- "base": 125,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 3743481856,
- "range": 65536,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 0,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 125,
- "prog_if": 48
- },
- "driver": "xhci_hcd",
- "driver_module": "xhci_pci",
- "drivers": [
- "xhci_hcd"
- ],
- "driver_modules": [
- "xhci_pci"
- ],
- "module_alias": "pci:v00008086d0000A12Fsv00001458sd00005007bc0Csc03i30"
- }
- ]
- },
- "smbios": {
- "bios": {
- "handle": 0,
- "vendor": "American Megatrends Inc.",
- "version": "F2",
- "date": "03/16/2016",
- "features": [
- "PCI supported",
- "BIOS flashable",
- "BIOS shadowing allowed",
- "CD boot supported",
- "Selectable boot supported",
- "BIOS ROM socketed",
- "EDD spec supported",
- "1.2MB Floppy supported",
- "720kB Floppy supported",
- "2.88MB Floppy supported",
- "Print Screen supported",
- "Serial Services supported",
- "Printer Services supported",
- "ACPI supported",
- "USB Legacy supported",
- "BIOS Boot Spec supported"
- ],
- "start_address": "0xf0000",
- "rom_size": 8388608
- },
- "board": {
- "handle": 2,
- "manufacturer": "Gigabyte Technology Co., Ltd.",
- "product": "H110-D3-CF",
- "version": "x.x",
- "board_type": {
- "hex": "000a",
- "name": "Motherboard",
- "value": 10
- },
- "features": [
- "Hosting Board",
- "Replaceable"
- ],
- "location": "To be filled by O.E.M.",
- "chassis": 3
- },
- "cache": [
- {
- "handle": 61,
- "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": 62,
- "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": "0003",
- "name": "Instruction",
- "value": 3
- },
- "associativity": {
- "hex": "0007",
- "name": "8-way Set-Associative",
- "value": 7
- },
- "sram_type_current": [
- "Synchronous"
- ],
- "sram_type_supported": [
- "Synchronous"
- ]
- },
- {
- "handle": 63,
- "socket": "L2 Cache",
- "size_max": 1024,
- "size_current": 1024,
- "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": "0005",
- "name": "4-way Set-Associative",
- "value": 5
- },
- "sram_type_current": [
- "Synchronous"
- ],
- "sram_type_supported": [
- "Synchronous"
- ]
- },
- {
- "handle": 64,
- "socket": "L3 Cache",
- "size_max": 6144,
- "size_current": 6144,
- "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": "0009",
- "name": "Other",
- "value": 9
- },
- "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"
- },
- "config": {
- "handle": 35,
- "options": [
- "To Be Filled By O.E.M."
- ]
- },
- "group_associations": [
- {
- "handle": 83,
- "name": "Firmware Version Info",
- "handles": [
- 330712481864,
- 335007449165,
- 339302416462,
- 343597383759,
- 347892351056,
- 141733920849
- ]
- },
- {
- "handle": 85,
- "name": "$MEI",
- "handles": [
- 0
- ]
- }
- ],
- "language": [
- {
- "handle": 84,
- "languages": [
- "en|US|iso8859-1",
- "zh|CN|unicode",
- "zh|CN|unicode",
- "ru|RU|iso8859-5",
- "de|DE|iso8859-1",
- "ja|JP|unicode",
- "ko|KR|unicode",
- "es|ES|iso8859-1",
- "fr|FR|iso8859-1",
- "sv|SE|iso8859-1",
- "it|IT|iso8859-1",
- "pt|PT|iso8859-1",
- "vi|VI|iso8859-1",
- "id|ID|iso8859-1",
- "ar|AR|iso8859-1",
- "th|TH|iso8859-1",
- "tr|TR|iso8859-1",
- "pl|PL|iso8859-1",
- "fa|FA|iso8859-1"
- ]
- }
- ],
- "memory_array": [
- {
- "handle": 66,
- "location": {
- "hex": "0003",
- "name": "Motherboard",
- "value": 3
- },
- "usage": {
- "hex": "0003",
- "name": "System memory",
- "value": 3
- },
- "ecc": {
- "hex": "0003",
- "name": "None",
- "value": 3
- },
- "max_size": 67108864,
- "error_handle": 65534,
- "slots": 4
- }
- ],
- "memory_array_mapped_address": [
- {
- "handle": 71,
- "array_handle": 66,
- "start_address": 0,
- "end_address": 17179869184,
- "part_width": 2
- }
- ],
- "memory_device": [
- {
- "handle": 67,
- "location": "ChannelA-DIMM0",
- "bank_location": "BANK 0",
- "manufacturer": "Kingston",
- "part_number": "KHX2133C14D4/8G",
- "array_handle": 66,
- "error_handle": 65534,
- "width": 64,
- "ecc_bits": 0,
- "size": 8388608,
- "form_factor": {
- "hex": "0009",
- "name": "DIMM",
- "value": 9
- },
- "set": 0,
- "memory_type": {
- "hex": "001a",
- "name": "Other",
- "value": 26
- },
- "memory_type_details": [
- "Synchronous"
- ],
- "speed": 2133
- },
- {
- "handle": 68,
- "location": "ChannelA-DIMM1",
- "bank_location": "BANK 1",
- "manufacturer": "",
- "part_number": "",
- "array_handle": 66,
- "error_handle": 65534,
- "width": 0,
- "ecc_bits": 0,
- "size": 0,
- "form_factor": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "set": 0,
- "memory_type": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "memory_type_details": null,
- "speed": 0
- },
- {
- "handle": 69,
- "location": "ChannelB-DIMM0",
- "bank_location": "BANK 2",
- "manufacturer": "Kingston",
- "part_number": "KHX2133C14D4/8G",
- "array_handle": 66,
- "error_handle": 65534,
- "width": 64,
- "ecc_bits": 0,
- "size": 8388608,
- "form_factor": {
- "hex": "0009",
- "name": "DIMM",
- "value": 9
- },
- "set": 0,
- "memory_type": {
- "hex": "001a",
- "name": "Other",
- "value": 26
- },
- "memory_type_details": [
- "Synchronous"
- ],
- "speed": 2133
- },
- {
- "handle": 70,
- "location": "ChannelB-DIMM1",
- "bank_location": "BANK 3",
- "manufacturer": "",
- "part_number": "",
- "array_handle": 66,
- "error_handle": 65534,
- "width": 0,
- "ecc_bits": 0,
- "size": 0,
- "form_factor": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "set": 0,
- "memory_type": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "memory_type_details": null,
- "speed": 0
- }
- ],
- "memory_device_mapped_address": [
- {
- "handle": 73,
- "memory_device_handle": 67,
- "array_map_handle": 71,
- "start_address": 0,
- "end_address": 8589934592,
- "row_position": 255,
- "interleave_position": 1,
- "interleave_depth": 2
- },
- {
- "handle": 74,
- "memory_device_handle": 69,
- "array_map_handle": 71,
- "start_address": 8589934592,
- "end_address": 17179869184,
- "row_position": 255,
- "interleave_position": 2,
- "interleave_depth": 2
- }
- ],
- "onboard": [
- {
- "handle": 33,
- "devices": [
- {
- "name": "To Be Filled By O.E.M.",
- "type": {
- "hex": "0003",
- "name": "Video",
- "value": 3
- },
- "enabled": true
- }
- ]
- }
- ],
- "port_connector": [
- {
- "handle": 4,
- "port_type": {
- "hex": "000e",
- "name": "Mouse Port",
- "value": 14
- },
- "internal_reference_designator": "J1A1",
- "external_connector_type": {
- "hex": "000f",
- "name": "PS/2",
- "value": 15
- },
- "external_reference_designator": "PS2Mouse"
- },
- {
- "handle": 5,
- "port_type": {
- "hex": "000d",
- "name": "Keyboard Port",
- "value": 13
- },
- "internal_reference_designator": "J1A1",
- "external_connector_type": {
- "hex": "000f",
- "name": "PS/2",
- "value": 15
- },
- "external_reference_designator": "Keyboard"
- },
- {
- "handle": 6,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J2A1",
- "external_connector_type": {
- "hex": "001d",
- "name": "Mini-Centronics Type-14",
- "value": 29
- },
- "external_reference_designator": "TV Out"
- },
- {
- "handle": 7,
- "port_type": {
- "hex": "0009",
- "name": "Serial Port 16550A Compatible",
- "value": 9
- },
- "internal_reference_designator": "J2A2A",
- "external_connector_type": {
- "hex": "0008",
- "name": "DB-9 pin male",
- "value": 8
- },
- "external_reference_designator": "COM A"
- },
- {
- "handle": 8,
- "port_type": {
- "hex": "001c",
- "name": "Video Port",
- "value": 28
- },
- "internal_reference_designator": "J2A2B",
- "external_connector_type": {
- "hex": "0007",
- "name": "DB-15 pin female",
- "value": 7
- },
- "external_reference_designator": "Video"
- },
- {
- "handle": 9,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J3A1",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB1"
- },
- {
- "handle": 10,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J3A1",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB2"
- },
- {
- "handle": 11,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J3A1",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB3"
- },
- {
- "handle": 12,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J9A1 - TPM HDR"
- },
- {
- "handle": 13,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J9C1 - PCIE DOCKING CONN"
- },
- {
- "handle": 14,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J2B3 - CPU FAN"
- },
- {
- "handle": 15,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J6C2 - EXT HDMI"
- },
- {
- "handle": 16,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J3C1 - GMCH FAN"
- },
- {
- "handle": 17,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J1D1 - ITP"
- },
- {
- "handle": 18,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J9E2 - MDC INTPSR"
- },
- {
- "handle": 19,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J9E4 - MDC INTPSR"
- },
- {
- "handle": 20,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J9E3 - LPC HOT DOCKING"
- },
- {
- "handle": 21,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J9E1 - SCAN MATRIX"
- },
- {
- "handle": 22,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J9G1 - LPC SIDE BAND"
- },
- {
- "handle": 23,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J8F1 - UNIFIED"
- },
- {
- "handle": 24,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J6F1 - LVDS"
- },
- {
- "handle": 25,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J2F1 - LAI FAN"
- },
- {
- "handle": 26,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J2G1 - GFX VID"
- },
- {
- "handle": 27,
- "port_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_connector_type": {
- "hex": "00ff",
- "name": "Other",
- "value": 255
- },
- "internal_reference_designator": "J1G6 - AC JACK"
- }
- ],
- "processor": [
- {
- "handle": 65,
- "socket": "U3E1",
- "socket_type": {
- "hex": "0001",
- "name": "Other",
- "value": 1
- },
- "socket_populated": true,
- "manufacturer": "Intel(R) Corporation",
- "version": "Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz",
- "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": 3200,
- "cache_handle_l1": 62,
- "cache_handle_l2": 63,
- "cache_handle_l3": 64
- }
- ],
- "slot": [
- {
- "handle": 28,
- "designation": "J6B2",
- "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": 0,
- "features": [
- "3.3 V",
- "Shared",
- "PME#"
- ]
- },
- {
- "handle": 29,
- "designation": "J6B1",
- "slot_type": {
- "hex": "00a5",
- "name": "Other",
- "value": 165
- },
- "bus_width": {
- "hex": "0008",
- "name": "Other",
- "value": 8
- },
- "usage": {
- "hex": "0004",
- "name": "In Use",
- "value": 4
- },
- "length": {
- "hex": "0003",
- "name": "Short",
- "value": 3
- },
- "id": 1,
- "features": [
- "3.3 V",
- "Shared",
- "PME#"
- ]
- },
- {
- "handle": 30,
- "designation": "J6D1",
- "slot_type": {
- "hex": "00a5",
- "name": "Other",
- "value": 165
- },
- "bus_width": {
- "hex": "0008",
- "name": "Other",
- "value": 8
- },
- "usage": {
- "hex": "0004",
- "name": "In Use",
- "value": 4
- },
- "length": {
- "hex": "0003",
- "name": "Short",
- "value": 3
- },
- "id": 2,
- "features": [
- "3.3 V",
- "Shared",
- "PME#"
- ]
- },
- {
- "handle": 31,
- "designation": "J7B1",
- "slot_type": {
- "hex": "00a5",
- "name": "Other",
- "value": 165
- },
- "bus_width": {
- "hex": "0008",
- "name": "Other",
- "value": 8
- },
- "usage": {
- "hex": "0004",
- "name": "In Use",
- "value": 4
- },
- "length": {
- "hex": "0003",
- "name": "Short",
- "value": 3
- },
- "id": 3,
- "features": [
- "3.3 V",
- "Shared",
- "PME#"
- ]
- },
- {
- "handle": 32,
- "designation": "J8B4",
- "slot_type": {
- "hex": "00a5",
- "name": "Other",
- "value": 165
- },
- "bus_width": {
- "hex": "0008",
- "name": "Other",
- "value": 8
- },
- "usage": {
- "hex": "0004",
- "name": "In Use",
- "value": 4
- },
- "length": {
- "hex": "0003",
- "name": "Short",
- "value": 3
- },
- "id": 4,
- "features": [
- "3.3 V",
- "Shared",
- "PME#"
- ]
- }
- ],
- "system": {
- "handle": 1,
- "manufacturer": "Gigabyte Technology Co., Ltd.",
- "product": "To be filled by O.E.M.",
- "version": "To be filled by O.E.M.",
- "wake_up": {
- "hex": "0006",
- "name": "Power Switch",
- "value": 6
- }
- }
- }
-}
\ No newline at end of file
diff --git a/nixos/hosts/android/default.nix b/nixos/hosts/android/default.nix
deleted file mode 100644
index be35f0b..0000000
--- a/nixos/hosts/android/default.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- pkgs,
- inputs,
- ...
-}: {
- imports = [
- ];
- environment.packages = with pkgs; [
- neovim
- git
- fastfetch
- asciiquarium
- cmatrix
- #inputs.neovim.packages.aarch64-linux.default
-
- (pkgs.writeShellScriptBin "droid-switch" ''
- nix-on-droid switch --flake /data/data/com.termux.nix/files/home/nixos-config
- '')
- inputs.emacs-kylekrein.packages.aarch64-linux.default
- ];
- home-manager = {
- config = ./home.nix;
- useGlobalPkgs = true;
- };
-
- system.stateVersion = "24.05";
-}
diff --git a/nixos/hosts/android/home.nix b/nixos/hosts/android/home.nix
deleted file mode 100644
index b79b483..0000000
--- a/nixos/hosts/android/home.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- pkgs,
- config,
- lib,
- ...
-}: {
- imports = [
- #../../modules/nixvim
- ../../homes/kylekrein/git.nix
- ];
- home.activation = {
- copyFont = let
- font_src = "${pkgs.nerd-fonts.fira-code}/share/fonts/truetype/NerdFonts/FiraCode/FiraCodeNerdFont-Regular.ttf";
- font_dst = "${config.home.homeDirectory}/.termux/font.ttf";
- in
- lib.hm.dag.entryAfter ["writeBoundary"] ''
- ( test ! -e "${font_dst}" || test $(sha1sum "${font_src}"|cut -d' ' -f1 ) != $(sha1sum "${font_dst}" |cut -d' ' -f1)) && $DRY_RUN_CMD install $VERBOSE_ARG -D "${font_src}" "${font_dst}"
- '';
- };
-
- home.stateVersion = "24.05";
-}
diff --git a/nixos/hosts/kylekrein-air/default.nix b/nixos/hosts/kylekrein-air/default.nix
deleted file mode 100644
index 5749fbf..0000000
--- a/nixos/hosts/kylekrein-air/default.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- self,
- pkgs,
- inputs,
- ...
-}: {
- # List packages installed in system profile. To search by name, run:
- # $ nix-env -qaP | grep wget
- environment.systemPackages = with pkgs; [
- neovim
- kitty
- yazi
- inputs.neovim.packages.${pkgs.system}.default
- ];
-
- # Necessary for using flakes on this system.
- nix.settings.experimental-features = "nix-command flakes";
-
- # Enable alternative shell support in nix-darwin.
- # programs.fish.enable = true;
-
- # Set Git commit hash for darwin-version.
- system.configurationRevision = self.rev or self.dirtyRev or null;
-
- # Used for backwards compatibility, please read the changelog before changing.
- # $ darwin-rebuild changelog
- system.stateVersion = 5;
-
- # The platform the configuration will be used on.
- nixpkgs.hostPlatform = "aarch64-darwin";
-}
diff --git a/nixos/hosts/kylekrein-framework12/default.nix b/nixos/hosts/kylekrein-framework12/default.nix
deleted file mode 100644
index b379dea..0000000
--- a/nixos/hosts/kylekrein-framework12/default.nix
+++ /dev/null
@@ -1,93 +0,0 @@
-{
- options,
- config,
- pkgs,
- unstable-pkgs,
- lib,
- hwconfig,
- inputs,
- ...
-}: {
- imports = [
- ../../hardware/framework12
-
- ../../modules/niri
-
- ../../modules/libvirt
-
- ../../users/kylekrein
- (import ../../modules/libvirt/user.nix {username = "kylekrein";})
-
- ../../users/tania
-
- ./hibernation.nix
- ./secure-boot.nix
- ];
-
- services.fwupd.enable = true; #fwupdmgr update
- nixpkgs.overlays = [
- # Fixes java crash because of bind mount with impermanence when loading too many mods(ex. All The Mods 9)
- (self: super: {
- prismlauncher = pkgs.symlinkJoin {
- name = "prismlauncher";
- paths = [super.prismlauncher];
- buildInputs = [pkgs.makeWrapper];
- postBuild = ''
- wrapProgram $out/bin/prismlauncher --set HOME /persist/home/kylekrein
- '';
- };
- })
- (self: super: {
- bottles = pkgs.symlinkJoin {
- name = "bottles";
- paths = [super.bottles];
- buildInputs = [pkgs.makeWrapper];
- postBuild = ''
- wrapProgram $out/bin/bottles --set HOME /persist/home/kylekrein
- '';
- };
- })
- ];
- environment.systemPackages = with pkgs; [
- blender
- ladybird
- prismlauncher
- ];
-
- zramSwap = {
- enable = true; # Hopefully? helps with freezing when using swap
- };
- services.zerotierone = {
- enable = false;
- port = 9994;
- joinNetworks = [
- "A84AC5C10AD269CA"
- "db64858fed285e0f"
- ];
- };
- #LLMs
- services.ollama = {
- enable = true;
- loadModels = ["qwq" "llama3.1" "qwen2.5-coder:7b" "gpt-oss:20b"];
- home = "/persist/ollama";
- user = "ollama";
- group = "ollama";
- };
-
- #boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"];
-
- services.open-webui.enable = true;
- #services.open-webui.package = unstable-pkgs.open-webui;
- services.open-webui.openFirewall = false;
- services.open-webui.host = "0.0.0.0";
- services.open-webui.stateDir = "/persist/open-webui";
- systemd.services.open-webui.serviceConfig.User = "ollama";
- systemd.services.open-webui.serviceConfig.Group = "ollama";
- systemd.services.open-webui.serviceConfig.DynamicUser = lib.mkForce false;
-
- #Chat host
- networking.firewall.allowedTCPPorts = [80 443 22 8448 9993 8081] ++ [config.services.zerotierone.port];
- networking.firewall.allowedUDPPorts = [config.services.zerotierone.port];
-
- systemd.network.wait-online.enable = lib.mkForce false;
-}
diff --git a/nixos/hosts/kylekrein-framework12/facter.json b/nixos/hosts/kylekrein-framework12/facter.json
deleted file mode 100755
index 047c316..0000000
--- a/nixos/hosts/kylekrein-framework12/facter.json
+++ /dev/null
@@ -1,3582 +0,0 @@
-{
- "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": 42,
- "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": 47,
- "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
- },
- "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",
- "drivers": [
- "pcieport"
- ],
- "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": "FRAPABCHA1521301YH",
- "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": 44,
- "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": "FRAPABCHA1521301YH",
- "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",
- "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 1TB",
- "value": 20546
- },
- "sub_device": {
- "hex": "5042",
- "value": 20546
- },
- "serial": "25172L801313",
- "model": "WD_BLACK SN770M 1TB",
- "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_1TB_25172L801313",
- "/dev/disk/by-id/nvme-WD_BLACK_SN770M_1TB_25172L801313_1",
- "/dev/disk/by-id/nvme-eui.e8238fa6bf530001001b448b4d346a81",
- "/dev/disk/by-path/pci-0000:01: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": 37,
- "attached_to": 32,
- "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": "0781",
- "name": "SanDisk",
- "value": 1921
- },
- "device": {
- "hex": "5567",
- "name": "Cruzer Blade",
- "value": 21863
- },
- "revision": {
- "hex": "0000",
- "name": "1.26",
- "value": 0
- },
- "serial": "4C532000020817105100",
- "model": "SanDisk Cruzer Blade",
- "sysfs_id": "/class/block/sdb",
- "sysfs_bus_id": "1:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/host1/target1:0:0/1:0:0:0",
- "unix_device_names": [
- "/dev/disk/by-id/usb-SanDisk_Cruzer_Blade_4C532000020817105100-0:0",
- "/dev/disk/by-path/pci-0000:00:14.0-usb-0:4:1.0-scsi-0:0:0:0",
- "/dev/disk/by-path/pci-0000:00:14.0-usbv2-0:4:1.0-scsi-0:0:0:0",
- "/dev/sdb"
- ],
- "unix_device_name2": "/dev/sg1",
- "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": 7821312,
- "value_2": 512
- }
- ],
- "driver": "usb-storage",
- "driver_module": "usb_storage",
- "drivers": [
- "sd",
- "usb-storage"
- ],
- "driver_modules": [
- "sd_mod",
- "usb_storage"
- ],
- "module_alias": "usb:v0781p5567d0126dc00dsc00dp00ic08isc06ip50in00"
- },
- {
- "index": 38,
- "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": "0781",
- "name": "USB",
- "value": 1921
- },
- "device": {
- "hex": "55ab",
- "name": "SanDisk 3.2Gen1",
- "value": 21931
- },
- "revision": {
- "hex": "0000",
- "name": "1.00",
- "value": 0
- },
- "serial": "0401570c9b2d0d0e2606",
- "model": "USB SanDisk 3.2Gen1",
- "sysfs_id": "/class/block/sda",
- "sysfs_bus_id": "0:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:0d.0/usb2/2-2/2-2:1.0/host0/target0:0:0/0:0:0:0",
- "unix_device_names": [
- "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_0401570c9b2d0d0e2606c0209a79d144b8ba0d37318074eb2d6b8ddc150b5ee378c60000000000000000000068de47f9ff931b18ab5581075caa5978-0:0",
- "/dev/disk/by-path/pci-0000:00:0d.0-usb-0:2:1.0-scsi-0:0:0:0",
- "/dev/disk/by-path/pci-0000:00:0d.0-usbv3-0:2:1.0-scsi-0:0:0:0",
- "/dev/sda"
- ],
- "unix_device_name2": "/dev/sg0",
- "resources": [
- {
- "type": "disk_geo",
- "cylinders": 58680,
- "heads": 64,
- "sectors": 32,
- "size": "0x0",
- "geo_type": "logical"
- },
- {
- "type": "size",
- "unit": "sectors",
- "value_1": 120176640,
- "value_2": 512
- }
- ],
- "driver": "usb-storage",
- "driver_module": "usb_storage",
- "drivers": [
- "sd",
- "usb-storage"
- ],
- "driver_modules": [
- "sd_mod",
- "usb_storage"
- ],
- "module_alias": "usb:v0781p55ABd0100dc00dsc00dp00ic08isc06ip50in00"
- }
- ],
- "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.6.63 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0002",
- "name": "xHCI Host Controller",
- "value": 2
- },
- "revision": {
- "hex": "0000",
- "name": "6.06",
- "value": 0
- },
- "serial": "0000:00:14.0",
- "model": "Linux 6.6.63 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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00"
- },
- {
- "index": 45,
- "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.6.63 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0003",
- "name": "xHCI Host Controller",
- "value": 3
- },
- "revision": {
- "hex": "0000",
- "name": "6.06",
- "value": 0
- },
- "serial": "0000:00:14.0",
- "model": "Linux 6.6.63 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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00"
- },
- {
- "index": 46,
- "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.6.63 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0002",
- "name": "xHCI Host Controller",
- "value": 2
- },
- "revision": {
- "hex": "0000",
- "name": "6.06",
- "value": 0
- },
- "serial": "0000:00:0d.0",
- "model": "Linux 6.6.63 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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00"
- },
- {
- "index": 49,
- "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.6.63 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0003",
- "name": "xHCI Host Controller",
- "value": 3
- },
- "revision": {
- "hex": "0000",
- "name": "6.06",
- "value": 0
- },
- "serial": "0000:00:0d.0",
- "model": "Linux 6.6.63 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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00"
- }
- ],
- "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": 52,
- "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.0003/input/input19",
- "unix_device_names": [
- "/dev/input/event9",
- "/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": [
- "wlp0s20f3"
- ],
- "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": 50,
- "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": 51,
- "attached_to": 21,
- "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_names": [
- "wlp0s20f3"
- ],
- "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": 1030,
- "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": "8086",
- "name": "Intel Corporation",
- "value": 32902
- },
- "sub_vendor": {
- "hex": "f111",
- "value": 61713
- },
- "device": {
- "hex": "51e8",
- "value": 20968
- },
- "sub_device": {
- "hex": "000c",
- "value": 12
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Intel Serial bus controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:15.0",
- "sysfs_bus_id": "0000:00:15.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:v00008086d000051E8sv0000F111sd0000000Cbc0Csc80i00"
- },
- {
- "index": 30,
- "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
- },
- "sub_vendor": {
- "hex": "f111",
- "value": 61713
- },
- "device": {
- "hex": "51ef",
- "value": 20975
- },
- "sub_device": {
- "hex": "000c",
- "value": 12
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Intel RAM memory",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.2",
- "sysfs_bus_id": "0000:00:14.2",
- "detail": {
- "function": 2,
- "command": 6,
- "header_type": 0,
- "secondary_bus": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00008086d000051EFsv0000F111sd0000000Cbc05sc00i00"
- },
- {
- "index": 33,
- "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": "f111",
- "value": 61713
- },
- "device": {
- "hex": "51a3",
- "value": 20899
- },
- "sub_device": {
- "hex": "000c",
- "value": 12
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "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"
- }
- ],
- "detail": {
- "function": 4,
- "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:v00008086d000051A3sv0000F111sd0000000Cbc0Csc05i00"
- },
- {
- "index": 34,
- "attached_to": 0,
- "class_list": [
- "pci",
- "unknown"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 10
- },
- "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": "a77d",
- "value": 42877
- },
- "sub_device": {
- "hex": "000c",
- "value": 12
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Intel Signal processing controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:0a.0",
- "sysfs_bus_id": "0000:00:0a.0",
- "detail": {
- "function": 0,
- "command": 2,
- "header_type": 0,
- "secondary_bus": 0,
- "prog_if": 0
- },
- "driver": "intel_vsec",
- "driver_module": "intel_vsec",
- "drivers": [
- "intel_vsec"
- ],
- "driver_modules": [
- "intel_vsec"
- ],
- "module_alias": "pci:v00008086d0000A77Dsv0000F111sd0000000Cbc11sc80i00"
- }
- ],
- "sound": [
- {
- "index": 26,
- "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
- },
- "pci_interface": {
- "hex": "0080",
- "value": 128
- },
- "vendor": {
- "hex": "8086",
- "name": "Intel Corporation",
- "value": 32902
- },
- "sub_vendor": {
- "hex": "f111",
- "value": 61713
- },
- "device": {
- "hex": "51ca",
- "value": 20938
- },
- "sub_device": {
- "hex": "000c",
- "value": 12
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Intel Multimedia controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:1f.3",
- "sysfs_bus_id": "0000:00:1f.3",
- "detail": {
- "function": 3,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "prog_if": 128
- },
- "driver": "snd_hda_intel",
- "driver_module": "snd_hda_intel",
- "drivers": [
- "snd_hda_intel"
- ],
- "driver_modules": [
- "snd_hda_intel"
- ],
- "module_alias": "pci:v00008086d000051CAsv0000F111sd0000000Cbc04sc03i80"
- }
- ],
- "storage_controller": [
- {
- "index": 23,
- "attached_to": 29,
- "class_list": [
- "storage_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 1,
- "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": "15b7",
- "value": 5559
- },
- "sub_vendor": {
- "hex": "15b7",
- "value": 5559
- },
- "device": {
- "hex": "5042",
- "value": 20546
- },
- "sub_device": {
- "hex": "5042",
- "value": 20546
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Mass storage controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:06.0/0000:01:00.0",
- "sysfs_bus_id": "0000:01:00.0",
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "prog_if": 2
- },
- "driver": "nvme",
- "driver_module": "nvme",
- "drivers": [
- "nvme"
- ],
- "driver_modules": [
- "nvme"
- ],
- "module_alias": "pci:v000015B7d00005042sv000015B7sd00005042bc01sc08i02"
- }
- ],
- "system": {
- "form_factor": "laptop"
- },
- "usb": [
- {
- "index": 48,
- "attached_to": 40,
- "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": "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": "FRAPABCHA1521301YH",
- "model": "Framework Laptop 12 Webcam Module",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.2",
- "sysfs_bus_id": "3-7:1.2",
- "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": "00fe",
- "name": "application",
- "value": 254
- },
- "interface_subclass": {
- "hex": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_protocol": 1,
- "interface_number": 2,
- "interface_alternate_setting": 0,
- "interface_association": {
- "function_class": {
- "hex": "00fe",
- "name": "application",
- "value": 254
- },
- "function_subclass": {
- "hex": "0001",
- "name": "audio",
- "value": 1
- },
- "function_protocol": 0,
- "interface_count": 1,
- "first_interface": 2
- }
- },
- "hotplug": "usb",
- "module_alias": "usb:v32ACp001Dd0016dcEFdsc02dp01icFEisc01ip01in02"
- }
- ],
- "usb_controller": [
- {
- "index": 17,
- "attached_to": 0,
- "class_list": [
- "usb_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 13
- },
- "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": "f111",
- "value": 61713
- },
- "device": {
- "hex": "a71e",
- "value": 42782
- },
- "sub_device": {
- "hex": "000c",
- "value": 12
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Intel USB Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:0d.0",
- "sysfs_bus_id": "0000:00:0d.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:v00008086d0000A71Esv0000F111sd0000000Cbc0Csc03i30"
- },
- {
- "index": 32,
- "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": "f111",
- "value": 61713
- },
- "device": {
- "hex": "51ed",
- "value": 20973
- },
- "sub_device": {
- "hex": "000c",
- "value": 12
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Intel USB Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0",
- "sysfs_bus_id": "0000:00:14.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:v00008086d000051EDsv0000F111sd0000000Cbc0Csc03i30"
- }
- ]
- },
- "smbios": {
- "bios": {
- "handle": 0,
- "vendor": "INSYDE Corp.",
- "version": "03.04",
- "date": "06/23/2025",
- "features": [
- "PCI supported",
- "BIOS flashable",
- "BIOS shadowing allowed",
- "CD boot supported",
- "Selectable boot supported",
- "8042 Keyboard Services supported",
- "CGA/Mono Video supported",
- "ACPI supported",
- "USB Legacy supported",
- "BIOS Boot Spec supported"
- ],
- "start_address": "0xe0000",
- "rom_size": 16777216
- },
- "board": {
- "handle": 2,
- "manufacturer": "Framework",
- "product": "FRAPMACP05",
- "version": "A5",
- "board_type": {
- "hex": "000a",
- "name": "Motherboard",
- "value": 10
- },
- "features": [
- "Hosting Board",
- "Replaceable"
- ],
- "location": "*",
- "chassis": 3
- },
- "cache": [
- {
- "handle": 5,
- "socket": "L1 Cache",
- "size_max": 96,
- "size_current": 96,
- "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": 6,
- "socket": "L1 Cache",
- "size_max": 64,
- "size_current": 64,
- "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": 7,
- "socket": "L2 Cache",
- "size_max": 2560,
- "size_current": 2560,
- "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": 8,
- "socket": "L3 Cache",
- "size_max": 12288,
- "size_current": 12288,
- "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": "0009",
- "name": "Other",
- "value": 9
- },
- "sram_type_current": [
- "Synchronous"
- ],
- "sram_type_supported": [
- "Synchronous"
- ]
- },
- {
- "handle": 9,
- "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": "0004",
- "name": "Data",
- "value": 4
- },
- "associativity": {
- "hex": "0007",
- "name": "8-way Set-Associative",
- "value": 7
- },
- "sram_type_current": [
- "Synchronous"
- ],
- "sram_type_supported": [
- "Synchronous"
- ]
- },
- {
- "handle": 10,
- "socket": "L1 Cache",
- "size_max": 512,
- "size_current": 512,
- "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": 11,
- "socket": "L2 Cache",
- "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"
- ]
- },
- {
- "handle": 12,
- "socket": "L3 Cache",
- "size_max": 12288,
- "size_current": 12288,
- "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": "0009",
- "name": "Other",
- "value": 9
- },
- "sram_type_current": [
- "Synchronous"
- ],
- "sram_type_supported": [
- "Synchronous"
- ]
- }
- ],
- "chassis": [
- {
- "handle": 3,
- "manufacturer": "Framework",
- "version": "A5",
- "chassis_type": {
- "hex": "001f",
- "name": "Other",
- "value": 31
- },
- "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": 20,
- "options": [
- "ConfigOptions1",
- "ConfigOptions2",
- "ConfigOptions3"
- ]
- },
- "group_associations": [
- {
- "handle": 22,
- "name": "$MEI",
- "handles": [
- 43
- ]
- },
- {
- "handle": 50,
- "name": "Firmware Version Info",
- "handles": [
- 193273528364,
- 197568495661,
- 201863462958,
- 206158430255,
- 210453397552,
- 141733920817
- ]
- },
- {
- "handle": 30,
- "power": {
- "hex": "0000",
- "name": "Disabled",
- "value": 0
- },
- "keyboard": {
- "hex": "0002",
- "name": "Not Implemented",
- "value": 2
- },
- "admin": {
- "hex": "0000",
- "name": "Disabled",
- "value": 0
- },
- "reset": {
- "hex": "0002",
- "name": "Not Implemented",
- "value": 2
- }
- }
- ],
- "language": [
- {
- "handle": 21,
- "languages": [
- "en|US|iso8859-1,0",
- "fr|FR|iso8859-1,0",
- "zh|TW|unicode,0",
- "ja|JP|unicode,0"
- ]
- }
- ],
- "memory_array": [
- {
- "handle": 24,
- "location": {
- "hex": "0003",
- "name": "Motherboard",
- "value": 3
- },
- "usage": {
- "hex": "0003",
- "name": "System memory",
- "value": 3
- },
- "ecc": {
- "hex": "0003",
- "name": "None",
- "value": 3
- },
- "max_size": "0x3000000",
- "error_handle": 65534,
- "slots": 1
- }
- ],
- "memory_array_mapped_address": [
- {
- "handle": 26,
- "array_handle": 24,
- "start_address": "0x0",
- "end_address": "0xc00000000",
- "part_width": 1
- }
- ],
- "memory_device": [
- {
- "handle": 25,
- "location": "Controller0-ChannelA-DIMM0",
- "bank_location": "BANK 0",
- "manufacturer": "Micron Technology",
- "part_number": "CT48G56C46S5.M16B1",
- "array_handle": 24,
- "error_handle": 65534,
- "width": 64,
- "ecc_bits": 0,
- "size": 50331648,
- "form_factor": {
- "hex": "000d",
- "name": "SODIMM",
- "value": 13
- },
- "set": 0,
- "memory_type": {
- "hex": "0022",
- "name": "Other",
- "value": 34
- },
- "memory_type_details": [
- "Synchronous"
- ],
- "speed": 5600
- }
- ],
- "memory_device_mapped_address": [
- {
- "handle": 27,
- "memory_device_handle": 25,
- "array_map_handle": 26,
- "start_address": "0x0",
- "end_address": "0xc00000000",
- "row_position": 255,
- "interleave_position": 1,
- "interleave_depth": 1
- }
- ],
- "pointing_device": [
- {
- "handle": 28,
- "mouse_type": {
- "hex": "0007",
- "name": "Touch Pad",
- "value": 7
- },
- "interface": {
- "hex": "0004",
- "name": "PS/2",
- "value": 4
- },
- "buttons": 4
- }
- ],
- "port_connector": [
- {
- "handle": 13,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "JTYPEC0",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB"
- },
- {
- "handle": 14,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "JTYPEC1",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB"
- },
- {
- "handle": 15,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "JTYPEC2",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB"
- },
- {
- "handle": 16,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "JTYPEC3",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB"
- }
- ],
- "processor": [
- {
- "handle": 4,
- "socket": "U3E1",
- "socket_type": {
- "hex": "0041",
- "name": "Other",
- "value": 65
- },
- "socket_populated": true,
- "manufacturer": "Intel(R) Corporation",
- "version": "13th Gen Intel(R) Core(TM) i5-1334U",
- "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": 4600,
- "cache_handle_l1": 10,
- "cache_handle_l2": 11,
- "cache_handle_l3": 12
- }
- ],
- "slot": [
- {
- "handle": 17,
- "designation": "JWLAN",
- "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": "0001",
- "name": "Other",
- "value": 1
- },
- "id": 1,
- "features": [
- "PME#"
- ]
- },
- {
- "handle": 18,
- "designation": "JSSD",
- "slot_type": {
- "hex": "0016",
- "name": "Other",
- "value": 22
- },
- "bus_width": {
- "hex": "000a",
- "name": "Other",
- "value": 10
- },
- "usage": {
- "hex": "0004",
- "name": "In Use",
- "value": 4
- },
- "length": {
- "hex": "0001",
- "name": "Other",
- "value": 1
- },
- "id": 2,
- "features": [
- "PME#"
- ]
- }
- ],
- "system": {
- "handle": 1,
- "manufacturer": "Framework",
- "product": "Laptop 12 (13th Gen Intel Core)",
- "version": "A5",
- "wake_up": {
- "hex": "0006",
- "name": "Power Switch",
- "value": 6
- }
- }
- }
-}
\ No newline at end of file
diff --git a/nixos/hosts/kylekrein-framework12/hibernation.nix b/nixos/hosts/kylekrein-framework12/hibernation.nix
deleted file mode 100644
index e16cf8e..0000000
--- a/nixos/hosts/kylekrein-framework12/hibernation.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{pkgs, ...}: {
- boot = {
- kernelParams = [
- "resume_offset=533760"
- "mem_sleep_default=deep"
- ];
- resumeDevice = "/dev/disk/by-label/nixos";
- };
- services.logind = {
- lidSwitch = "suspend-then-hibernate";
- powerKey = "suspend-then-hibernate";
- powerKeyLongPress = "poweroff";
- };
- systemd.sleep.extraConfig = ''
- HibernateDelaySec=30m
- SuspendState=mem
- '';
-}
diff --git a/nixos/hosts/kylekrein-framework12/secure-boot.nix b/nixos/hosts/kylekrein-framework12/secure-boot.nix
deleted file mode 100644
index 9f7a4e0..0000000
--- a/nixos/hosts/kylekrein-framework12/secure-boot.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- ...
-}: {
- boot = {
- initrd.systemd.enable = true;
-
- loader.systemd-boot.enable = lib.mkForce false;
-
- lanzaboote = {
- enable = true;
- pkiBundle =
- #if hwconfig.useImpermanence
- #then "/persist/system/var/lib/sbctl"
- # else
- "/var/lib/sbctl";
- };
- };
- environment.systemPackages = [
- # For debugging and troubleshooting Secure Boot.
- pkgs.sbctl
- # For tpm auto unlock
- pkgs.tpm2-tss
- ];
-}
diff --git a/nixos/hosts/kylekrein-homepc/default.nix b/nixos/hosts/kylekrein-homepc/default.nix
deleted file mode 100644
index a1d22b1..0000000
--- a/nixos/hosts/kylekrein-homepc/default.nix
+++ /dev/null
@@ -1,123 +0,0 @@
-{
- options,
- config,
- pkgs,
- unstable-pkgs,
- lib,
- hwconfig,
- inputs,
- ...
-}: {
- imports = [
- ../../hardware/nvidia
-
- ../../modules/niri
-
- ../../modules/libvirt
-
- ../../users/kylekrein
- (import ../../modules/libvirt/user.nix {username = "kylekrein";})
-
- ../../users/tania
- ];
-
- boot.kernelPackages = lib.mkForce pkgs.linuxPackages_cachyos;
- services.scx.enable = true; # by default uses scx_rustland scheduler
- nixpkgs.overlays = [
- # Fixes java crash because of bind mount with impermanence when loading too many mods(ex. All The Mods 9)
- (self: super: {
- prismlauncher = pkgs.symlinkJoin {
- name = "prismlauncher";
- paths = [super.prismlauncher];
- buildInputs = [pkgs.makeWrapper];
- postBuild = ''
- wrapProgram $out/bin/prismlauncher --set HOME /persist/home/kylekrein
- '';
- };
- })
- (self: super: {
- bottles = pkgs.symlinkJoin {
- name = "bottles";
- paths = [super.bottles];
- buildInputs = [pkgs.makeWrapper];
- postBuild = ''
- wrapProgram $out/bin/bottles --set HOME /persist/home/kylekrein
- '';
- };
- })
- ];
- environment.systemPackages = with pkgs; [
- blender
- ladybird
- prismlauncher
-
- #inputs.nix-gaming.packages.${pkgs.system}.star-citizen
- ];
-
- zramSwap = {
- enable = true; # Hopefully? helps with freezing when using swap
- };
- services.zerotierone = {
- enable = true;
- port = 9994;
- joinNetworks = [
- "A84AC5C10AD269CA"
- "db64858fed285e0f"
- ];
- };
- #LLMs
- services.ollama = {
- enable = true;
- loadModels = ["qwq" "llama3.1" "qwen2.5-coder:7b" "gpt-oss:20b" "gpt-oss:120b"];
- acceleration = "cuda";
- home = "/persist/ollama";
- user = "ollama";
- group = "ollama";
- };
-
- boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"];
-
- services.open-webui.enable = true;
- services.open-webui.openFirewall = false;
- services.open-webui.host = "0.0.0.0";
- services.open-webui.stateDir = "/persist/open-webui";
- systemd.services.open-webui.serviceConfig.User = "ollama";
- systemd.services.open-webui.serviceConfig.Group = "ollama";
- systemd.services.open-webui.serviceConfig.DynamicUser = lib.mkForce false;
-
- #Chat host
- networking.firewall.allowedTCPPorts = [80 443 22 8448 9993 8081] ++ [config.services.zerotierone.port];
- networking.firewall.allowedUDPPorts = [config.services.zerotierone.port];
- # users.users.nginx.extraGroups = [ "acme" ];
- services.hypridle.enable = lib.mkForce false;
- programs.hyprlock.enable = lib.mkForce false;
-
- #services.nginx.enable = true;
- services.nginx = {
- # Use recommended settings
- recommendedGzipSettings = true;
- recommendedOptimisation = true;
- recommendedProxySettings = true;
- recommendedTlsSettings = true;
- clientMaxBodySize = "20000000";
- };
- services.nginx.virtualHosts = let
- SSL = {
- #enableACME = true;
- #forceSSL = true;
- #useACMEHost = "kylekrein.com";
- #acmeRoot = "/var/lib/acme/challenges-kylekrein";
- };
- in {
- "chat.kylekrein.com" =
- SSL
- // {
- locations."/" = {
- proxyPass = "http://localhost:8080/";
- proxyWebsockets = true;
- };
- };
- };
-
- systemd.network.wait-online.enable = lib.mkForce false;
-}
diff --git a/nixos/hosts/kylekrein-homepc/facter.json b/nixos/hosts/kylekrein-homepc/facter.json
deleted file mode 100644
index 0a68ae5..0000000
--- a/nixos/hosts/kylekrein-homepc/facter.json
+++ /dev/null
@@ -1,7663 +0,0 @@
-{
- "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": 771
- },
- "bluetooth": [
- {
- "index": 69,
- "attached_to": 75,
- "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": "0029",
- "value": 41
- },
- "revision": {
- "hex": "0000",
- "name": "0.01",
- "value": 0
- },
- "model": "Bluetooth Device",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.2/1-6.2:1.0",
- "sysfs_bus_id": "1-6.2: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:v8087p0029d0001dcE0dsc01dp01icE0isc01ip01in00"
- },
- {
- "index": 81,
- "attached_to": 75,
- "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": "0029",
- "value": 41
- },
- "revision": {
- "hex": "0000",
- "name": "0.01",
- "value": 0
- },
- "model": "Bluetooth Device",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.2/1-6.2:1.1",
- "sysfs_bus_id": "1-6.2: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:v8087p0029d0001dcE0dsc01dp01icE0isc01ip01in01"
- }
- ],
- "bridge": [
- {
- "index": 20,
- "attached_to": 25,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 3,
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43ea",
- "value": 17386
- },
- "sub_device": {
- "hex": "3308",
- "value": 13064
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:00.0",
- "sysfs_bus_id": "0000:03:00.0",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 36,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 4,
- "irq": 36,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00"
- },
- {
- "index": 21,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 3
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1483",
- "value": 5251
- },
- "sub_device": {
- "hex": "1453",
- "value": 5203
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:03.1",
- "sysfs_bus_id": "0000:00:03.1",
- "sysfs_iommu_group_id": 5,
- "resources": [
- {
- "type": "irq",
- "base": 30,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 1,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 10,
- "irq": 30,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00"
- },
- {
- "index": 23,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 8
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1482",
- "value": 5250
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.0",
- "sysfs_bus_id": "0000:00:08.0",
- "sysfs_iommu_group_id": 10,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 24,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1443",
- "value": 5187
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.3",
- "sysfs_bus_id": "0000:00:18.3",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 3,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "driver": "k10temp",
- "driver_module": "k10temp",
- "drivers": [
- "k10temp"
- ],
- "driver_modules": [
- "k10temp"
- ],
- "module_alias": "pci:v00001022d00001443sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 25,
- "attached_to": 26,
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43e9",
- "value": 17385
- },
- "sub_device": {
- "hex": "0201",
- "value": 513
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2",
- "sysfs_bus_id": "0000:02:00.2",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 34,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 2,
- "command": 7,
- "header_type": 1,
- "secondary_bus": 3,
- "irq": 34,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d000043E9sv00001B21sd00000201bc06sc04i00"
- },
- {
- "index": 26,
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1483",
- "value": 5251
- },
- "sub_device": {
- "hex": "1453",
- "value": 5203
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2",
- "sysfs_bus_id": "0000:00:01.2",
- "sysfs_iommu_group_id": 2,
- "resources": [
- {
- "type": "irq",
- "base": 29,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 2,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 2,
- "irq": 29,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00"
- },
- {
- "index": 27,
- "attached_to": 25,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 3,
- "number": 3
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43ea",
- "value": 17386
- },
- "sub_device": {
- "hex": "3308",
- "value": 13064
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:03.0",
- "sysfs_bus_id": "0000:03:03.0",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 39,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 6,
- "irq": 39,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00"
- },
- {
- "index": 28,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1441",
- "value": 5185
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.1",
- "sysfs_bus_id": "0000:00:18.1",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 1,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001441sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 30,
- "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": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1482",
- "value": 5250
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.0",
- "sysfs_bus_id": "0000:00:01.0",
- "sysfs_iommu_group_id": 0,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 33,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 4
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1482",
- "value": 5250
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:04.0",
- "sysfs_bus_id": "0000:00:04.0",
- "sysfs_iommu_group_id": 6,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 34,
- "attached_to": 25,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 3,
- "number": 9
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43ea",
- "value": 17386
- },
- "sub_device": {
- "hex": "3308",
- "value": 13064
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0",
- "sysfs_bus_id": "0000:03:09.0",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 43,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 9,
- "irq": 43,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00"
- },
- {
- "index": 35,
- "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": "0001",
- "name": "ISA bridge",
- "value": 1
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1458",
- "value": 5208
- },
- "device": {
- "hex": "790e",
- "value": 30990
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "0051",
- "value": 81
- },
- "model": "AMD ISA bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.3",
- "sysfs_bus_id": "0000:00:14.3",
- "sysfs_iommu_group_id": 12,
- "detail": {
- "function": 3,
- "command": 15,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d0000790Esv00001458sd00005001bc06sc01i00"
- },
- {
- "index": 38,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 7
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1482",
- "value": 5250
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:07.0",
- "sysfs_bus_id": "0000:00:07.0",
- "sysfs_iommu_group_id": 8,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 41,
- "attached_to": 25,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 3,
- "number": 2
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43ea",
- "value": 17386
- },
- "sub_device": {
- "hex": "3308",
- "value": 13064
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:02.0",
- "sysfs_bus_id": "0000:03:02.0",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 37,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 5,
- "irq": 37,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00"
- },
- {
- "index": 42,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1446",
- "value": 5190
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.6",
- "sysfs_bus_id": "0000:00:18.6",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 6,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001446sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 44,
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1480",
- "value": 5248
- },
- "sub_device": {
- "hex": "1480",
- "value": 5248
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:00.0",
- "sysfs_bus_id": "0000:00:00.0",
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001480sv00001022sd00001480bc06sc00i00"
- },
- {
- "index": 45,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 8
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1484",
- "value": 5252
- },
- "sub_device": {
- "hex": "1484",
- "value": 5252
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1",
- "sysfs_bus_id": "0000:00:08.1",
- "sysfs_iommu_group_id": 11,
- "resources": [
- {
- "type": "irq",
- "base": 33,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 1,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 12,
- "irq": 33,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d00001484sv00001022sd00001484bc06sc04i00"
- },
- {
- "index": 46,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1444",
- "value": 5188
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.4",
- "sysfs_bus_id": "0000:00:18.4",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 4,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001444sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 47,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 3
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1482",
- "value": 5250
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:03.0",
- "sysfs_bus_id": "0000:00:03.0",
- "sysfs_iommu_group_id": 4,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 48,
- "attached_to": 25,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 3,
- "number": 8
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43ea",
- "value": 17386
- },
- "sub_device": {
- "hex": "3308",
- "value": 13064
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:08.0",
- "sysfs_bus_id": "0000:03:08.0",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 41,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 8,
- "irq": 41,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00"
- },
- {
- "index": 49,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1442",
- "value": 5186
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.2",
- "sysfs_bus_id": "0000:00:18.2",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 2,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001442sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 51,
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1483",
- "value": 5251
- },
- "sub_device": {
- "hex": "1453",
- "value": 5203
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.1",
- "sysfs_bus_id": "0000:00:01.1",
- "sysfs_iommu_group_id": 1,
- "resources": [
- {
- "type": "irq",
- "base": 28,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 1,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 1,
- "irq": 28,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00"
- },
- {
- "index": 53,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1440",
- "value": 5184
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.0",
- "sysfs_bus_id": "0000:00:18.0",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001440sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 55,
- "attached_to": 25,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 3,
- "number": 4
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43ea",
- "value": 17386
- },
- "sub_device": {
- "hex": "3308",
- "value": 13064
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:04.0",
- "sysfs_bus_id": "0000:03:04.0",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 40,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 7,
- "irq": 40,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00"
- },
- {
- "index": 56,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 7
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1484",
- "value": 5252
- },
- "sub_device": {
- "hex": "1484",
- "value": 5252
- },
- "model": "AMD PCI bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:07.1",
- "sysfs_bus_id": "0000:00:07.1",
- "sysfs_iommu_group_id": 9,
- "resources": [
- {
- "type": "irq",
- "base": 32,
- "triggered": 0,
- "enabled": true
- }
- ],
- "detail": {
- "function": 1,
- "command": 1031,
- "header_type": 1,
- "secondary_bus": 11,
- "irq": 32,
- "prog_if": 0
- },
- "driver": "pcieport",
- "drivers": [
- "pcieport"
- ],
- "module_alias": "pci:v00001022d00001484sv00001022sd00001484bc06sc04i00"
- },
- {
- "index": 58,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 2
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1482",
- "value": 5250
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:02.0",
- "sysfs_bus_id": "0000:00:02.0",
- "sysfs_iommu_group_id": 3,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 59,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1447",
- "value": 5191
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.7",
- "sysfs_bus_id": "0000:00:18.7",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 7,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001447sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 61,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 5
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1482",
- "value": 5250
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:05.0",
- "sysfs_bus_id": "0000:00:05.0",
- "sysfs_iommu_group_id": 7,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00"
- },
- {
- "index": 62,
- "attached_to": 0,
- "class_list": [
- "pci",
- "bridge"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 0,
- "number": 24
- },
- "base_class": {
- "hex": "0006",
- "name": "Bridge",
- "value": 6
- },
- "sub_class": {
- "hex": "0000",
- "name": "Host bridge",
- "value": 0
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1445",
- "value": 5189
- },
- "model": "AMD Host bridge",
- "sysfs_id": "/devices/pci0000:00/0000:00:18.5",
- "sysfs_bus_id": "0000:00:18.5",
- "sysfs_iommu_group_id": 13,
- "detail": {
- "function": 5,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001445sv00000000sd00000000bc06sc00i00"
- }
- ],
- "camera": [
- {
- "index": 74,
- "attached_to": 87,
- "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": "2104",
- "name": "Tobii AB",
- "value": 8452
- },
- "device": {
- "hex": "0313",
- "name": "EyeChip",
- "value": 787
- },
- "revision": {
- "hex": "0000",
- "name": "1.00",
- "value": 0
- },
- "serial": "IS5FF-100212740213",
- "model": "Tobii EyeChip",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-8/1-8:1.1",
- "sysfs_bus_id": "1-8: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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_protocol": 0,
- "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": 1
- }
- },
- "hotplug": "usb",
- "module_alias": "usb:v2104p0313d0100dcEFdsc02dp01ic0Eisc01ip00in01"
- },
- {
- "index": 86,
- "attached_to": 87,
- "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": "2104",
- "name": "Tobii AB",
- "value": 8452
- },
- "device": {
- "hex": "0313",
- "name": "EyeChip",
- "value": 787
- },
- "revision": {
- "hex": "0000",
- "name": "1.00",
- "value": 0
- },
- "serial": "IS5FF-100212740213",
- "model": "Tobii EyeChip",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-8/1-8:1.2",
- "sysfs_bus_id": "1-8:1.2",
- "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": 0,
- "interface_number": 2,
- "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": 1
- }
- },
- "hotplug": "usb",
- "module_alias": "usb:v2104p0313d0100dcEFdsc02dp01ic0Eisc02ip00in02"
- }
- ],
- "cpu": [
- {
- "architecture": "x86_64",
- "vendor_name": "AuthenticAMD",
- "family": 25,
- "model": 33,
- "stepping": 0,
- "features": [
- "fpu",
- "vme",
- "de",
- "pse",
- "tsc",
- "msr",
- "pae",
- "mce",
- "cx8",
- "apic",
- "sep",
- "mtrr",
- "pge",
- "mca",
- "cmov",
- "pat",
- "pse36",
- "clflush",
- "mmx",
- "fxsr",
- "sse",
- "sse2",
- "ht",
- "syscall",
- "nx",
- "mmxext",
- "fxsr_opt",
- "pdpe1gb",
- "rdtscp",
- "lm",
- "constant_tsc",
- "rep_good",
- "nopl",
- "xtopology",
- "nonstop_tsc",
- "cpuid",
- "extd_apicid",
- "aperfmperf",
- "rapl",
- "pni",
- "pclmulqdq",
- "monitor",
- "ssse3",
- "fma",
- "cx16",
- "sse4_1",
- "sse4_2",
- "movbe",
- "popcnt",
- "aes",
- "xsave",
- "avx",
- "f16c",
- "rdrand",
- "lahf_lm",
- "cmp_legacy",
- "svm",
- "extapic",
- "cr8_legacy",
- "abm",
- "sse4a",
- "misalignsse",
- "3dnowprefetch",
- "osvw",
- "ibs",
- "skinit",
- "wdt",
- "tce",
- "topoext",
- "perfctr_core",
- "perfctr_nb",
- "bpext",
- "perfctr_llc",
- "mwaitx",
- "cpb",
- "cat_l3",
- "cdp_l3",
- "hw_pstate",
- "ssbd",
- "mba",
- "ibrs",
- "ibpb",
- "stibp",
- "vmmcall",
- "fsgsbase",
- "bmi1",
- "avx2",
- "smep",
- "bmi2",
- "erms",
- "invpcid",
- "cqm",
- "rdt_a",
- "rdseed",
- "adx",
- "smap",
- "clflushopt",
- "clwb",
- "sha_ni",
- "xsaveopt",
- "xsavec",
- "xgetbv1",
- "xsaves",
- "cqm_llc",
- "cqm_occup_llc",
- "cqm_mbm_total",
- "cqm_mbm_local",
- "user_shstk",
- "clzero",
- "irperf",
- "xsaveerptr",
- "rdpru",
- "wbnoinvd",
- "arat",
- "npt",
- "lbrv",
- "svm_lock",
- "nrip_save",
- "tsc_scale",
- "vmcb_clean",
- "flushbyasid",
- "decodeassists",
- "pausefilter",
- "pfthreshold",
- "avic",
- "v_vmsave_vmload",
- "vgif",
- "v_spec_ctrl",
- "umip",
- "pku",
- "ospke",
- "vaes",
- "vpclmulqdq",
- "rdpid",
- "overflow_recov",
- "succor",
- "smca",
- "fsrm",
- "debug_swap"
- ],
- "bugs": [
- "sysret_ss_attrs",
- "null_seg",
- "spectre_v1",
- "spectre_v2",
- "spec_store_bypass",
- "srso",
- "ibpb_no_ret"
- ],
- "power_management": [
- "ts",
- "ttp",
- "tm",
- "hwpstate",
- "cpb",
- "eff_freq_ro",
- "[13]",
- "[14]"
- ],
- "bogo": 7586.15,
- "cache": 512,
- "units": 16,
- "physical_id": 0,
- "siblings": 16,
- "cores": 8,
- "fpu": true,
- "fpu_exception": true,
- "cpuid_level": 16,
- "write_protect": false,
- "tlb_size": 2560,
- "clflush_size": 64,
- "cache_alignment": 64,
- "address_sizes": {
- "physical": 48,
- "virtual": 48
- }
- }
- ],
- "disk": [
- {
- "index": 65,
- "attached_to": 36,
- "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": "5009",
- "name": "WDC WDS100T2B0C-00PXH0",
- "value": 20489
- },
- "sub_device": {
- "hex": "5009",
- "value": 20489
- },
- "serial": "21167U469302",
- "model": "WDC WDS100T2B0C-00PXH0",
- "sysfs_id": "/class/block/nvme0n1",
- "sysfs_bus_id": "nvme0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:01.1/0000:01: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-diskseq/1",
- "/dev/disk/by-id/nvme-WDC_WDS100T2B0C-00PXH0_21167U469302",
- "/dev/disk/by-id/nvme-WDC_WDS100T2B0C-00PXH0_21167U469302_1",
- "/dev/disk/by-id/nvme-eui.e8238fa6bf530001001b444a46f48e5d",
- "/dev/disk/by-path/pci-0000:01:00.0-nvme-1",
- "/dev/nvme0n1"
- ],
- "resources": [
- {
- "type": "disk_geo",
- "cylinders": 119233,
- "heads": 64,
- "sectors": 32,
- "size": 0,
- "geo_type": "logical"
- },
- {
- "type": "size",
- "unit": "sectors",
- "value_1": 244190646,
- "value_2": 4096
- }
- ],
- "driver": "nvme",
- "driver_module": "nvme",
- "drivers": [
- "nvme"
- ],
- "driver_modules": [
- "nvme"
- ]
- },
- {
- "index": 66,
- "attached_to": 50,
- "class_list": [
- "disk",
- "ide",
- "block_device"
- ],
- "bus_type": {
- "hex": "0085",
- "name": "IDE",
- "value": 133
- },
- "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": "0000",
- "name": "TOSHIBA",
- "value": 0
- },
- "device": {
- "hex": "0000",
- "name": "HDWD110",
- "value": 0
- },
- "revision": {
- "hex": "0000",
- "name": "A8J0",
- "value": 0
- },
- "serial": "X7P97EENS",
- "model": "TOSHIBA HDWD110",
- "sysfs_id": "/class/block/sdb",
- "sysfs_bus_id": "0:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:01.2/0000:02:00.1/ata1/host0/target0:0:0/0: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-diskseq/3",
- "/dev/disk/by-id/ata-TOSHIBA_HDWD110_X7P97EENS",
- "/dev/disk/by-id/wwn-0x5000039fd3d24abf",
- "/dev/disk/by-path/pci-0000:02:00.1-ata-1",
- "/dev/disk/by-path/pci-0000:02:00.1-ata-1.0",
- "/dev/sdb"
- ],
- "resources": [
- {
- "type": "disk_geo",
- "cylinders": 121601,
- "heads": 255,
- "sectors": 63,
- "size": 0,
- "geo_type": "logical"
- },
- {
- "type": "size",
- "unit": "sectors",
- "value_1": 1953525168,
- "value_2": 512
- }
- ],
- "driver": "ahci",
- "driver_module": "ahci",
- "drivers": [
- "ahci",
- "sd"
- ],
- "driver_modules": [
- "ahci",
- "sd_mod"
- ]
- },
- {
- "index": 67,
- "attached_to": 50,
- "class_list": [
- "disk",
- "ide",
- "block_device"
- ],
- "bus_type": {
- "hex": "0085",
- "name": "IDE",
- "value": 133
- },
- "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": "0000",
- "name": "WDC",
- "value": 0
- },
- "device": {
- "hex": "0000",
- "name": "WD10EZEX-35W",
- "value": 0
- },
- "revision": {
- "hex": "0000",
- "name": "1A01",
- "value": 0
- },
- "serial": "WCC6Y7XR2XFZ",
- "model": "WDC WD10EZEX-35W",
- "sysfs_id": "/class/block/sda",
- "sysfs_bus_id": "1:0:0:0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:01.2/0000:02:00.1/ata2/host1/target1:0:0/1: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-diskseq/2",
- "/dev/disk/by-id/ata-WDC_WD10EZEX-35WN4A0_WCC6Y7XR2XFZ",
- "/dev/disk/by-id/wwn-0x50014ee26492ddba",
- "/dev/disk/by-path/pci-0000:02:00.1-ata-2",
- "/dev/disk/by-path/pci-0000:02:00.1-ata-2.0",
- "/dev/sda"
- ],
- "resources": [
- {
- "type": "disk_geo",
- "cylinders": 121601,
- "heads": 255,
- "sectors": 63,
- "size": 0,
- "geo_type": "logical"
- },
- {
- "type": "size",
- "unit": "sectors",
- "value_1": 1953525168,
- "value_2": 512
- }
- ],
- "driver": "ahci",
- "driver_module": "ahci",
- "drivers": [
- "ahci",
- "sd"
- ],
- "driver_modules": [
- "ahci",
- "sd_mod"
- ]
- }
- ],
- "graphics_card": [
- {
- "index": 37,
- "attached_to": 21,
- "class_list": [
- "graphics_card",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 10,
- "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": "10de",
- "name": "nVidia Corporation",
- "value": 4318
- },
- "sub_vendor": {
- "hex": "7377",
- "value": 29559
- },
- "device": {
- "hex": "2203",
- "value": 8707
- },
- "sub_device": {
- "hex": "2000",
- "value": 8192
- },
- "revision": {
- "hex": "00a1",
- "value": 161
- },
- "model": "nVidia VGA compatible controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:0a:00.0",
- "sysfs_bus_id": "0000:0a:00.0",
- "sysfs_iommu_group_id": 16,
- "resources": [
- {
- "type": "io",
- "base": 57344,
- "range": 128,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "irq",
- "base": 104,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 1030792151040,
- "range": 34359738368,
- "enabled": true,
- "access": "read_only",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 1065151889408,
- "range": 33554432,
- "enabled": true,
- "access": "read_only",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 4211081216,
- "range": 16777216,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 4227858432,
- "range": 524288,
- "enabled": false,
- "access": "read_only",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 104,
- "prog_if": 0
- },
- "driver": "nvidia",
- "driver_module": "nvidia",
- "drivers": [
- "nvidia"
- ],
- "driver_modules": [
- "nvidia"
- ],
- "module_alias": "pci:v000010DEd00002203sv00007377sd00002000bc03sc00i00"
- }
- ],
- "hub": [
- {
- "index": 75,
- "attached_to": 87,
- "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": "05e3",
- "value": 1507
- },
- "device": {
- "hex": "0608",
- "name": "USB2.0 Hub",
- "value": 1544
- },
- "revision": {
- "hex": "0000",
- "name": "85.36",
- "value": 0
- },
- "model": "USB2.0 Hub",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.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": 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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v05E3p0608d8536dc09dsc00dp01ic09isc00ip00in00"
- },
- {
- "index": 76,
- "attached_to": 39,
- "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.4 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0002",
- "name": "xHCI Host Controller",
- "value": 2
- },
- "revision": {
- "hex": "0000",
- "name": "6.12",
- "value": 0
- },
- "serial": "0000:0c:00.3",
- "model": "Linux 6.12.4 xhci-hcd xHCI Host Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0002d0612dc09dsc00dp01ic09isc00ip00in00"
- },
- {
- "index": 82,
- "attached_to": 39,
- "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.4 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0003",
- "name": "xHCI Host Controller",
- "value": 3
- },
- "revision": {
- "hex": "0000",
- "name": "6.12",
- "value": 0
- },
- "serial": "0000:0c:00.3",
- "model": "Linux 6.12.4 xhci-hcd xHCI Host Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0003d0612dc09dsc00dp03ic09isc00ip00in00"
- },
- {
- "index": 87,
- "attached_to": 29,
- "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.4 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0002",
- "name": "xHCI Host Controller",
- "value": 2
- },
- "revision": {
- "hex": "0000",
- "name": "6.12",
- "value": 0
- },
- "serial": "0000:02:00.0",
- "model": "Linux 6.12.4 xhci-hcd xHCI Host Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0002d0612dc09dsc00dp01ic09isc00ip00in00"
- },
- {
- "index": 91,
- "attached_to": 76,
- "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": "058f",
- "name": "Alcor Micro, Inc.",
- "value": 1423
- },
- "device": {
- "hex": "9254",
- "name": "Generic USB Hub",
- "value": 37460
- },
- "revision": {
- "hex": "0000",
- "name": "3.12",
- "value": 0
- },
- "model": "Alcor Micro Generic USB Hub",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2:1.0",
- "sysfs_bus_id": "3-2:1.0",
- "resources": [
- {
- "type": "baud",
- "speed": 12000000,
- "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": 0,
- "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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v058Fp9254d0312dc09dsc00dp00ic09isc00ip00in00"
- },
- {
- "index": 94,
- "attached_to": 29,
- "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.4 xhci-hcd",
- "value": 7531
- },
- "device": {
- "hex": "0003",
- "name": "xHCI Host Controller",
- "value": 3
- },
- "revision": {
- "hex": "0000",
- "name": "6.12",
- "value": 0
- },
- "serial": "0000:02:00.0",
- "model": "Linux 6.12.4 xhci-hcd xHCI Host Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.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",
- "drivers": [
- "hub"
- ],
- "module_alias": "usb:v1D6Bp0003d0612dc09dsc00dp03ic09isc00ip00in00"
- }
- ],
- "keyboard": [
- {
- "index": 84,
- "attached_to": 75,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c52b",
- "name": "USB Receiver",
- "value": 50475
- },
- "revision": {
- "hex": "0000",
- "name": "12.11",
- "value": 0
- },
- "model": "Logitech USB Receiver",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.4/1-6.4:1.0",
- "sysfs_bus_id": "1-6.4:1.0",
- "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:v046DpC52Bd1211dc00dsc00dp00ic03isc01ip01in00"
- },
- {
- "index": 92,
- "attached_to": 75,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c548",
- "name": "USB Receiver",
- "value": 50504
- },
- "revision": {
- "hex": "0000",
- "name": "5.03",
- "value": 0
- },
- "model": "Logitech USB Receiver",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.0",
- "sysfs_bus_id": "1-6.1:1.0",
- "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-Logitech_USB_Receiver-event-kbd",
- "/dev/input/by-path/pci-0000:02:00.0-usb-0:6.1:1.0-event-kbd",
- "/dev/input/by-path/pci-0000:02:00.0-usbv2-0:6.1:1.0-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": "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:v046DpC548d0503dc00dsc00dp00ic03isc01ip01in00"
- }
- ],
- "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": 33599733760,
- "enabled": true,
- "access": "read_write",
- "prefetch": "unknown"
- },
- {
- "type": "phys_mem",
- "range": 34359738368
- }
- ]
- }
- ],
- "monitor": [
- {
- "index": 63,
- "attached_to": 37,
- "class_list": [
- "monitor"
- ],
- "base_class": {
- "hex": "0100",
- "name": "Monitor",
- "value": 256
- },
- "sub_class": {
- "hex": "0002",
- "name": "LCD Monitor",
- "value": 2
- },
- "vendor": {
- "hex": "0472",
- "value": 1138
- },
- "device": {
- "hex": "08c8",
- "name": "KG272U",
- "value": 2248
- },
- "serial": "TP1EE001851C",
- "model": "KG272U",
- "resources": [
- {
- "type": "monitor",
- "width": 1024,
- "height": 768,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 1024,
- "height": 768,
- "vertical_frequency": 70,
- "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": 67,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 640,
- "height": 480,
- "vertical_frequency": 72,
- "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": 56,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 72,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 75,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 832,
- "height": 624,
- "vertical_frequency": 75,
- "interlaced": false
- },
- {
- "type": "size",
- "unit": "mm",
- "value_1": 597,
- "value_2": 336
- }
- ],
- "detail": {
- "manufacture_year": 2022,
- "manufacture_week": 30,
- "vertical_sync": {
- "min": 48,
- "max": 75
- },
- "horizontal_sync": {
- "min": 112,
- "max": 112
- },
- "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": 597,
- "height_millimetres": 336,
- "horizontal_flag": 45,
- "vertical_flag": 43,
- "vendor": "",
- "name": "KG272U"
- },
- "driver_info": {
- "type": "display",
- "width": 2560,
- "height": 1440,
- "vertical_sync": {
- "min": 48,
- "max": 75
- },
- "horizontal_sync": {
- "min": 112,
- "max": 112
- },
- "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
- }
- },
- {
- "index": 64,
- "attached_to": 37,
- "class_list": [
- "monitor"
- ],
- "base_class": {
- "hex": "0100",
- "name": "Monitor",
- "value": 256
- },
- "sub_class": {
- "hex": "0002",
- "name": "LCD Monitor",
- "value": 2
- },
- "vendor": {
- "hex": "0472",
- "value": 1138
- },
- "device": {
- "hex": "08c8",
- "name": "KG272U",
- "value": 2248
- },
- "serial": "TP1EE001851C",
- "model": "KG272U",
- "resources": [
- {
- "type": "monitor",
- "width": 1024,
- "height": 768,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 1024,
- "height": 768,
- "vertical_frequency": 70,
- "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": 67,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 640,
- "height": 480,
- "vertical_frequency": 72,
- "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": 56,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 60,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 72,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 800,
- "height": 600,
- "vertical_frequency": 75,
- "interlaced": false
- },
- {
- "type": "monitor",
- "width": 832,
- "height": 624,
- "vertical_frequency": 75,
- "interlaced": false
- },
- {
- "type": "size",
- "unit": "mm",
- "value_1": 597,
- "value_2": 336
- }
- ],
- "detail": {
- "manufacture_year": 2021,
- "manufacture_week": 39,
- "vertical_sync": {
- "min": 48,
- "max": 75
- },
- "horizontal_sync": {
- "min": 112,
- "max": 112
- },
- "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": 597,
- "height_millimetres": 336,
- "horizontal_flag": 45,
- "vertical_flag": 43,
- "vendor": "",
- "name": "KG272U"
- },
- "driver_info": {
- "type": "display",
- "width": 2560,
- "height": 1440,
- "vertical_sync": {
- "min": 48,
- "max": 75
- },
- "horizontal_sync": {
- "min": 112,
- "max": 112
- },
- "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": 68,
- "attached_to": 75,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c52b",
- "name": "USB Receiver",
- "value": 50475
- },
- "revision": {
- "hex": "0000",
- "name": "12.11",
- "value": 0
- },
- "compat_vendor": "Unknown",
- "compat_device": "Generic USB Mouse",
- "model": "Logitech USB Receiver",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.4/1-6.4:1.1",
- "sysfs_bus_id": "1-6.4: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": "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:v046DpC52Bd1211dc00dsc00dp00ic03isc01ip02in01"
- },
- {
- "index": 72,
- "attached_to": 75,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c548",
- "name": "USB Receiver",
- "value": 50504
- },
- "revision": {
- "hex": "0000",
- "name": "5.03",
- "value": 0
- },
- "compat_vendor": "Unknown",
- "compat_device": "Generic USB Mouse",
- "model": "Logitech USB Receiver",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.3",
- "sysfs_bus_id": "1-6.1:1.3",
- "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": 3,
- "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:v046DpC548d0503dc00dsc00dp00ic03isc00ip00in03"
- },
- {
- "index": 77,
- "attached_to": 75,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c548",
- "name": "USB Receiver",
- "value": 50504
- },
- "revision": {
- "hex": "0000",
- "name": "5.03",
- "value": 0
- },
- "compat_vendor": "Unknown",
- "compat_device": "Generic USB Mouse",
- "model": "Logitech USB Receiver",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.1",
- "sysfs_bus_id": "1-6.1:1.1",
- "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": 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:v046DpC548d0503dc00dsc00dp00ic03isc01ip02in01"
- },
- {
- "index": 99,
- "attached_to": 0,
- "bus_type": {
- "hex": "0086",
- "name": "usb",
- "value": 134
- },
- "base_class": {
- "hex": "0118",
- "name": "touchpad",
- "value": 280
- },
- "sub_class": {
- "hex": "0003",
- "name": "usb",
- "value": 3
- },
- "vendor": {
- "hex": "046d",
- "name": "Logitech",
- "value": 1133
- },
- "device": {
- "hex": "c548",
- "name": "USB_Receiver",
- "value": 50504
- },
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.3/0003:046D:C548.0009/input/input16",
- "unix_device_names": [
- "/dev/input/event9",
- "/dev/input/ + handler"
- ]
- }
- ],
- "network_controller": [
- {
- "index": 32,
- "attached_to": 48,
- "class_list": [
- "network_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 8,
- "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": "1458",
- "value": 5208
- },
- "device": {
- "hex": "8125",
- "value": 33061
- },
- "sub_device": {
- "hex": "e000",
- "value": 57344
- },
- "revision": {
- "hex": "0005",
- "value": 5
- },
- "model": "Ethernet controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:08.0/0000:08:00.0",
- "sysfs_bus_id": "0000:08:00.0",
- "sysfs_iommu_group_id": 15,
- "unix_device_name": "eno1",
- "unix_device_names": [
- "eno1"
- ],
- "resources": [
- {
- "type": "hwaddr",
- "address": 49
- },
- {
- "type": "io",
- "base": 61440,
- "range": 256,
- "enabled": true,
- "access": "read_write"
- },
- {
- "type": "irq",
- "base": 35,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4233101312,
- "range": 65536,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 4233166848,
- "range": 16384,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "phwaddr",
- "address": 49
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 35,
- "prog_if": 0
- },
- "driver": "r8169",
- "driver_module": "r8169",
- "drivers": [
- "r8169"
- ],
- "driver_modules": [
- "r8169"
- ],
- "module_alias": "pci:v000010ECd00008125sv00001458sd0000E000bc02sc00i00",
- "label": "RTL8111E Giga LAN"
- },
- {
- "index": 52,
- "attached_to": 41,
- "class_list": [
- "network_controller",
- "pci",
- "wlan_card"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 5,
- "number": 0
- },
- "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": "2723",
- "value": 10019
- },
- "sub_device": {
- "hex": "0084",
- "value": 132
- },
- "revision": {
- "hex": "001a",
- "value": 26
- },
- "model": "Intel WLAN controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:02.0/0000:05:00.0",
- "sysfs_bus_id": "0000:05:00.0",
- "sysfs_iommu_group_id": 15,
- "unix_device_name": "wlp5s0",
- "unix_device_names": [
- "wlp5s0"
- ],
- "resources": [
- {
- "type": "hwaddr",
- "address": 99
- },
- {
- "type": "irq",
- "base": 34,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4234149888,
- "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",
- "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": 0,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 34,
- "prog_if": 0
- },
- "driver": "iwlwifi",
- "driver_module": "iwlwifi",
- "drivers": [
- "iwlwifi"
- ],
- "driver_modules": [
- "iwlwifi"
- ],
- "module_alias": "pci:v00008086d00002723sv00008086sd00000084bc02sc80i00"
- }
- ],
- "network_interface": [
- {
- "index": 96,
- "attached_to": 52,
- "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/wlp5s0",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:02.0/0000:05:00.0",
- "unix_device_name": "wlp5s0",
- "unix_device_names": [
- "wlp5s0"
- ],
- "resources": [
- {
- "type": "hwaddr",
- "address": 99
- },
- {
- "type": "phwaddr",
- "address": 99
- }
- ],
- "driver": "iwlwifi",
- "driver_module": "iwlwifi",
- "drivers": [
- "iwlwifi"
- ],
- "driver_modules": [
- "iwlwifi"
- ]
- },
- {
- "index": 97,
- "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": 98,
- "attached_to": 32,
- "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/eno1",
- "sysfs_device_link": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:08.0/0000:08:00.0",
- "unix_device_name": "eno1",
- "unix_device_names": [
- "eno1"
- ],
- "resources": [
- {
- "type": "hwaddr",
- "address": 49
- },
- {
- "type": "phwaddr",
- "address": 49
- }
- ],
- "driver": "r8169",
- "driver_module": "r8169",
- "drivers": [
- "r8169"
- ],
- "driver_modules": [
- "r8169"
- ]
- }
- ],
- "pci": [
- {
- "index": 22,
- "attached_to": 45,
- "class_list": [
- "pci",
- "unknown"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 12,
- "number": 0
- },
- "base_class": {
- "hex": "0013",
- "value": 19
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1485",
- "value": 5253
- },
- "sub_device": {
- "hex": "1485",
- "value": 5253
- },
- "model": "unknown unknown",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.0",
- "sysfs_bus_id": "0000:0c:00.0",
- "sysfs_iommu_group_id": 18,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001485sv00001022sd00001485bc13sc00i00"
- },
- {
- "index": 31,
- "attached_to": 56,
- "class_list": [
- "pci",
- "unknown"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 11,
- "number": 0
- },
- "base_class": {
- "hex": "0013",
- "value": 19
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "148a",
- "value": 5258
- },
- "sub_device": {
- "hex": "148a",
- "value": 5258
- },
- "model": "unknown unknown",
- "sysfs_id": "/devices/pci0000:00/0000:00:07.1/0000:0b:00.0",
- "sysfs_bus_id": "0000:0b:00.0",
- "sysfs_iommu_group_id": 17,
- "detail": {
- "function": 0,
- "command": 0,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d0000148Asv00001022sd0000148Abc13sc00i00"
- },
- {
- "index": 40,
- "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": "0006",
- "value": 6
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1481",
- "value": 5249
- },
- "sub_device": {
- "hex": "1481",
- "value": 5249
- },
- "model": "AMD Generic system peripheral",
- "sysfs_id": "/devices/pci0000:00/0000:00:00.2",
- "sysfs_bus_id": "0000:00:00.2",
- "detail": {
- "function": 2,
- "command": 64,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d00001481sv00001022sd00001481bc08sc06i00"
- },
- {
- "index": 43,
- "attached_to": 45,
- "class_list": [
- "pci",
- "unknown"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 12,
- "number": 0
- },
- "base_class": {
- "hex": "0010",
- "name": "Encryption controller",
- "value": 16
- },
- "sub_class": {
- "hex": "0080",
- "name": "Encryption controller",
- "value": 128
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "device": {
- "hex": "1486",
- "value": 5254
- },
- "sub_device": {
- "hex": "1486",
- "value": 5254
- },
- "model": "AMD Encryption controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.1",
- "sysfs_bus_id": "0000:0c:00.1",
- "sysfs_iommu_group_id": 19,
- "resources": [
- {
- "type": "irq",
- "base": 80,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4231004160,
- "range": 1048576,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 4232085504,
- "range": 8192,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 1,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 80,
- "prog_if": 0
- },
- "driver": "ccp",
- "driver_module": "ccp",
- "drivers": [
- "ccp"
- ],
- "driver_modules": [
- "ccp"
- ],
- "module_alias": "pci:v00001022d00001486sv00001022sd00001486bc10sc80i00"
- },
- {
- "index": 60,
- "attached_to": 0,
- "class_list": [
- "pci",
- "unknown"
- ],
- "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": "0005",
- "name": "SMBus",
- "value": 5
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1458",
- "value": 5208
- },
- "device": {
- "hex": "790b",
- "value": 30987
- },
- "sub_device": {
- "hex": "5001",
- "value": 20481
- },
- "revision": {
- "hex": "0061",
- "value": 97
- },
- "model": "AMD SMBus",
- "sysfs_id": "/devices/pci0000:00/0000:00:14.0",
- "sysfs_bus_id": "0000:00:14.0",
- "sysfs_iommu_group_id": 12,
- "detail": {
- "function": 0,
- "command": 1027,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 0,
- "prog_if": 0
- },
- "module_alias": "pci:v00001022d0000790Bsv00001458sd00005001bc0Csc05i00"
- }
- ],
- "sound": [
- {
- "index": 54,
- "attached_to": 21,
- "class_list": [
- "sound",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 10,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0003",
- "value": 3
- },
- "vendor": {
- "hex": "10de",
- "name": "nVidia Corporation",
- "value": 4318
- },
- "sub_vendor": {
- "hex": "7377",
- "value": 29559
- },
- "device": {
- "hex": "1aef",
- "value": 6895
- },
- "sub_device": {
- "hex": "2000",
- "value": 8192
- },
- "revision": {
- "hex": "00a1",
- "value": 161
- },
- "model": "nVidia Multimedia controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:0a:00.1",
- "sysfs_bus_id": "0000:0a:00.1",
- "sysfs_iommu_group_id": 16,
- "resources": [
- {
- "type": "irq",
- "base": 84,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4228382720,
- "range": 16384,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 1,
- "command": 6,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 84,
- "prog_if": 0
- },
- "driver": "snd_hda_intel",
- "driver_module": "snd_hda_intel",
- "drivers": [
- "snd_hda_intel"
- ],
- "driver_modules": [
- "snd_hda_intel"
- ],
- "module_alias": "pci:v000010DEd00001AEFsv00007377sd00002000bc04sc03i00"
- },
- {
- "index": 57,
- "attached_to": 45,
- "class_list": [
- "sound",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 12,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0003",
- "value": 3
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1458",
- "value": 5208
- },
- "device": {
- "hex": "1487",
- "value": 5255
- },
- "sub_device": {
- "hex": "a0cf",
- "value": 41167
- },
- "model": "AMD Multimedia controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4",
- "sysfs_bus_id": "0000:0c:00.4",
- "sysfs_iommu_group_id": 21,
- "resources": [
- {
- "type": "irq",
- "base": 86,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4232052736,
- "range": 32768,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 4,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 86,
- "prog_if": 0
- },
- "driver": "snd_hda_intel",
- "driver_module": "snd_hda_intel",
- "drivers": [
- "snd_hda_intel"
- ],
- "driver_modules": [
- "snd_hda_intel"
- ],
- "module_alias": "pci:v00001022d00001487sv00001458sd0000A0CFbc04sc03i00",
- "label": "Realtek ALC1220"
- },
- {
- "index": 73,
- "attached_to": 91,
- "class_list": [
- "sound",
- "usb"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0001",
- "name": "Multimedia audio controller",
- "value": 1
- },
- "vendor": {
- "hex": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c4",
- "name": "SteelSeries Arctis 9",
- "value": 4804
- },
- "revision": {
- "hex": "0000",
- "name": "0.03",
- "value": 0
- },
- "serial": "000000000000",
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.1/3-2.1:1.3",
- "sysfs_bus_id": "3-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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_subclass": {
- "hex": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_protocol": 0,
- "interface_number": 3,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "driver": "snd-usb-audio",
- "driver_module": "snd_usb_audio",
- "drivers": [
- "snd-usb-audio"
- ],
- "driver_modules": [
- "snd_usb_audio"
- ],
- "module_alias": "usb:v1038p12C4d0003dc00dsc00dp00ic01isc01ip00in03"
- },
- {
- "index": 78,
- "attached_to": 91,
- "class_list": [
- "sound",
- "usb"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0001",
- "name": "Multimedia audio controller",
- "value": 1
- },
- "vendor": {
- "hex": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c4",
- "name": "SteelSeries Arctis 9",
- "value": 4804
- },
- "revision": {
- "hex": "0000",
- "name": "0.03",
- "value": 0
- },
- "serial": "000000000000",
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.1/3-2.1:1.1",
- "sysfs_bus_id": "3-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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_subclass": {
- "hex": "0002",
- "name": "comm",
- "value": 2
- },
- "interface_protocol": 0,
- "interface_number": 1,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "driver": "snd-usb-audio",
- "driver_module": "snd_usb_audio",
- "drivers": [
- "snd-usb-audio"
- ],
- "driver_modules": [
- "snd_usb_audio"
- ],
- "module_alias": "usb:v1038p12C4d0003dc00dsc00dp00ic01isc02ip00in01"
- },
- {
- "index": 85,
- "attached_to": 91,
- "class_list": [
- "sound",
- "usb"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0001",
- "name": "Multimedia audio controller",
- "value": 1
- },
- "vendor": {
- "hex": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c4",
- "name": "SteelSeries Arctis 9",
- "value": 4804
- },
- "revision": {
- "hex": "0000",
- "name": "0.03",
- "value": 0
- },
- "serial": "000000000000",
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.1/3-2.1:1.4",
- "sysfs_bus_id": "3-2.1:1.4",
- "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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_subclass": {
- "hex": "0002",
- "name": "comm",
- "value": 2
- },
- "interface_protocol": 0,
- "interface_number": 4,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "driver": "snd-usb-audio",
- "driver_module": "snd_usb_audio",
- "drivers": [
- "snd-usb-audio"
- ],
- "driver_modules": [
- "snd_usb_audio"
- ],
- "module_alias": "usb:v1038p12C4d0003dc00dsc00dp00ic01isc02ip00in04"
- },
- {
- "index": 89,
- "attached_to": 91,
- "class_list": [
- "sound",
- "usb"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0001",
- "name": "Multimedia audio controller",
- "value": 1
- },
- "vendor": {
- "hex": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c4",
- "name": "SteelSeries Arctis 9",
- "value": 4804
- },
- "revision": {
- "hex": "0000",
- "name": "0.03",
- "value": 0
- },
- "serial": "000000000000",
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.1/3-2.1:1.2",
- "sysfs_bus_id": "3-2.1:1.2",
- "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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_subclass": {
- "hex": "0002",
- "name": "comm",
- "value": 2
- },
- "interface_protocol": 0,
- "interface_number": 2,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "driver": "snd-usb-audio",
- "driver_module": "snd_usb_audio",
- "drivers": [
- "snd-usb-audio"
- ],
- "driver_modules": [
- "snd_usb_audio"
- ],
- "module_alias": "usb:v1038p12C4d0003dc00dsc00dp00ic01isc02ip00in02"
- },
- {
- "index": 93,
- "attached_to": 91,
- "class_list": [
- "sound",
- "usb"
- ],
- "bus_type": {
- "hex": "0086",
- "name": "USB",
- "value": 134
- },
- "slot": {
- "bus": 0,
- "number": 0
- },
- "base_class": {
- "hex": "0004",
- "name": "Multimedia controller",
- "value": 4
- },
- "sub_class": {
- "hex": "0001",
- "name": "Multimedia audio controller",
- "value": 1
- },
- "vendor": {
- "hex": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c4",
- "name": "SteelSeries Arctis 9",
- "value": 4804
- },
- "revision": {
- "hex": "0000",
- "name": "0.03",
- "value": 0
- },
- "serial": "000000000000",
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.1/3-2.1:1.0",
- "sysfs_bus_id": "3-2.1:1.0",
- "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": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_subclass": {
- "hex": "0001",
- "name": "audio",
- "value": 1
- },
- "interface_protocol": 0,
- "interface_number": 0,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "driver": "snd-usb-audio",
- "driver_module": "snd_usb_audio",
- "drivers": [
- "snd-usb-audio"
- ],
- "driver_modules": [
- "snd_usb_audio"
- ],
- "module_alias": "usb:v1038p12C4d0003dc00dsc00dp00ic01isc01ip00in00"
- }
- ],
- "storage_controller": [
- {
- "index": 36,
- "attached_to": 51,
- "class_list": [
- "storage_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 1,
- "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": "15b7",
- "value": 5559
- },
- "sub_vendor": {
- "hex": "15b7",
- "value": 5559
- },
- "device": {
- "hex": "5009",
- "value": 20489
- },
- "sub_device": {
- "hex": "5009",
- "value": 20489
- },
- "revision": {
- "hex": "0001",
- "value": 1
- },
- "model": "Mass storage controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.1/0000:01:00.0",
- "sysfs_bus_id": "0000:01:00.0",
- "sysfs_iommu_group_id": 14,
- "resources": [
- {
- "type": "irq",
- "base": 44,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4236247040,
- "range": 16384,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 4236263424,
- "range": 256,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 0,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 44,
- "prog_if": 2
- },
- "driver": "nvme",
- "driver_module": "nvme",
- "drivers": [
- "nvme"
- ],
- "driver_modules": [
- "nvme"
- ],
- "module_alias": "pci:v000015B7d00005009sv000015B7sd00005009bc01sc08i02"
- },
- {
- "index": 50,
- "attached_to": 26,
- "class_list": [
- "storage_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 2,
- "number": 0
- },
- "base_class": {
- "hex": "0001",
- "name": "Mass storage controller",
- "value": 1
- },
- "sub_class": {
- "hex": "0006",
- "value": 6
- },
- "pci_interface": {
- "hex": "0001",
- "value": 1
- },
- "vendor": {
- "hex": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43eb",
- "value": 17387
- },
- "sub_device": {
- "hex": "1062",
- "value": 4194
- },
- "model": "AMD Mass storage controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.1",
- "sysfs_bus_id": "0000:02:00.1",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 62,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4235198464,
- "range": 524288,
- "enabled": false,
- "access": "read_only",
- "prefetch": "no"
- },
- {
- "type": "mem",
- "base": 4235722752,
- "range": 131072,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 1,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 62,
- "prog_if": 1
- },
- "driver": "ahci",
- "driver_module": "ahci",
- "drivers": [
- "ahci"
- ],
- "driver_modules": [
- "ahci"
- ],
- "module_alias": "pci:v00001022d000043EBsv00001B21sd00001062bc01sc06i01"
- }
- ],
- "system": {
- "form_factor": "desktop"
- },
- "usb": [
- {
- "index": 70,
- "attached_to": 91,
- "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": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c2",
- "name": "SteelSeries Arctis 9",
- "value": 4802
- },
- "revision": {
- "hex": "0000",
- "name": "1.01",
- "value": 0
- },
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.2/3-2.2:1.0",
- "sysfs_bus_id": "3-2.2:1.0",
- "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:v1038p12C2d0101dc00dsc00dp00ic03isc00ip00in00"
- },
- {
- "index": 71,
- "attached_to": 91,
- "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": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c4",
- "name": "SteelSeries Arctis 9",
- "value": 4804
- },
- "revision": {
- "hex": "0000",
- "name": "0.03",
- "value": 0
- },
- "serial": "000000000000",
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.1/3-2.1:1.5",
- "sysfs_bus_id": "3-2.1:1.5",
- "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": 5,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "driver": "usbhid",
- "driver_module": "usbhid",
- "drivers": [
- "usbhid"
- ],
- "driver_modules": [
- "usbhid"
- ],
- "module_alias": "usb:v1038p12C4d0003dc00dsc00dp00ic03isc00ip00in05"
- },
- {
- "index": 79,
- "attached_to": 75,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c52b",
- "name": "USB Receiver",
- "value": 50475
- },
- "revision": {
- "hex": "0000",
- "name": "12.11",
- "value": 0
- },
- "model": "Logitech USB Receiver",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.4/1-6.4:1.2",
- "sysfs_bus_id": "1-6.4:1.2",
- "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"
- ],
- "module_alias": "usb:v046DpC52Bd1211dc00dsc00dp00ic03isc00ip00in02"
- },
- {
- "index": 80,
- "attached_to": 87,
- "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": "048d",
- "name": "Integrated Technology Express",
- "value": 1165
- },
- "device": {
- "hex": "5702",
- "name": "ITE Device",
- "value": 22274
- },
- "revision": {
- "hex": "0000",
- "name": "0.01",
- "value": 0
- },
- "model": "Integrated Technology Express ITE Device",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-7/1-7:1.0",
- "sysfs_bus_id": "1-7:1.0",
- "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:v048Dp5702d0001dc00dsc00dp00ic03isc00ip00in00"
- },
- {
- "index": 83,
- "attached_to": 91,
- "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": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c2",
- "name": "SteelSeries Arctis 9",
- "value": 4802
- },
- "revision": {
- "hex": "0000",
- "name": "1.01",
- "value": 0
- },
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.2/3-2.2:1.1",
- "sysfs_bus_id": "3-2.2:1.1",
- "unix_device_name": "/dev/input/event0",
- "unix_device_number": {
- "type": 99,
- "major": 13,
- "minor": 64,
- "range": 1
- },
- "unix_device_names": [
- "/dev/input/by-id/usb-SteelSeries_SteelSeries_Arctis_9-event-if01",
- "/dev/input/by-path/pci-0000:0c:00.3-usb-0:2.2:1.1-event",
- "/dev/input/by-path/pci-0000:0c:00.3-usbv2-0:2.2:1.1-event",
- "/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": "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:v1038p12C2d0101dc00dsc00dp00ic03isc00ip00in01"
- },
- {
- "index": 88,
- "attached_to": 75,
- "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": "046d",
- "name": "Logitech Inc.",
- "value": 1133
- },
- "device": {
- "hex": "c548",
- "name": "USB Receiver",
- "value": 50504
- },
- "revision": {
- "hex": "0000",
- "name": "5.03",
- "value": 0
- },
- "model": "Logitech USB Receiver",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.2",
- "sysfs_bus_id": "1-6.1:1.2",
- "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"
- ],
- "module_alias": "usb:v046DpC548d0503dc00dsc00dp00ic03isc00ip00in02"
- },
- {
- "index": 90,
- "attached_to": 87,
- "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": "2104",
- "name": "Tobii AB",
- "value": 8452
- },
- "device": {
- "hex": "0313",
- "name": "EyeChip",
- "value": 787
- },
- "revision": {
- "hex": "0000",
- "name": "1.00",
- "value": 0
- },
- "serial": "IS5FF-100212740213",
- "model": "Tobii EyeChip",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-8/1-8:1.0",
- "sysfs_bus_id": "1-8: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": "00ff",
- "name": "vendor_spec",
- "value": 255
- },
- "interface_subclass": {
- "hex": "0000",
- "name": "per_interface",
- "value": 0
- },
- "interface_protocol": 0,
- "interface_number": 0,
- "interface_alternate_setting": 0
- },
- "hotplug": "usb",
- "module_alias": "usb:v2104p0313d0100dcEFdsc02dp01icFFisc00ip00in00"
- },
- {
- "index": 95,
- "attached_to": 91,
- "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": "1038",
- "name": "SteelSeries",
- "value": 4152
- },
- "device": {
- "hex": "12c2",
- "name": "SteelSeries Arctis 9",
- "value": 4802
- },
- "revision": {
- "hex": "0000",
- "name": "1.01",
- "value": 0
- },
- "model": "SteelSeries Arctis 9",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.2/3-2.2:1.2",
- "sysfs_bus_id": "3-2.2:1.2",
- "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"
- ],
- "module_alias": "usb:v1038p12C2d0101dc00dsc00dp00ic03isc00ip00in02"
- }
- ],
- "usb_controller": [
- {
- "index": 29,
- "attached_to": 26,
- "class_list": [
- "usb_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 2,
- "number": 0
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1b21",
- "value": 6945
- },
- "device": {
- "hex": "43ee",
- "value": 17390
- },
- "sub_device": {
- "hex": "1142",
- "value": 4418
- },
- "model": "AMD USB Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0",
- "sysfs_bus_id": "0000:02:00.0",
- "sysfs_iommu_group_id": 15,
- "resources": [
- {
- "type": "irq",
- "base": 35,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4235853824,
- "range": 32768,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 0,
- "command": 1030,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 35,
- "prog_if": 48
- },
- "driver": "xhci_hcd",
- "driver_module": "xhci_pci",
- "drivers": [
- "xhci_hcd"
- ],
- "driver_modules": [
- "xhci_pci"
- ],
- "module_alias": "pci:v00001022d000043EEsv00001B21sd00001142bc0Csc03i30"
- },
- {
- "index": 39,
- "attached_to": 45,
- "class_list": [
- "usb_controller",
- "pci"
- ],
- "bus_type": {
- "hex": "0004",
- "name": "PCI",
- "value": 4
- },
- "slot": {
- "bus": 12,
- "number": 0
- },
- "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": "1022",
- "name": "AMD",
- "value": 4130
- },
- "sub_vendor": {
- "hex": "1458",
- "value": 5208
- },
- "device": {
- "hex": "149c",
- "value": 5276
- },
- "sub_device": {
- "hex": "5007",
- "value": 20487
- },
- "model": "AMD USB Controller",
- "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3",
- "sysfs_bus_id": "0000:0c:00.3",
- "sysfs_iommu_group_id": 20,
- "resources": [
- {
- "type": "irq",
- "base": 71,
- "triggered": 0,
- "enabled": true
- },
- {
- "type": "mem",
- "base": 4229955584,
- "range": 1048576,
- "enabled": true,
- "access": "read_write",
- "prefetch": "no"
- }
- ],
- "detail": {
- "function": 3,
- "command": 1031,
- "header_type": 0,
- "secondary_bus": 0,
- "irq": 71,
- "prog_if": 48
- },
- "driver": "xhci_hcd",
- "driver_module": "xhci_pci",
- "drivers": [
- "xhci_hcd"
- ],
- "driver_modules": [
- "xhci_pci"
- ],
- "module_alias": "pci:v00001022d0000149Csv00001458sd00005007bc0Csc03i30"
- }
- ]
- },
- "smbios": {
- "bios": {
- "handle": 0,
- "vendor": "American Megatrends Inc.",
- "version": "F12",
- "date": "01/18/2021",
- "features": [
- "PCI supported",
- "BIOS flashable",
- "BIOS shadowing allowed",
- "CD boot supported",
- "Selectable boot supported",
- "BIOS ROM socketed",
- "EDD spec supported",
- "1.2MB Floppy supported",
- "720kB Floppy supported",
- "2.88MB Floppy supported",
- "Print Screen supported",
- "Serial Services supported",
- "Printer Services supported",
- "ACPI supported",
- "USB Legacy supported",
- "BIOS Boot Spec supported"
- ],
- "start_address": "0xf0000",
- "rom_size": 16777216
- },
- "board": {
- "handle": 2,
- "manufacturer": "Gigabyte Technology Co., Ltd.",
- "product": "B550 AORUS ELITE V2",
- "version": "x.x",
- "board_type": {
- "hex": "000a",
- "name": "Motherboard",
- "value": 10
- },
- "features": [
- "Hosting Board",
- "Replaceable"
- ],
- "location": "Default string",
- "chassis": 3
- },
- "cache": [
- {
- "handle": 14,
- "socket": "L1 - Cache",
- "size_max": 512,
- "size_current": 512,
- "speed": 1,
- "mode": {
- "hex": "0001",
- "name": "Write Back",
- "value": 1
- },
- "enabled": true,
- "location": {
- "hex": "0000",
- "name": "Internal",
- "value": 0
- },
- "socketed": false,
- "level": 0,
- "ecc": {
- "hex": "0006",
- "name": "Multi-bit",
- "value": 6
- },
- "cache_type": {
- "hex": "0005",
- "name": "Unified",
- "value": 5
- },
- "associativity": {
- "hex": "0007",
- "name": "8-way Set-Associative",
- "value": 7
- },
- "sram_type_current": [
- "Pipeline Burst"
- ],
- "sram_type_supported": [
- "Pipeline Burst"
- ]
- },
- {
- "handle": 15,
- "socket": "L2 - Cache",
- "size_max": 4096,
- "size_current": 4096,
- "speed": 1,
- "mode": {
- "hex": "0001",
- "name": "Write Back",
- "value": 1
- },
- "enabled": true,
- "location": {
- "hex": "0000",
- "name": "Internal",
- "value": 0
- },
- "socketed": false,
- "level": 1,
- "ecc": {
- "hex": "0006",
- "name": "Multi-bit",
- "value": 6
- },
- "cache_type": {
- "hex": "0005",
- "name": "Unified",
- "value": 5
- },
- "associativity": {
- "hex": "0007",
- "name": "8-way Set-Associative",
- "value": 7
- },
- "sram_type_current": [
- "Pipeline Burst"
- ],
- "sram_type_supported": [
- "Pipeline Burst"
- ]
- },
- {
- "handle": 16,
- "socket": "L3 - Cache",
- "size_max": 32768,
- "size_current": 32768,
- "speed": 1,
- "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": "0008",
- "name": "16-way Set-Associative",
- "value": 8
- },
- "sram_type_current": [
- "Pipeline Burst"
- ],
- "sram_type_supported": [
- "Pipeline Burst"
- ]
- }
- ],
- "chassis": {
- "handle": 3,
- "manufacturer": "Default string",
- "version": "Default string",
- "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": 6,
- "options": [
- "Default string"
- ]
- },
- "language": [
- {
- "handle": 52,
- "languages": [
- "en|US|iso8859-1",
- "zh|TW|unicode",
- "zh|CN|unicode",
- "ru|RU|iso8859-5",
- "de|DE|iso8859-1",
- "ja|JP|unicode",
- "ko|KR|unicode",
- "es|ES|iso8859-1",
- "fr|FR|iso8859-1",
- "it|IT|iso8859-1",
- "pt|PT|iso8859-1",
- "vi|VI|iso8859-1",
- "id|ID|iso8859-1",
- "tr|TR|iso8859-1",
- "pl|PL|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": 134217728,
- "error_handle": 10,
- "slots": 4
- }
- ],
- "memory_array_mapped_address": [
- {
- "handle": 12,
- "array_handle": 11,
- "start_address": 0,
- "end_address": 3221225472,
- "part_width": 2
- },
- {
- "handle": 13,
- "array_handle": 11,
- "start_address": 4294967296,
- "end_address": 35433480192,
- "part_width": 2
- }
- ],
- "memory_device": [
- {
- "handle": 19,
- "location": "DIMM 0",
- "bank_location": "P0 CHANNEL A",
- "manufacturer": "Unknown",
- "part_number": "Unknown",
- "array_handle": 11,
- "error_handle": 18,
- "width": 0,
- "ecc_bits": 0,
- "size": 0,
- "form_factor": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "set": 0,
- "memory_type": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "memory_type_details": [
- "Unknown"
- ],
- "speed": 0
- },
- {
- "handle": 21,
- "location": "DIMM 1",
- "bank_location": "P0 CHANNEL A",
- "manufacturer": "Kingston",
- "part_number": "KHX3733C19D4/16GX",
- "array_handle": 11,
- "error_handle": 20,
- "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": 3733
- },
- {
- "handle": 24,
- "location": "DIMM 0",
- "bank_location": "P0 CHANNEL B",
- "manufacturer": "Unknown",
- "part_number": "Unknown",
- "array_handle": 11,
- "error_handle": 23,
- "width": 0,
- "ecc_bits": 0,
- "size": 0,
- "form_factor": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "set": 0,
- "memory_type": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "memory_type_details": [
- "Unknown"
- ],
- "speed": 0
- },
- {
- "handle": 26,
- "location": "DIMM 1",
- "bank_location": "P0 CHANNEL B",
- "manufacturer": "Kingston",
- "part_number": "KHX3733C19D4/16GX",
- "array_handle": 11,
- "error_handle": 25,
- "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": 3733
- }
- ],
- "memory_device_mapped_address": [
- {
- "handle": 22,
- "memory_device_handle": 21,
- "array_map_handle": 13,
- "start_address": 0,
- "end_address": 34359738368,
- "row_position": 255,
- "interleave_position": 255,
- "interleave_depth": 255
- },
- {
- "handle": 27,
- "memory_device_handle": 26,
- "array_map_handle": 13,
- "start_address": 0,
- "end_address": 34359738368,
- "row_position": 255,
- "interleave_position": 255,
- "interleave_depth": 255
- }
- ],
- "memory_error": [
- {
- "handle": 10,
- "error_type": {
- "hex": "0003",
- "name": "OK",
- "value": 3
- },
- "granularity": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "operation": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "syndrome": 0,
- "array_address": 2147483648,
- "device_address": 2147483648,
- "range": 2147483648
- },
- {
- "handle": 18,
- "error_type": {
- "hex": "0003",
- "name": "OK",
- "value": 3
- },
- "granularity": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "operation": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "syndrome": 0,
- "array_address": 2147483648,
- "device_address": 2147483648,
- "range": 2147483648
- },
- {
- "handle": 20,
- "error_type": {
- "hex": "0003",
- "name": "OK",
- "value": 3
- },
- "granularity": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "operation": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "syndrome": 0,
- "array_address": 2147483648,
- "device_address": 2147483648,
- "range": 2147483648
- },
- {
- "handle": 23,
- "error_type": {
- "hex": "0003",
- "name": "OK",
- "value": 3
- },
- "granularity": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "operation": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "syndrome": 0,
- "array_address": 2147483648,
- "device_address": 2147483648,
- "range": 2147483648
- },
- {
- "handle": 25,
- "error_type": {
- "hex": "0003",
- "name": "OK",
- "value": 3
- },
- "granularity": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "operation": {
- "hex": "0002",
- "name": "Unknown",
- "value": 2
- },
- "syndrome": 0,
- "array_address": 2147483648,
- "device_address": 2147483648,
- "range": 2147483648
- }
- ],
- "onboard": [
- {
- "handle": 4,
- "devices": [
- {
- "name": "To Be Filled By O.E.M.",
- "type": {
- "hex": "0003",
- "name": "Video",
- "value": 3
- },
- "enabled": true
- }
- ]
- }
- ],
- "port_connector": [
- {
- "handle": 28,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J1500",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB 3.2"
- },
- {
- "handle": 29,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J1501",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB 3.2"
- },
- {
- "handle": 30,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J1502",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB-C"
- },
- {
- "handle": 31,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J1506",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB 3.2"
- },
- {
- "handle": 32,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J1507",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB 3.2"
- },
- {
- "handle": 33,
- "port_type": {
- "hex": "0010",
- "name": "USB",
- "value": 16
- },
- "internal_reference_designator": "J1301",
- "external_connector_type": {
- "hex": "0012",
- "name": "Access Bus [USB]",
- "value": 18
- },
- "external_reference_designator": "USB 3.2"
- },
- {
- "handle": 34,
- "port_type": {
- "hex": "001f",
- "name": "Network Port",
- "value": 31
- },
- "internal_reference_designator": "J1301",
- "external_connector_type": {
- "hex": "000b",
- "name": "RJ-45",
- "value": 11
- },
- "external_reference_designator": "Network"
- },
- {
- "handle": 35,
- "port_type": {
- "hex": "0020",
- "name": "Other",
- "value": 32
- },
- "internal_connector_type": {
- "hex": "0022",
- "name": "Other",
- "value": 34
- },
- "internal_reference_designator": "J1704",
- "external_reference_designator": "iSATA"
- },
- {
- "handle": 36,
- "port_type": {
- "hex": "0020",
- "name": "Other",
- "value": 32
- },
- "internal_connector_type": {
- "hex": "0022",
- "name": "Other",
- "value": 34
- },
- "internal_reference_designator": "J1705",
- "external_reference_designator": "iSATA"
- },
- {
- "handle": 37,
- "port_type": {
- "hex": "0020",
- "name": "Other",
- "value": 32
- },
- "internal_connector_type": {
- "hex": "0022",
- "name": "Other",
- "value": 34
- },
- "internal_reference_designator": "J1700",
- "external_reference_designator": "iSATA"
- },
- {
- "handle": 38,
- "port_type": {
- "hex": "0020",
- "name": "Other",
- "value": 32
- },
- "internal_connector_type": {
- "hex": "0022",
- "name": "Other",
- "value": 34
- },
- "internal_reference_designator": "J1702",
- "external_reference_designator": "iSATA"
- },
- {
- "handle": 39,
- "port_type": {
- "hex": "0020",
- "name": "Other",
- "value": 32
- },
- "internal_connector_type": {
- "hex": "0022",
- "name": "Other",
- "value": 34
- },
- "internal_reference_designator": "J1703",
- "external_reference_designator": "iSATA"
- },
- {
- "handle": 40,
- "port_type": {
- "hex": "0020",
- "name": "Other",
- "value": 32
- },
- "internal_connector_type": {
- "hex": "0022",
- "name": "Other",
- "value": 34
- },
- "internal_reference_designator": "J1706",
- "external_reference_designator": "iSATA"
- },
- {
- "handle": 41,
- "port_type": {
- "hex": "001c",
- "name": "Video Port",
- "value": 28
- },
- "internal_reference_designator": "J1100",
- "external_reference_designator": "HDMI"
- },
- {
- "handle": 42,
- "port_type": {
- "hex": "001c",
- "name": "Video Port",
- "value": 28
- },
- "internal_reference_designator": "J1101",
- "external_reference_designator": "HDMI"
- },
- {
- "handle": 43,
- "port_type": {
- "hex": "001c",
- "name": "Video Port",
- "value": 28
- },
- "internal_reference_designator": "J1102",
- "external_reference_designator": "DP"
- },
- {
- "handle": 44,
- "port_type": {
- "hex": "001d",
- "name": "Audio Port",
- "value": 29
- },
- "internal_reference_designator": "J2100",
- "external_connector_type": {
- "hex": "001f",
- "name": "Mini-jack [headphones]",
- "value": 31
- },
- "external_reference_designator": "Front Audio"
- },
- {
- "handle": 45,
- "port_type": {
- "hex": "001d",
- "name": "Audio Port",
- "value": 29
- },
- "internal_reference_designator": "J2101",
- "external_connector_type": {
- "hex": "001f",
- "name": "Mini-jack [headphones]",
- "value": 31
- },
- "external_reference_designator": "Audio Jack"
- },
- {
- "handle": 46,
- "port_type": {
- "hex": "001d",
- "name": "Audio Port",
- "value": 29
- },
- "internal_reference_designator": "J2102",
- "external_connector_type": {
- "hex": "001f",
- "name": "Mini-jack [headphones]",
- "value": 31
- },
- "external_reference_designator": "HD Audio HDR"
- }
- ],
- "processor": [
- {
- "handle": 17,
- "socket": "AM4",
- "socket_type": {
- "hex": "0031",
- "name": "Other",
- "value": 49
- },
- "socket_populated": true,
- "manufacturer": "Advanced Micro Devices, Inc.",
- "version": "AMD Ryzen 7 5800X 8-Core Processor",
- "part": "Unknown",
- "processor_type": {
- "hex": "0003",
- "name": "CPU",
- "value": 3
- },
- "processor_family": {
- "hex": "006b",
- "name": "Other",
- "value": 107
- },
- "processor_status": {
- "hex": "0001",
- "name": "Enabled",
- "value": 1
- },
- "clock_ext": 100,
- "clock_max": 4850,
- "cache_handle_l1": 14,
- "cache_handle_l2": 15,
- "cache_handle_l3": 16
- }
- ],
- "slot": [
- {
- "handle": 47,
- "designation": "J10",
- "slot_type": {
- "hex": "00aa",
- "name": "Other",
- "value": 170
- },
- "bus_width": {
- "hex": "000d",
- "name": "Other",
- "value": 13
- },
- "usage": {
- "hex": "0004",
- "name": "In Use",
- "value": 4
- },
- "length": {
- "hex": "0003",
- "name": "Short",
- "value": 3
- },
- "id": 12,
- "features": [
- "3.3 V",
- "PME#"
- ]
- },
- {
- "handle": 48,
- "designation": "J3700 M.2 Slot",
- "slot_type": {
- "hex": "00a6",
- "name": "Other",
- "value": 166
- },
- "bus_width": {
- "hex": "0008",
- "name": "Other",
- "value": 8
- },
- "usage": {
- "hex": "0004",
- "name": "In Use",
- "value": 4
- },
- "length": {
- "hex": "0003",
- "name": "Short",
- "value": 3
- },
- "id": 14,
- "features": [
- "3.3 V",
- "PME#"
- ]
- },
- {
- "handle": 49,
- "designation": "J3708 PCIE x4 slot from Promontory",
- "slot_type": {
- "hex": "00a8",
- "name": "Other",
- "value": 168
- },
- "bus_width": {
- "hex": "000a",
- "name": "Other",
- "value": 10
- },
- "usage": {
- "hex": "0003",
- "name": "Available",
- "value": 3
- },
- "length": {
- "hex": "0003",
- "name": "Short",
- "value": 3
- },
- "id": 128,
- "features": [
- "3.3 V",
- "PME#"
- ]
- }
- ],
- "system": {
- "handle": 1,
- "manufacturer": "Gigabyte Technology Co., Ltd.",
- "product": "B550 AORUS ELITE V2",
- "version": "Default string",
- "wake_up": {
- "hex": "0006",
- "name": "Power Switch",
- "value": 6
- }
- }
- }
-}
\ No newline at end of file
diff --git a/nixos/hosts/kylekrein-homepc/homepc-hardware-conf.nix b/nixos/hosts/kylekrein-homepc/homepc-hardware-conf.nix
deleted file mode 100644
index 22f44ad..0000000
--- a/nixos/hosts/kylekrein-homepc/homepc-hardware-conf.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-# Do not modify this file! It was generated by ‘nixos-generate-config’
-# and may be overwritten by future invocations. Please make changes
-# to /etc/nixos/configuration.nix instead.
-{
- config,
- lib,
- pkgs,
- modulesPath,
- ...
-}: {
- imports = [
- (modulesPath + "/installer/scan/not-detected.nix")
- ];
-
- boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"];
- boot.initrd.kernelModules = [];
- boot.kernelModules = ["kvm-amd"];
- boot.extraModulePackages = [];
-
- # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
- # (the default) this is the recommended approach. When using systemd-networkd it's
- # still possible to use this option, but it's recommended to use it in conjunction
- # with explicit per-interface declarations with `networking.interfaces..useDHCP`.
- networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.eno1.useDHCP = lib.mkDefault true;
- # networking.interfaces.virbr0.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}
diff --git a/nixos/hosts/kylekrein-mac/default.nix b/nixos/hosts/kylekrein-mac/default.nix
deleted file mode 100644
index e905c6e..0000000
--- a/nixos/hosts/kylekrein-mac/default.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- inputs,
- config,
- unstable-pkgs,
- ...
-}: {
- imports = [
- inputs.apple-silicon-support.nixosModules.default
- ./mac-hardware-conf.nix
- ../../hardware/apple-silicon-linux
-
- ../../modules/niri
-
- ../../users/kylekrein
- ];
- facter.reportPath = lib.mkForce null; #fails to generate
- boot.binfmt.emulatedSystems = ["x86_64-linux"];
- nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
-
- services.displayManager.sddm = {
- wayland.enable = lib.mkForce false; # black screen
- };
- environment.systemPackages = with pkgs; [
- prismlauncher
- unstable-pkgs.mcpelauncher-ui-qt
- ];
- services.ollama = {
- enable = true;
- loadModels = ["llama3.1" "qwen2.5-coder:7b"];
- home = "/persist/ollama";
- user = "ollama";
- group = "ollama";
- };
-
- boot = {
- kernelParams = [
- "zswap.enabled=1"
- "zswap.compressor=lzo"
- "zswap.zpool=zsmalloc"
- "zswap.max_pool_percent=50"
- ];
- };
-
- services.zerotierone = {
- enable = true;
- joinNetworks = [
- "db64858fed285e0f"
- ];
- };
-}
diff --git a/nixos/hosts/kylekrein-mac/mac-hardware-conf.nix b/nixos/hosts/kylekrein-mac/mac-hardware-conf.nix
deleted file mode 100644
index b99a538..0000000
--- a/nixos/hosts/kylekrein-mac/mac-hardware-conf.nix
+++ /dev/null
@@ -1,62 +0,0 @@
-# Do not modify this file! It was generated by ‘nixos-generate-config’
-# and may be overwritten by future invocations. Please make changes
-# to /etc/nixos/configuration.nix instead.
-{
- config,
- lib,
- pkgs,
- modulesPath,
- ...
-}: {
- imports = [
- (modulesPath + "/installer/scan/not-detected.nix")
- ];
-
- boot.initrd.availableKernelModules = ["usb_storage"];
- boot.initrd.kernelModules = [];
- boot.kernelModules = [];
- boot.extraModulePackages = [];
-
- fileSystems."/" = {
- device = "tmpfs";
- fsType = "tmpfs";
- options = ["defaults" "size=8G" "mode=755"];
- };
- fileSystems."/persist" = {
- device = "/dev/disk/by-label/nixos";
- fsType = "ext4";
- depends = ["/"];
- neededForBoot = true;
- };
- fileSystems."/nix" = {
- device = "/persist/nix";
- options = ["bind"];
- depends = ["/persist"];
- };
- fileSystems."/tmp" = {
- device = "/persist/tmp";
- options = ["bind"];
- depends = ["/persist"];
- };
- fileSystems."/boot" = {
- device = "/dev/disk/by-label/EFI\\x20-\\x20NIXOS";
- fsType = "vfat";
- #options = [ "fmask=0022" "dmask=0022" ];
- };
-
- swapDevices = [
- {
- device = "/persist/swapfile";
- size = 16 * 1024;
- }
- ];
-
- # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
- # (the default) this is the recommended approach. When using systemd-networkd it's
- # still possible to use this option, but it's recommended to use it in conjunction
- # with explicit per-interface declarations with `networking.interfaces..useDHCP`.
- networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
-}
diff --git a/nixos/hosts/kylekrein-server/conduwuit.nix b/nixos/hosts/kylekrein-server/conduwuit.nix
deleted file mode 100644
index 4391546..0000000
--- a/nixos/hosts/kylekrein-server/conduwuit.nix
+++ /dev/null
@@ -1,377 +0,0 @@
-{
- config,
- lib,
- pkgs,
- ...
-}: let
- cfg = config.kk.services.conduwuit;
- defaultUser = "conduwuit";
- defaultGroup = "conduwuit";
-
- format = pkgs.formats.toml {};
- configFile = format.generate "conduwuit.toml" cfg.settings;
-in {
- meta.maintainers = with lib.maintainers; [niklaskorz];
- options.kk.services.conduwuit = {
- enable = lib.mkEnableOption "conduwuit";
-
- user = lib.mkOption {
- type = lib.types.nonEmptyStr;
- description = ''
- The user {command}`conduwuit` is run as.
- '';
- default = defaultUser;
- };
-
- group = lib.mkOption {
- type = lib.types.nonEmptyStr;
- description = ''
- The group {command}`conduwuit` is run as.
- '';
- default = defaultGroup;
- };
-
- extraEnvironment = lib.mkOption {
- type = lib.types.attrsOf lib.types.str;
- description = "Extra Environment variables to pass to the conduwuit server.";
- default = {};
- example = {
- RUST_BACKTRACE = "yes";
- };
- };
-
- package = lib.mkPackageOption pkgs "conduwuit" {};
-
- settings = lib.mkOption {
- type = lib.types.submodule {
- freeformType = format.type;
- options = {
- global.server_name = lib.mkOption {
- type = lib.types.nonEmptyStr;
- example = "example.com";
- description = "The server_name is the name of this server. It is used as a suffix for user and room ids.";
- };
- global.address = lib.mkOption {
- type = lib.types.nullOr (lib.types.listOf lib.types.nonEmptyStr);
- default = null;
- example = [
- "127.0.0.1"
- "::1"
- ];
- description = ''
- Addresses (IPv4 or IPv6) to listen on for connections by the reverse proxy/tls terminator.
- If set to `null`, conduwuit will listen on IPv4 and IPv6 localhost.
- Must be `null` if `unix_socket_path` is set.
- '';
- };
- global.port = lib.mkOption {
- type = lib.types.listOf lib.types.port;
- default = [6167];
- description = ''
- The port(s) conduwuit will be running on.
- You need to set up a reverse proxy in your web server (e.g. apache or nginx),
- so all requests to /_matrix on port 443 and 8448 will be forwarded to the conduwuit
- instance running on this port.
- '';
- };
- global.unix_socket_path = lib.mkOption {
- type = lib.types.nullOr lib.types.path;
- default = null;
- description = ''
- Listen on a UNIX socket at the specified path. If listening on a UNIX socket,
- listening on an address will be disabled. The `address` option must be set to
- `null` (the default value). The option {option}`services.conduwuit.group` must
- be set to a group your reverse proxy is part of.
-
- This will automatically add a system user "conduwuit" to your system if
- {option}`services.conduwuit.user` is left at the default, and a "conduwuit"
- group if {option}`services.conduwuit.group` is left at the default.
- '';
- };
- global.unix_socket_perms = lib.mkOption {
- type = lib.types.ints.positive;
- default = 660;
- description = "The default permissions (in octal) to create the UNIX socket with.";
- };
- global.max_request_size = lib.mkOption {
- type = lib.types.ints.positive;
- default = 20000000;
- description = "Max request size in bytes. Don't forget to also change it in the proxy.";
- };
- global.allow_registration = lib.mkOption {
- type = lib.types.bool;
- default = false;
- description = ''
- Whether new users can register on this server.
-
- Registration with token requires `registration_token` or `registration_token_file` to be set.
-
- If set to true without a token configured, and
- `yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse`
- is set to true, users can freely register.
- '';
- };
- global.allow_encryption = lib.mkOption {
- type = lib.types.bool;
- default = true;
- description = "Whether new encrypted rooms can be created. Note: existing rooms will continue to work.";
- };
- global.allow_federation = lib.mkOption {
- type = lib.types.bool;
- default = true;
- description = ''
- Whether this server federates with other servers.
- '';
- };
- global.trusted_servers = lib.mkOption {
- type = lib.types.listOf lib.types.nonEmptyStr;
- default = ["matrix.org"];
- description = ''
- Servers listed here will be used to gather public keys of other servers
- (notary trusted key servers).
-
- Currently, conduwuit doesn't support inbound batched key requests, so
- this list should only contain other Synapse servers.
-
- Example: `[ "matrix.org" "constellatory.net" "tchncs.de" ]`
- '';
- };
- global.database_path = lib.mkOption {
- readOnly = true;
- type = lib.types.path;
- default = "/var/lib/conduwuit/";
- description = ''
- Path to the conduwuit database, the directory where conduwuit will save its data.
- Note that database_path cannot be edited because of the service's reliance on systemd StateDir.
- '';
- };
- global.database_backup_path = lib.mkOption {
- type = lib.types.nullOr lib.types.path;
- default = null;
- description = ''
- Path to the conduwuit database, the directory where conduwuit will backup its data.
- '';
- };
- global.database_backups_to_keep = lib.mkOption {
- type = lib.types.ints.positive;
- default = 1;
- description = "";
- };
- global.allow_check_for_updates = lib.mkOption {
- type = lib.types.bool;
- default = false;
- description = ''
- If enabled, conduwuit will send a simple GET request periodically to
- for any new announcements made.
- Despite the name, this is not an update check endpoint, it is simply an announcement check endpoint.
-
- Disabled by default.
- '';
- };
- global.allow_local_presence = lib.mkOption {
- type = lib.types.bool;
- default = true;
- description = ''
- '';
- };
- global.allow_incoming_presence = lib.mkOption {
- type = lib.types.bool;
- default = true;
- description = ''
- '';
- };
- global.allow_outgoing_presence = lib.mkOption {
- type = lib.types.bool;
- default = false;
- description = ''
- '';
- };
- global.require_auth_for_profile_requests = lib.mkOption {
- type = lib.types.bool;
- default = false;
- description = ''
- '';
- };
- global.new_user_displayname_suffix = lib.mkOption {
- type = lib.types.str;
- default = "🏳️⚧️";
- description = ''
- '';
- };
- global.registration_token = lib.mkOption {
- type = lib.types.str;
- default = "";
- description = ''
- '';
- };
- global.registration_token_file = lib.mkOption {
- type = lib.types.nullOr lib.types.path;
- default = null;
- description = ''
- '';
- };
- global.allow_public_room_directory_over_federation = lib.mkOption {
- type = lib.types.bool;
- default = false;
- description = ''
- '';
- };
- global.allow_public_room_directory_without_auth = lib.mkOption {
- type = lib.types.bool;
- default = false;
- description = ''
- '';
- };
- global.allow_device_name_federation = lib.mkOption {
- type = lib.types.bool;
- default = false;
- description = ''
- '';
- };
- global.allow_inbound_profile_lookup_federation_requests = lib.mkOption {
- type = lib.types.bool;
- default = true;
- description = ''
- '';
- };
- global.turn_secret = lib.mkOption {
- type = lib.types.nullOr lib.types.str;
- default = null;
- description = ''
- '';
- };
- global.turn_uris = lib.mkOption {
- type = lib.types.listOf lib.types.nonEmptyStr;
- default = [];
- description = ''
- '';
- };
- global.turn_secret_file = lib.mkOption {
- type = lib.types.nullOr lib.types.path;
- default = null;
- description = ''
- '';
- };
- global.prevent_media_downloads_from = lib.mkOption {
- type = lib.types.listOf lib.types.nonEmptyStr;
- default = [];
- description = ''
- '';
- };
- global.well_known.client = lib.mkOption {
- type = lib.types.str;
- default = "";
- description = ''
- '';
- };
- global.well_known.server = lib.mkOption {
- type = lib.types.str;
- default = "";
- description = ''
- '';
- };
- };
- };
- default = {};
- # TOML does not allow null values, so we use null to omit those fields
- apply = lib.filterAttrsRecursive (_: v: v != null);
- description = ''
- Generates the conduwuit.toml configuration file. Refer to
-
- for details on supported values.
- '';
- };
- };
-
- config = lib.mkIf cfg.enable {
- assertions = [
- {
- assertion = !(cfg.settings ? global.unix_socket_path) || !(cfg.settings ? global.address);
- message = ''
- In `services.conduwuit.settings.global`, `unix_socket_path` and `address` cannot be set at the
- same time.
- Leave one of the two options unset or explicitly set them to `null`.
- '';
- }
- {
- assertion = cfg.user != defaultUser -> config ? users.users.${cfg.user};
- message = "If `services.conduwuit.user` is changed, the configured user must already exist.";
- }
- {
- assertion = cfg.group != defaultGroup -> config ? users.groups.${cfg.group};
- message = "If `services.conduwuit.group` is changed, the configured group must already exist.";
- }
- ];
-
- users.users = lib.mkIf (cfg.user == defaultUser) {
- ${defaultUser} = {
- group = cfg.group;
- home = cfg.settings.global.database_path;
- isSystemUser = true;
- };
- };
-
- users.groups = lib.mkIf (cfg.group == defaultGroup) {
- ${defaultGroup} = {};
- };
-
- systemd.services.conduwuit = {
- description = "Conduwuit Matrix Server";
- documentation = ["https://conduwuit.puppyirl.gay/"];
- wantedBy = ["multi-user.target"];
- wants = ["network-online.target"];
- after = ["network-online.target"];
- environment = lib.mkMerge [
- {CONDUWUIT_CONFIG = configFile;}
- cfg.extraEnvironment
- ];
- startLimitBurst = 5;
- startLimitIntervalSec = 60;
- serviceConfig = {
- DynamicUser = true;
- User = cfg.user;
- Group = cfg.group;
-
- DevicePolicy = "closed";
- LockPersonality = true;
- MemoryDenyWriteExecute = true;
- NoNewPrivileges = true;
- ProtectClock = true;
- ProtectControlGroups = true;
- ProtectHome = true;
- ProtectHostname = true;
- ProtectKernelLogs = true;
- ProtectKernelModules = true;
- ProtectKernelTunables = true;
- PrivateDevices = true;
- PrivateMounts = true;
- PrivateTmp = true;
- PrivateUsers = true;
- PrivateIPC = true;
- RemoveIPC = true;
- RestrictAddressFamilies = [
- "AF_INET"
- "AF_INET6"
- "AF_UNIX"
- ];
- RestrictNamespaces = true;
- RestrictRealtime = true;
- SystemCallArchitectures = "native";
- SystemCallFilter = [
- "@system-service @resources"
- "~@clock @debug @module @mount @reboot @swap @cpu-emulation @obsolete @timer @chown @setuid @privileged @keyring @ipc"
- ];
- SystemCallErrorNumber = "EPERM";
-
- StateDirectory = "conduwuit";
- StateDirectoryMode = "0700";
- RuntimeDirectory = "conduwuit";
- RuntimeDirectoryMode = "0750";
-
- ExecStart = lib.getExe cfg.package;
- Restart = "on-failure";
- RestartSec = 10;
- };
- };
- };
-}
diff --git a/nixos/hosts/kylekrein-server/default.nix b/nixos/hosts/kylekrein-server/default.nix
deleted file mode 100644
index 25033de..0000000
--- a/nixos/hosts/kylekrein-server/default.nix
+++ /dev/null
@@ -1,194 +0,0 @@
-{
- options,
- config,
- pkgs,
- lib,
- hwconfig,
- inputs,
- ...
-}: {
- imports = [
- inputs.sops-nix.nixosModules.sops
- inputs.stylix.nixosModules.stylix
- inputs.nixos-facter-modules.nixosModules.facter
- inputs.home-manager.nixosModules.default
- inputs.disko.nixosModules.default
- ../../modules/sops
- ../../modules/services/autoupgrade
- ./conduwuit.nix
-
- ../../users/kylekrein
- ./hardware.nix
- ./networking.nix
- ];
- #options.services.conduwuit.settings.global.database_path = lib.mkOption { apply = old: "/persist/conduwuit/";};
- config = {
- home-manager.users = lib.mkForce {};
- stylix.image = ../../modules/hyprland/wallpaper.jpg;
- boot.tmp.cleanOnBoot = true;
- boot.loader.grub.enable = true;
- boot.loader.grub.device = "/dev/sda";
- networking.hostName = hwconfig.hostname;
- users = {
- mutableUsers = false;
- users = {
- root = {
- # disable root login here, and also when installing nix by running nixos-install --no-root-passwd
- # https://discourse.nixos.org/t/how-to-disable-root-user-account-in-configuration-nix/13235/3
- hashedPassword = "!"; # disable root logins, nothing hashes to !
- };
- };
- };
- environment.systemPackages = with pkgs; [
- neovim
- git
- ];
- programs.nh = {
- enable = true;
- clean.enable = true;
- clean.extraArgs = "--keep-since 4d --keep 3";
- flake = "/etc/nixos-config";
- };
- services.openssh = {
- enable = true;
- # require public key authentication for better security
- settings.PasswordAuthentication = false;
- settings.KbdInteractiveAuthentication = false;
- settings.PermitRootLogin = "no";
- };
-
- zramSwap = {
- enable = true; # Hopefully? helps with freezing when using swap
- };
- #Chat host
- networking.firewall.allowedTCPPorts = [80 443 22 8448];
- networking.firewall.allowedUDPPorts = [3478 5349];
- #sops.secrets."services/conduwuit" = {mode = "0755";};
-
- sops.secrets."services/gitlab/dbPassword" = {owner = "gitlab";};
- sops.secrets."services/gitlab/rootPassword" = {owner = "gitlab";};
- sops.secrets."services/gitlab/secret" = {owner = "gitlab";};
- sops.secrets."services/gitlab/otpsecret" = {owner = "gitlab";};
- sops.secrets."services/gitlab/dbsecret" = {owner = "gitlab";};
- sops.secrets."services/gitlab/oidcKeyBase" = {owner = "gitlab";};
- sops.secrets."services/gitlab/activeRecordSalt" = {owner = "gitlab";};
- sops.secrets."services/gitlab/activeRecordPrimaryKey" = {owner = "gitlab";};
- sops.secrets."services/gitlab/activeRecordDeterministicKey" = {owner = "gitlab";};
- services.gitlab = {
- enable = true;
- host = "gitlab.kylekrein.com";
- port = 443;
- #statePath = "/persist/gitlab/state";
- backup.startAt = "3:00";
- databasePasswordFile = config.sops.secrets."services/gitlab/dbPassword".path;
- initialRootPasswordFile = config.sops.secrets."services/gitlab/rootPassword".path;
- secrets = {
- secretFile = config.sops.secrets."services/gitlab/secret".path;
- otpFile = config.sops.secrets."services/gitlab/otpsecret".path;
- dbFile = config.sops.secrets."services/gitlab/dbsecret".path;
- jwsFile = config.sops.secrets."services/gitlab/oidcKeyBase".path; #pkgs.runCommand "oidcKeyBase" {} "${pkgs.openssl}/bin/openssl genrsa 2048 > $out";
- activeRecordSaltFile = config.sops.secrets."services/gitlab/activeRecordSalt".path;
- activeRecordPrimaryKeyFile = config.sops.secrets."services/gitlab/activeRecordPrimaryKey".path;
- activeRecordDeterministicKeyFile = config.sops.secrets."services/gitlab/activeRecordDeterministicKey".path;
- };
- };
-
- systemd.services.gitlab-backup.environment.BACKUP = "dump";
-
- kk.services.conduwuit = {
- enable = true;
- #user = "turnserver";
- settings = {
- global = {
- server_name = "kylekrein.com";
- well_known = {
- server = "matrix.kylekrein.com:443";
- client = "https://matrix.kylekrein.com";
- };
- port = [6167];
- trusted_servers = ["matrix.org"];
- allow_registration = false;
- registration_token = null; #nix shell nixpkgs#openssl -c openssl rand -base64 48 | tr -d '/+' | cut -c1-64
- allow_federation = true;
- allow_encryption = true;
-
- allow_local_presence = true;
- require_auth_for_profile_requests = true;
- };
- };
- extraEnvironment = {
- };
- };
- services.caddy = {
- enable = true;
- #virtualHosts."kylekrein.com:8448".extraConfig = ''
- # reverse_proxy http://localhost:6167
- #'';
- virtualHosts."kylekrein.com".extraConfig = ''
- handle_path /.well-known/matrix/* {
-
- header Access-Control-Allow-Origin *
-
- ## `Content-Type: application/json` isn't required by the matrix spec
- ## but some browsers (firefox) and some other tooling might preview json
- ## content prettier when they are made aware via Content-Type
- header Content-Type application/json
-
- respond /client `{ "m.homeserver": { "base_url": "https://matrix.kylekrein.com/" }, "org.matrix.msc3575.proxy": { "url": "https://matrix.kylekrein.com/"}, "org.matrix.msc4143.rtc_foci": [ { "type": "livekit", "livekit_service_url": "https://livekit-jwt.call.matrix.org" } ] }`
-
- respond /server `{ "m.server": "https://matrix.kylekrein.com" }`
-
- ## return http/404 if nothing matches
- respond 404
- }
- respond /.well-known/element/element.json `{"call":{"widget_url":"https://call.element.io"}}`
- reverse_proxy * http://localhost:6167
- '';
- # reverse_proxy /.well-known/* http://localhost:6167
- #'';
- virtualHosts."matrix.kylekrein.com".extraConfig = ''
- handle_path /.well-known/matrix/* {
-
- header Access-Control-Allow-Origin *
-
- ## `Content-Type: application/json` isn't required by the matrix spec
- ## but some browsers (firefox) and some other tooling might preview json
- ## content prettier when they are made aware via Content-Type
- header Content-Type application/json
-
- respond /client `{ "m.homeserver": { "base_url": "https://matrix.kylekrein.com/" }, "org.matrix.msc3575.proxy": { "url": "https://matrix.kylekrein.com/"}, "org.matrix.msc4143.rtc_foci": [ { "type": "livekit", "livekit_service_url": "https://livekit-jwt.call.matrix.org" } ] }`
-
- respond /server `{ "m.server": "https://matrix.kylekrein.com" }`
-
- ## return http/404 if nothing matches
- respond 404
- }
- respond /.well-known/element/element.json `{"call":{"widget_url":"https://call.element.io"}}`
- reverse_proxy * http://localhost:6167
- '';
- virtualHosts."gitlab.kylekrein.com".extraConfig = ''
- reverse_proxy * unix//run/gitlab/gitlab-workhorse.socket
- '';
- };
- system.stateVersion = "24.11";
- nix = {
- settings = {
- experimental-features = [
- "nix-command"
- "flakes"
- ];
- auto-optimise-store = true;
- substituters = [
- "https://hyprland.cachix.org"
- "https://nix-gaming.cachix.org"
- "https://nix-community.cachix.org"
- ];
- trusted-public-keys = [
- "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
- "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
- "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
- ];
- };
- };
- };
-}
diff --git a/nixos/hosts/kylekrein-server/hardware.nix b/nixos/hosts/kylekrein-server/hardware.nix
deleted file mode 100644
index eb6daec..0000000
--- a/nixos/hosts/kylekrein-server/hardware.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- config,
- lib,
- pkgs,
- modulesPath,
- ...
-}: {
- imports = [
- (modulesPath + "/profiles/qemu-guest.nix")
- ];
-
- boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
- boot.initrd.kernelModules = [];
- boot.kernelModules = [];
- boot.extraModulePackages = [];
-
- fileSystems."/" = {
- device = "/dev/disk/by-uuid/4f7e141c-0fc7-415a-815d-944b36f93806";
- fsType = "ext4";
- };
-
- swapDevices = [];
-
- # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
- # (the default) this is the recommended approach. When using systemd-networkd it's
- # still possible to use this option, but it's recommended to use it in conjunction
- # with explicit per-interface declarations with `networking.interfaces..useDHCP`.
- networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.eth0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
-}
diff --git a/nixos/hosts/kylekrein-server/networking.nix b/nixos/hosts/kylekrein-server/networking.nix
deleted file mode 100644
index 28206ce..0000000
--- a/nixos/hosts/kylekrein-server/networking.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-{lib, ...}: {
- # This file was populated at runtime with the networking
- # details gathered from the active system.
- networking = {
- nameservers = [
- "8.8.8.8"
- ];
- defaultGateway = "172.31.1.1";
- defaultGateway6 = {
- address = "";
- interface = "eth0";
- };
- dhcpcd.enable = false;
- usePredictableInterfaceNames = lib.mkForce false;
- interfaces = {
- eth0 = {
- ipv4.addresses = [
- {
- address = "91.99.0.169";
- prefixLength = 32;
- }
- ];
- ipv6.addresses = [
- {
- address = "fe80::9400:4ff:fe30:830e";
- prefixLength = 64;
- }
- ];
- ipv4.routes = [
- {
- address = "172.31.1.1";
- prefixLength = 32;
- }
- ];
- ipv6.routes = [
- {
- address = "";
- prefixLength = 128;
- }
- ];
- };
- };
- };
- services.udev.extraRules = ''
- ATTR{address}=="96:00:04:30:83:0e", NAME="eth0"
-
- '';
-}
diff --git a/nixos/hosts/kylekrein-wsl/default.nix b/nixos/hosts/kylekrein-wsl/default.nix
deleted file mode 100755
index 9dd7b14..0000000
--- a/nixos/hosts/kylekrein-wsl/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- inputs,
- config,
- unstable-pkgs,
- ...
-}: {
- imports = [
- ];
-}
diff --git a/nixos/modules/cosmic/default.nix b/nixos/modules/cosmic/default.nix
deleted file mode 100644
index 842260c..0000000
--- a/nixos/modules/cosmic/default.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{...}: {
- services.desktopManager.cosmic.enable = true;
- services.displayManager.cosmic-greeter.enable = true;
-}
diff --git a/nixos/modules/direnv/default.nix b/nixos/modules/direnv/default.nix
deleted file mode 100644
index d6d8cef..0000000
--- a/nixos/modules/direnv/default.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{pkgs, ...}: {
- programs.direnv = {
- enable = true;
- nix-direnv.enable = true;
- };
-}
diff --git a/nixos/modules/dolphin/default.nix b/nixos/modules/dolphin/default.nix
deleted file mode 100644
index 5e25d00..0000000
--- a/nixos/modules/dolphin/default.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- pkgs,
- inputs,
- hwconfig,
- unstable-pkgs,
- ...
-}: {
- environment.systemPackages = with pkgs; [
- kdePackages.qtwayland
- kdePackages.qtsvg
- kdePackages.kio-fuse #to mount remote filesystems via FUSE
- kdePackages.kio-extras #extra protocols support (sftp, fish and more)
- kdePackages.kio-admin
- libheif #https://github.com/NixOS/nixpkgs/issues/164021
- libheif.out
-
- #kde
- kdePackages.breeze-icons
- kdePackages.breeze
- kdePackages.kdesdk-thumbnailers
- kdePackages.kdegraphics-thumbnailers
- kdePackages.kservice
- kdePackages.kdbusaddons
- kdePackages.kfilemetadata
- kdePackages.kconfig
- kdePackages.kcoreaddons
- kdePackages.kcrash
- kdePackages.kguiaddons
- kdePackages.ki18n
- kdePackages.kitemviews
- kdePackages.kwidgetsaddons
- kdePackages.kwindowsystem
- shared-mime-info
-
- #kde support tools
- #libsForQt5.qt5ct
- #qt6ct
- kdePackages.kimageformats
- kdePackages.dolphin
- kdePackages.dolphin-plugins
- ];
- xdg = {
- menus.enable = true;
- mime.enable = true;
- };
-
- #https://discourse.nixos.org/t/dolphin-does-not-have-mime-associations/48985/3
- # This fixes the unpopulated MIME menus
- environment.etc."/xdg/menus/plasma-applications.menu".text = builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
- environment.etc."/xdg/menus/applications.menu".text = builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
- #environment.pathsToLink = [
- # "share/thumbnailers"
- #];
-}
diff --git a/nixos/modules/fastfetch/default.nix b/nixos/modules/fastfetch/default.nix
deleted file mode 100644
index 10bd2dc..0000000
--- a/nixos/modules/fastfetch/default.nix
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- hwconfig,
- first-nixos-install,
- ...
-}: {
- programs.fastfetch = {
- enable = true;
-
- settings = {
- display = {
- color = {
- keys = "35";
- output = "1000";
- };
- };
-
- logo = {
- source = ./nixos.png;
- type = "kitty-direct";
- height = 15;
- width = 30;
- padding = {
- top = 3;
- left = 3;
- };
- };
-
- modules = [
- "break"
- {
- type = "custom";
- format = "┌──────────────────────Hardware──────────────────────┐";
- }
- {
- type = "cpu";
- key = "│ ";
- }
- {
- type = "gpu";
- key = "│ ";
- }
- {
- type = "memory";
- key = "│ ";
- }
- {
- type = "custom";
- format = "└────────────────────────────────────────────────────┘";
- }
- "break"
- {
- type = "custom";
- format = "┌──────────────────────Software──────────────────────┐";
- }
- {
- type = "custom";
- format = " OS -> NixOS btw";
- }
- {
- type = "kernel";
- key = "│ ├ ";
- }
- {
- type = "packages";
- key = "│ ├ ";
- }
- {
- type = "shell";
- key = "└ └ ";
- }
- "break"
- {
- type = "wm";
- key = " WM";
- }
- {
- type = "wmtheme";
- key = "│ ├ ";
- }
- {
- type = "terminal";
- key = "└ └ ";
- }
- {
- type = "custom";
- format = "└────────────────────────────────────────────────────┘";
- }
- "break"
- {
- type = "custom";
- format = "┌────────────────────Age / Uptime────────────────────┐";
- }
- {
- type = "command";
- key = "│ ";
- text =
- #bash
- ''
- birth_install=${
- if hwconfig.useImpermanence
- then "${first-nixos-install}"
- else "$(stat -c %W /)"
- }
- current=$(date +%s)
- delta=$((current - birth_install))
- delta_days=$((delta / 86400))
- echo $delta_days days
- '';
- }
- {
- type = "uptime";
- key = "│ ";
- }
- {
- type = "custom";
- format = "└────────────────────────────────────────────────────┘";
- }
- "break"
- ];
- };
- };
-}
diff --git a/nixos/modules/fastfetch/nixos.png b/nixos/modules/fastfetch/nixos.png
deleted file mode 100644
index 571410a..0000000
Binary files a/nixos/modules/fastfetch/nixos.png and /dev/null differ
diff --git a/nixos/modules/firefox/aarch64-linux.nix b/nixos/modules/firefox/aarch64-linux.nix
deleted file mode 100644
index 261dca6..0000000
--- a/nixos/modules/firefox/aarch64-linux.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{pkgs, ...}: {
- nixpkgs = {
- overlays = [
- (final: prev: {
- firefox = prev.firefox.overrideAttrs (old: {
- buildCommand =
- old.buildCommand
- + ''
- mkdir -p $out/gmp-widevinecdm/system-installed
- ln -s "${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_arm64/libwidevinecdm.so" $out/gmp-widevinecdm/system-installed/libwidevinecdm.so
- ln -s "${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/manifest.json" $out/gmp-widevinecdm/system-installed/manifest.json
- wrapProgram "$oldExe" \
- --set MOZ_GMP_PATH "$out/gmp-widevinecdm/system-installed"
- '';
- });
- librewolf = prev.librewolf.overrideAttrs (old: {
- buildCommand =
- old.buildCommand
- + ''
- mkdir -p $out/gmp-widevinecdm/system-installed
- ln -s "${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_arm64/libwidevinecdm.so" $out/gmp-widevinecdm/system-installed/libwidevinecdm.so
- ln -s "${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/manifest.json" $out/gmp-widevinecdm/system-installed/manifest.json
- wrapProgram "$oldExe" \
- --set MOZ_GMP_PATH "$out/gmp-widevinecdm/system-installed"
- '';
- });
- })
- ];
- };
-}
diff --git a/nixos/modules/firefox/default.nix b/nixos/modules/firefox/default.nix
deleted file mode 100644
index 0939a07..0000000
--- a/nixos/modules/firefox/default.nix
+++ /dev/null
@@ -1,130 +0,0 @@
-{
- lib,
- config,
- pkgs,
- hwconfig,
- ...
-}: let
- lock-false = {
- Value = false;
- Status = "locked";
- };
- lock-true = {
- Value = true;
- Status = "locked";
- };
-in {
- imports = [] ++ lib.optional (hwconfig.system == "aarch64-linux") ./aarch64-linux.nix;
- programs = {
- firefox = {
- package = pkgs.librewolf;
- enable = true;
- languagePacks = ["de" "en-US" "ru"];
-
- /*
- ---- POLICIES ----
- */
- # Check about:policies#documentation for options.
- policies = {
- DisableTelemetry = true;
- DisableFirefoxStudies = true;
- EnableTrackingProtection = {
- Value = true;
- Locked = true;
- Cryptomining = true;
- Fingerprinting = true;
- };
- DisablePocket = true;
- DisableFirefoxAccounts = true;
- DisableAccounts = true;
- DisableFirefoxScreenshots = true;
- OverrideFirstRunPage = "";
- OverridePostUpdatePage = "";
- DontCheckDefaultBrowser = true;
- DisplayBookmarksToolbar = "never"; # alternatives: "always" or "newtab"
- DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
- SearchBar = "unified"; # alternative: "separate"
- OfferToSaveLogins = false;
- OffertosaveloginsDefault = false;
- PasswordManagerEnabled = false;
- NoDefaultBookmarks = true;
-
- /*
- ---- EXTENSIONS ----
- */
- # Check about:support for extension/add-on ID strings.
- # Valid strings for installation_mode are "allowed", "blocked",
- # "force_installed" and "normal_installed".
- #https://mozilla.github.io/policy-templates/#extensionsettings
- ExtensionSettings = {
- "*".installation_mode = "allowed"; # blocks all addons except the ones specified below
- # uBlock Origin
- "uBlock0@raymondhill.net" = {
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
- installation_mode = "force_installed";
- };
- # Privacy Badger:
- "jid1-MnnxcxisBPnSXQ@jetpack" = {
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
- installation_mode = "force_installed";
- };
-
- # Dark Reader
- "addon@darkreader.org" = {
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
- installation_mode = "force_installed";
- };
- #auto tab discard
- "{c2c003ee-bd69-42a2-b0e9-6f34222cb046}" = {
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/auto-tab-discard/latest.xpi";
- installation_mode = "force_installed";
- };
- # global speed
- "{f4961478-ac79-4a18-87e9-d2fb8c0442c4}" = {
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/global-speed/latest.xpi";
- installation_mode = "force_installed";
- };
- # sponsorblock
- "sponsorBlocker@ajay.app" = {
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi";
- installation_mode = "force_installed";
- };
-
- # Adguard adblocker
- "adguardadblocker@adguard.com" = {
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/adguard-adblocker/latest.xpi";
- installation_mode = "force_installed";
- };
- };
- /*
- ---- PREFERENCES ----
- */
- # Check about:config for options.
- Preferences = {
- "browser.contentblocking.category" = {
- Value = "strict";
- Status = "locked";
- };
- "extensions.pocket.enabled" = lock-false;
- "extensions.screenshots.disabled" = lock-true;
- "browser.startup.page" = 3; # restore session on startup
- "browser.topsites.contile.enabled" = lock-false;
- "browser.formfill.enable" = lock-false;
- "browser.search.suggest.enabled" = lock-false;
- "browser.search.suggest.enabled.private" = lock-false;
- "browser.urlbar.suggest.searches" = lock-false;
- "browser.urlbar.showSearchSuggestionsFirst" = lock-false;
- "browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false;
- "browser.newtabpage.activity-stream.feeds.snippets" = lock-false;
- "browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false;
- "browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false;
- "browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false;
- "browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false;
- "browser.newtabpage.activity-stream.showSponsored" = lock-false;
- "browser.newtabpage.activity-stream.system.showSponsored" = lock-false;
- "browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
- };
- };
- };
- };
-}
diff --git a/nixos/modules/flatpak/default.nix b/nixos/modules/flatpak/default.nix
deleted file mode 100644
index af7e69d..0000000
--- a/nixos/modules/flatpak/default.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- pkgs,
- lib,
- inputs,
- config,
- ...
-}: let
- cfg = config.kk.services.flatpak;
-in {
- imports = [
- inputs.nix-flatpak.nixosModules.nix-flatpak
- ];
- options.kk.services.flatpak = {
- enable = lib.mkEnableOption "enable flatpaks";
- };
- config = lib.mkIf cfg.enable {
- services.flatpak.enable = true;
- };
-}
diff --git a/nixos/modules/gnome/default.nix b/nixos/modules/gnome/default.nix
deleted file mode 100644
index 68c127c..0000000
--- a/nixos/modules/gnome/default.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{pkgs, ...}: {
- services.xserver = {
- enable = true;
- displayManager.gdm.enable = true;
- desktopManager.gnome.enable = true;
- };
-}
diff --git a/nixos/modules/gnupg/default.nix b/nixos/modules/gnupg/default.nix
deleted file mode 100644
index 5668bdd..0000000
--- a/nixos/modules/gnupg/default.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- pkgs,
- lib,
- ...
-}: {
- programs.gnupg.agent = {
- enable = true;
- settings = {
- pinentry-program = lib.mkForce "${pkgs.pinentry-curses}/bin/pinentry-curses";
- };
- };
- environment.systemPackages = with pkgs; [
- (pass.withExtensions (exts:
- with exts; [
- pass-otp
- pass-import
- ]))
- ];
-}
diff --git a/nixos/modules/hyprland/battery-status.nix b/nixos/modules/hyprland/battery-status.nix
deleted file mode 100644
index e9f93d9..0000000
--- a/nixos/modules/hyprland/battery-status.nix
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- pkgs,
- hwconfig,
- ...
-}: let
- battery-path = "/sys/class/power_supply/${
- if hwconfig.hostname == "kylekrein-mac"
- then "macsmc-battery"
- else "BAT0"
- }";
- get-battery-level = "${pkgs.writeShellScriptBin "get-battery-level" ''
- cat ${battery-path}/capacity 2>/dev/null || echo "N/A"
- ''}/bin/get-battery-level";
- get-status = "${pkgs.writeShellScriptBin "get-status" ''
- cat ${battery-path}/status 2>/dev/null || echo "Unknown"
- ''}/bin/get-status";
- get-icon = "${pkgs.writeShellScriptBin "get-icon" ''
- BATTERY_LEVEL=$(${get-battery-level})
- STATUS=$(${get-status})
- if [[ "$BATTERY_LEVEL" == "N/A" ]]; then
- ICON=" "
- elif [[ "$STATUS" == "Charging" ]]; then
- if [[ $BATTERY_LEVEL -ge 90 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 80 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 70 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 60 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 50 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 40 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 30 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 20 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 10 ]]; then
- ICON=" "
- else
- ICON=" "
- fi
- else
- if [[ $BATTERY_LEVEL -ge 90 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 70 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 50 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 30 ]]; then
- ICON=" "
- elif [[ $BATTERY_LEVEL -ge 10 ]]; then
- ICON=" "
- else
- ICON=" "
- fi
- fi
-
- echo "$ICON"
- ''}/bin/get-icon";
- get-remaining-time = "${pkgs.writeShellScriptBin "get-remaining-time" ''
- REMAINING_ENERGY=$(cat ${battery-path}/energy_now)
- POWER_USAGE=$(cat ${battery-path}/power_now)
- if [[ -n "$REMAINING_ENERGY" && -n "$POWER_USAGE" && "$POWER_USAGE" -ne 0 ]]; then
- TIME_LEFT=$((0 - (REMAINING_ENERGY / POWER_USAGE)))
- MINUTES_LEFT=$(((0 - ( (REMAINING_ENERGY * 60) / POWER_USAGE )) - (TIME_LEFT * 60)))
- echo "$TIME_LEFT h $MINUTES_LEFT min"
- else
- echo ""
- fi
- ''}/bin/get-remaining-time";
-in {
- available = hwconfig.isLaptop;
- icon = get-icon;
- status = get-status;
- time = get-remaining-time;
- level = get-battery-level;
- labelAdaptive = "${pkgs.writeShellScriptBin "labelAdaptive" ''
- if [[ "$(${get-status})" == "Charging" ]]; then
- echo "$(${get-battery-level})% $(${get-icon})"
- else
- echo "$(${get-remaining-time}) $(${get-icon})"
- fi
- ''}/bin/labelAdaptive";
- labelPercent = "${pkgs.writeShellScriptBin "labelPercent" ''
- echo "$(${get-battery-level})% $(${get-icon})"
- ''}/bin/labelPercent";
-}
diff --git a/nixos/modules/hyprland/default.nix b/nixos/modules/hyprland/default.nix
deleted file mode 100644
index 7464afa..0000000
--- a/nixos/modules/hyprland/default.nix
+++ /dev/null
@@ -1,137 +0,0 @@
-{
- pkgs,
- inputs,
- hwconfig,
- unstable-pkgs,
- ...
-}: {
- stylix = {
- enable = true;
- image = "${./wallpaper.jpg}";
- autoEnable = true;
- opacity = {
- desktop = 0.0; #0.5;
- };
- targets = {
- gtk.enable = true;
- plymouth = {
- enable = false;
- #logo = ./fastfetch/nixos.png;
- logoAnimated = false;
- };
- };
- fonts = {
- sizes = {
- applications = 14;
- desktop = 12;
- popups = 12;
- terminal = 16;
- };
- };
- polarity = "dark";
- base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
- };
- environment.systemPackages = with pkgs; [
- #kando
-
- kdePackages.qtwayland
- #libsForQt5.qt5.qtwayland
- #libsForQt5.qt5.qtsvg
- kdePackages.qtsvg
- #kio-fuse #to mount remote filesystems via FUSE
- #libsForQt5.kio-extras #extra protocols support (sftp, fish and more)
- kdePackages.kio-fuse #to mount remote filesystems via FUSE
- kdePackages.kio-extras #extra protocols support (sftp, fish and more)
- kdePackages.kio-admin
- waybar
- swaynotificationcenter
- libnotify
- swww
- hyprpicker
- networkmanagerapplet
- hyprlock
- wlogout
- hypridle
- qpwgraph
- pwvucontrol
- brightnessctl
- unstable-pkgs.satty #fixes crash in 0.18.0
- grim
- slurp
- clipse
- libheif #https://github.com/NixOS/nixpkgs/issues/164021
- libheif.out
-
- #kde
- kdePackages.breeze-icons
- kdePackages.breeze
- kdePackages.polkit-kde-agent-1
- kdePackages.kdesdk-thumbnailers
- kdePackages.kdegraphics-thumbnailers
- kdePackages.kservice
- kdePackages.kdbusaddons
- kdePackages.kfilemetadata
- kdePackages.kconfig
- kdePackages.kcoreaddons
- kdePackages.kcrash
- kdePackages.kguiaddons
- kdePackages.ki18n
- kdePackages.kitemviews
- kdePackages.kwidgetsaddons
- kdePackages.kwindowsystem
- shared-mime-info
- #kdePackages.plasma-workspace
-
- #kde support tools
- libsForQt5.qt5ct
- qt6ct
- kdePackages.kimageformats
- kdePackages.dolphin
- kdePackages.dolphin-plugins
- ];
-
- programs.kdeconnect.enable = true;
- programs.kdeconnect.package = pkgs.kdePackages.kdeconnect-kde;
- programs.hyprlock.enable = true;
-
- xdg = {
- menus.enable = true;
- mime.enable = true;
- };
- xdg.portal = {
- enable = true;
- config = {
- hyprland = {
- default = [
- "hyprland"
- "kde"
- ];
- };
- };
- configPackages = with pkgs; [
- xdg-desktop-portal-hyprland
- kdePackages.xdg-desktop-portal-kde
- ];
- };
-
- #https://discourse.nixos.org/t/dolphin-does-not-have-mime-associations/48985/3
- # This fixes the unpopulated MIME menus
- environment.etc."/xdg/menus/plasma-applications.menu".text = builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
- environment.etc."/xdg/menus/applications.menu".text = builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
- #environment.pathsToLink = [
- # "share/thumbnailers"
- #];
-
- programs.hyprland = {
- enable = true;
- xwayland.enable = true;
- systemd.setPath.enable = true;
- };
- services.hypridle.enable = true;
-
- # qt = {
- #enable = true;
- #platformTheme = "qt5ct";
- #style = "kvantum";
- # };
-}
diff --git a/nixos/modules/hyprland/home.nix b/nixos/modules/hyprland/home.nix
deleted file mode 100644
index 78072a9..0000000
--- a/nixos/modules/hyprland/home.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- pkgs,
- username,
- lib,
- hwconfig,
- ...
-}: {
- imports = [
- (import ./hyprland.nix {
- inherit pkgs;
- inherit lib;
- inherit hwconfig;
- inherit username;
- })
- #../kando
- ];
-}
diff --git a/nixos/modules/hyprland/hypridle.nix b/nixos/modules/hyprland/hypridle.nix
deleted file mode 100644
index 1a5b212..0000000
--- a/nixos/modules/hyprland/hypridle.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- ...
-}: let
- suspendScript = pkgs.writeShellScript "suspend-script" ''
- # check if any player has status "Playing"
- ${lib.getExe pkgs.playerctl} -a status | ${lib.getExe pkgs.ripgrep} Playing -q
- # only suspend if nothing is playing
- if [ $? == 1 ]; then
- ${
- if hwconfig.isLaptop
- then "${pkgs.systemd}/bin/systemctl suspend"
- else "loginctl lock-session"
- }
- fi
- '';
-in {
- services.hypridle = {
- enable = true;
- settings = {
- general = {
- lock_cmd = "pidof hyprlock || hyprlock";
- before_sleep_cmd = "pidof hyprlock || loginctl lock-session"; # lock before suspend.
- after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
- ignore_dbus_inhibit = false;
- };
-
- listener = [
- #{
- # on-resume="brightnessctl -r"; # monitor backlight restore.
- # on-timeout="brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
- # timeout=240;
- #}
- #{
- # on-resume="brightnessctl -rd rgb:kbd_backlight";
- # on-timeout="brightnessctl -sd rgb:kbd_backlight set 0";
- # timeout=300;
- #}
- {
- on-timeout = "notify-send \"You're idle. Locking in 30 seconds.\"";
- timeout = 830;
- }
- {
- on-timeout = "pidof hyprlock && systemctl suspend";
- timeout = 120;
- }
- #{
- # on-timeout="loginctl lock-session";
- # timeout=360;
- #}
- {
- on-resume = "hyprctl dispatch dpms on";
- on-timeout = suspendScript.outPath;
- timeout = 900;
- }
- #{
- # on-resume="hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has fired.
- # on-timeout="hyprctl dispatch dpms off"; # screen off when timeout has passed
- # timeout=420;
- #}
- ];
- };
- };
-}
diff --git a/nixos/modules/hyprland/hyprland.nix b/nixos/modules/hyprland/hyprland.nix
deleted file mode 100644
index 374eb74..0000000
--- a/nixos/modules/hyprland/hyprland.nix
+++ /dev/null
@@ -1,262 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- username,
- ...
-}: let
- toggle_monitors = ./toggle_monitors.sh;
- wallpaper-image = ./wallpaper.jpg;
-in {
- imports = [
- ./waybar.nix
- ./hyprlock.nix
- ./hypridle.nix
- ];
- wayland.windowManager.hyprland = {
- enable = true;
- xwayland.enable = true;
- settings = {
- monitor =
- if hwconfig.hostname == "kylekrein-homepc"
- then [
- "DP-1,2560x1440@75,1600x0,1.6"
- "DP-3,2560x1440@75,0x0,1.6"
- ]
- else
- [",highres,auto,1.6"]
- ++ [
- "FALLBACK,1920x1080@60,auto,1" # to fix crash on hyprlock https://github.com/hyprwm/hyprlock/issues/434#issuecomment-2341710088
- ];
-
- xwayland = {
- force_zero_scaling = true;
- };
-
- exec-once = [
- "${
- if hwconfig.isLaptop
- then "brightnessctl set 25%"
- else ""
- }"
- "dbus-update-activation-environment --systemd --all"
- "${pkgs.waybar}/bin/waybar &"
- "${pkgs.networkmanagerapplet}/bin/nm-applet &"
- "${pkgs.swaynotificationcenter}/bin/swaync &"
- "${pkgs.solaar}/bin/solaar -w hide &"
- "${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1 &" # https://nixos.wiki/wiki/Polkit
- "${pkgs.clipse}/bin/clipse -listen &"
- ];
- "$mod" = "SUPER";
- "$mainMod" = "$mod";
- "$terminal" = "${pkgs.kitty}/bin/kitty";
- "$emacs" = "emacsclient -c";
- "$fileManager" = "$emacs --eval '(dired \"/home/${username}\")'"; # "$terminal ${pkgs.yazi}/bin/yazi";
- "$fileManager2" = "${pkgs.kdePackages.dolphin}/bin/dolphin";
- "$browser" = "${pkgs.librewolf}/bin/librewolf";
- "$menu" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-app-launcher)'"; #"${pkgs.wofi}/bin/wofi --show drun";
- "$emojiPicker" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-emoji-picker)'";
- "$clipboardManager" = "$terminal --class clipse -e 'clipse'";
- "$makeRegionScreenshot" = ''grim -g "$(slurp -w 0)" -t ppm - | satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush'';
- bind = [
- "$mod, T, exec, $terminal"
- "$mod, Q, killactive,"
- "$mod, B, exec, $browser"
- "$mod SHIFT, V, togglefloating,"
- "$mod, C, exec, $fileManager"
- "$mod SHIFT, C, exec, $fileManager2"
- "$mod, F, fullscreen,"
- "$mod, R, exec, $menu"
- "$mod, M, exec, $emojiPicker"
- "$mod, V, exec, $clipboardManager"
- #"CTRL, SPACE, global, kando:nix-hyprland"
- "$mod SHIFT, I, exec, source ${toggle_monitors}"
- "$mod SHIFT, O, exec, hyprctl dispatch dpms on"
- # Move focus with mainMod + arrow keys
- "$mod, H, movefocus, l"
- "$mod, L, movefocus, r"
- "$mod, K, movefocus, u"
- "$mod, J, movefocus, d"
- # Switch workspaces with mainMod + [0-9]
- "$mainMod, 1, workspace, 1"
- "$mainMod, 2, workspace, 2"
- "$mainMod, 3, workspace, 3"
- "$mainMod, 4, workspace, 4"
- "$mainMod, 5, workspace, 5"
- "$mainMod, 6, workspace, 6"
- "$mainMod, 7, workspace, 7"
- "$mainMod, 8, workspace, 8"
- "$mainMod, 9, workspace, 9"
- "$mainMod, 0, workspace, 10"
-
- # Move active window to a workspace with mainMod + SHIFT + [0-9]
- "$mainMod SHIFT, 1, movetoworkspace, 1"
- "$mainMod SHIFT, 2, movetoworkspace, 2"
- "$mainMod SHIFT, 3, movetoworkspace, 3"
- "$mainMod SHIFT, 4, movetoworkspace, 4"
- "$mainMod SHIFT, 5, movetoworkspace, 5"
- "$mainMod SHIFT, 6, movetoworkspace, 6"
- "$mainMod SHIFT, 7, movetoworkspace, 7"
- "$mainMod SHIFT, 8, movetoworkspace, 8"
- "$mainMod SHIFT, 9, movetoworkspace, 9"
- "$mainMod SHIFT, 0, movetoworkspace, 10"
-
- # Swap Windows
-
- "$mainMod SHIFT, H, swapwindow, l"
- "$mainMod SHIFT, L, swapwindow, r"
- "$mainMod SHIFT, K, swapwindow, u"
- "$mainMod SHIFT, J, swapwindow, d"
-
- #Resize Windows
- "$mainMod CTRL, H, resizeactive, -50 0"
- "$mainMod CTRL, L, resizeactive, 50 0"
- "$mainMod CTRL, K, resizeactive, 0 -50"
- "$mainMod CTRL, J, resizeactive, 0 50"
-
- "$mainMod, P, exec, $makeRegionScreenshot"
- "$mainMod ALT, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
-
- ''$mainMod, E, exec, $emacs''
- #''$mainMod SHIFT, E, exec, emacsclient -e "(emacs-everywhere)"''
- ];
-
- bindm = [
- "$mod, mouse:272, movewindow"
- "$mod, mouse:273, resizewindow"
- ];
- misc = {
- vfr = true; #lowers the amount of frames when nothing happens
- allow_session_lock_restore = true; # hope that it fixes the crash of hyprlock
- disable_hyprland_logo = true; # disables the random Hyprland logo / anime girl background. :(
- };
- input = {
- kb_layout = "us, ru";
- kb_options =
- "grp:lctrl_toggle, ctrl:nocaps"
- + (
- if hwconfig.hostname == "kylekrein-mac"
- then ", altwin:swap_alt_win"
- else ""
- ); # "ctrl:nocaps, grp:toggle"
-
- touchpad = {
- natural_scroll = true;
- disable_while_typing = false; #for games
- };
- };
- env = [
- "LIBVA_DRIVER_NAME,nvidia"
- "XDG_SESSION_TYPE,wayland"
- "GBM_BACKEND,nvidia-drm"
- "__GLX_VENDOR_LIBRARY_NAME,nvidia"
- "NVD_BACKEND,direct"
- "XCURSOR_SIZE,24"
- "HYPRCURSOR_SIZE,24"
- "__GL_GSYNC_ALLOWED,1"
- "QT_QPA_PLATFORM,wayland"
- #"QT_QPA_PLATFORMTHEME,kde"
- #"QT_STYLE_OVERRIDE,Breeze"
- #"GDK_SCALE,1.6"
- #"QT_SCALE_FACTOR,1.6"
-
- #"GSK_RENDERER,ngl" # for satty until https://github.com/NixOS/nixpkgs/issues/359069 is fixed
- ];
-
- cursor = {
- no_hardware_cursors = true;
- inactive_timeout = 10;
- };
-
- general = {
- gaps_in = 5;
- gaps_out = 20;
- border_size = 2;
-
- #"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
- #"col.inactive_border" = "rgba(595959aa)";
- resize_on_border = false;
- allow_tearing = false;
- layout = "dwindle";
- };
- render = lib.mkIf (hwconfig.system == "aarch64-linux") {
- # Explicit sync breaks asahi driver https://github.com/hyprwm/Hyprland/issues/8158
- explicit_sync = 0;
- };
-
- windowrule = [
- #kando
- "noblur, class:kando"
- "opaque, class:kando"
- "size 100% 100%, class:kando"
- "noborder, class:kando"
- "noanim, class:kando"
- "float, class:kando"
- "pin, class:kando"
-
- #blender
- "opaque, class:blender"
-
- #screenshot editor
- "noblur, class:com.gabm.satty"
- "opaque, class:com.gabm.satty"
- ];
-
- windowrulev2 = [
- # Ignore maximize requests from apps. You'll probably like this.
- "suppressevent maximize, class:.*"
-
- # Fix some dragging issues with XWayland
- "nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
-
- # Fix for issues with steam
- "stayfocused, title:^()$,class:^(steam)$"
- "minsize 1 1, title:^()$,class:^(steam)$"
-
- #for clipboard manager
- "float,class:(clipse)"
- "size 622 652,class:(clipse)" # set the size of the window as necessary
- #emacs run launcher
- "float, title:emacs-run-launcher"
- "pin, title:emacs-run-launcher"
-
- #emacs
- "opaque, class:emacs"
- ];
-
- decoration = {
- rounding = 10;
-
- active_opacity = 0.9;
- inactive_opacity = 0.7;
-
- #drop_shadow = true;
- #shadow_range = 4;
- #shadow_render_power = 3;
- #"col.shadow" = "rgba(1a1a1aee)";
-
- blur = {
- enabled = true;
- size = 3;
- passes = 1;
-
- vibrancy = 0.1696;
- };
- };
-
- animations = {
- enabled = true;
-
- bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
- animation = [
- "windows, 1, 7, myBezier"
- "windowsOut, 1, 7, default, popin 80%"
- "border, 1, 10, default"
- "borderangle, 1, 8, default"
- "fade, 1, 7, default"
- "workspaces, 1, 6, default"
- ];
- };
- };
- };
-}
diff --git a/nixos/modules/hyprland/hyprlock.nix b/nixos/modules/hyprland/hyprlock.nix
deleted file mode 100644
index 3d242a4..0000000
--- a/nixos/modules/hyprland/hyprlock.nix
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- ...
-}: let
- profile-image = ./profile-image.png;
- battery-level =
- (import ./battery-status.nix {
- inherit pkgs;
- inherit hwconfig;
- }).labelPercent;
-in {
- programs.hyprlock = {
- enable = true;
- settings = {
- general = {
- #enable_fingerprint = true;
- disable_loading_bar = true;
- hide_cursor = true;
- no_fade_in = false;
- grace = 10;
- };
- background = {
- blur_passes = 1;
- blur_size = 7;
- noise = 0.0117;
- contrast = 0.8916;
- brightness = 0.8172;
- vibrancy = 0.1696;
- vibrancy_darkness = 0.0;
- };
- image = {
- path = "${profile-image}";
- size = 150;
- border_size = 4;
- #border_color = "rgb(0C96F9)";
- rounding = -1; # Negative means circle
- position = "0, 220";
- halign = "center";
- valign = "center";
- };
- input-field = {
- size = "600, 100";
- outline_thickness = 3;
- dots_size = 0.33;
- dots_spacing = 0.15;
- dots_center = true;
- dots_rounding = -1;
- dots_fade_time = 200;
- placeholder_text = "Input Password...";
- hide_input = false;
- fade_on_empty = false;
- fail_text = "$FAIL ($ATTEMPTS)";
- fail_timeout = 2000;
- fail_transition = 300;
- position = "0, -20";
- halign = "center";
- valign = "center";
- };
- label =
- [
- {
- text = "$USER";
- font_family = "Fira Code";
- font_size = 56;
- position = "0, 100";
- halign = "center";
- valign = "center";
- }
- {
- text = "$TIME";
- font_family = "Roboto";
- font_size = 72;
- position = "-40, -40";
- halign = "right";
- valign = "top";
- }
- {
- text = "$LAYOUT";
- font_family = "JetBrains Mono";
- font_size = 28;
- position = "-20, 20";
- halign = "right";
- valign = "bottom";
- }
- ]
- ++ lib.optional (hwconfig.isLaptop) {
- text = ''cmd[update:10000] ${battery-level}'';
- font_family = "JetBrains Mono";
- font_size = 28;
- position = "20, 20";
- halign = "left";
- valign = "bottom";
- };
- };
- };
-}
diff --git a/nixos/modules/hyprland/power_menu.xml b/nixos/modules/hyprland/power_menu.xml
deleted file mode 100644
index f7e9109..0000000
--- a/nixos/modules/hyprland/power_menu.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
diff --git a/nixos/modules/hyprland/profile-image.png b/nixos/modules/hyprland/profile-image.png
deleted file mode 100644
index 571410a..0000000
Binary files a/nixos/modules/hyprland/profile-image.png and /dev/null differ
diff --git a/nixos/modules/hyprland/toggle_monitors.sh b/nixos/modules/hyprland/toggle_monitors.sh
deleted file mode 100644
index f419e25..0000000
--- a/nixos/modules/hyprland/toggle_monitors.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# Получаем информацию о подключенных мониторах
-monitors_on=$(hyprctl monitors | grep "dpmsStatus: 1" | wc -l)
-echo $monitors_on
-if [ $monitors_on -gt 0 ]; then
- # Если мониторы включены, выключаем их
- hyprctl dispatch dpms off
-else
- hyprctl dispatch dpms on
-fi
-
diff --git a/nixos/modules/hyprland/wallpaper.jpg b/nixos/modules/hyprland/wallpaper.jpg
deleted file mode 100644
index 1475467..0000000
Binary files a/nixos/modules/hyprland/wallpaper.jpg and /dev/null differ
diff --git a/nixos/modules/hyprland/waybar.nix b/nixos/modules/hyprland/waybar.nix
deleted file mode 100644
index 3700796..0000000
--- a/nixos/modules/hyprland/waybar.nix
+++ /dev/null
@@ -1,199 +0,0 @@
-{
- pkgs,
- lib,
- hwconfig,
- ...
-}: let
- battery = import ./battery-status.nix {
- inherit pkgs;
- inherit hwconfig;
- };
-in {
- programs.waybar = {
- enable = true;
- #systemd.enable = true;
-
- #window#waybar {
- # background: transparent;
- #border-bottom: none;
- #}
- #${builtins.readFile "${pkgs.waybar}/etc/xdg/waybar/style.css"}
- style = ''
- ${builtins.readFile ./waybarstyle.css}
-
- * {
- font-size: 15px;
- }
- '';
- settings = [
- {
- height = 36;
- layer = "top";
- position = "top";
- tray = {spacing = 3;};
- modules-center = [
- #"hyprland/window"
- "clock"
- ];
- modules-left = [
- "hyprland/workspaces"
- # "hyprland/window"
- ];
- modules-right =
- lib.optional hwconfig.isLaptop "backlight"
- ++ [
- "pulseaudio"
- #"network"
- #"cpu"
- "memory"
- #"temperature"
- "hyprland/language"
- ]
- ++ lib.optional battery.available "custom/battery"
- ++ [
- "tray"
- "custom/notification"
- #"custom/disablehypridle"
- "custom/power"
- ];
- battery = {
- format = " {time} {icon} ";
- format-alt = " {capacity}% {icon} ";
- format-charging = " {capacity}% ";
- format-icons = ["" "" "" "" ""];
- format-plugged = " {capacity}% ";
- states = {
- critical = 10;
- warning = 20;
- };
- };
- backlight = {
- format = "{percent}% ";
- on-scroll-up = "${pkgs.brightnessctl}/bin/brightnessctl s 5%+";
- on-scroll-down = "${pkgs.brightnessctl}/bin/brightnessctl s 5%-";
- };
- "custom/battery" = {
- exec = "${pkgs.writeShellScriptBin "battery-widget" ''
- ${battery.labelAdaptive}
- ${battery.labelPercent}
- ''}/bin/battery-widget";
- interval = 20;
- tooltip = true;
- };
- clock = {
- format-alt = "{:%d-%m-%Y}";
- tooltip-format = "{:%d-%m-%Y | %H:%M}";
- };
- cpu = {
- format = "{usage}% ";
- tooltip = false;
- };
- "hyprland/language" = {
- format = " {}";
- };
- memory = {
- interval = 1;
- format = "{used}/{total}Gb ";
- };
- network = {
- interval = 1;
- format-alt = "{ifname}: {ipaddr}/{cidr}";
- format-disconnected = "Disconnected ⚠";
- format-ethernet = "{ifname}: {ipaddr}/{cidr} up: {bandwidthUpBits} down: {bandwidthDownBits}";
- format-linked = "{ifname} (No IP) ";
- #format-wifi = "{signalStrength}% ";
- format-wifi = "{signalStrength}% ";
- tooltip-format = "{essid} ({signalStrength}%) ";
- };
- pulseaudio = {
- format = "{volume}% {icon} {format_source}";
- format-bluetooth = "{volume}% {icon} {format_source}";
- format-bluetooth-muted = " {icon} {format_source}";
- format-icons = {
- car = "";
- default = ["" "" ""];
- handsfree = "";
- headphones = "";
- headset = "";
- phone = "";
- portable = "";
- };
- format-muted = " {format_source}";
- format-source = "{volume}% ";
- format-source-muted = "";
- on-click = "${pkgs.pwvucontrol}/bin/pwvucontrol";
- };
- "hyprland/submap" = {format = ''{}'';};
- temperature = {
- critical-threshold = 80;
- format = "{temperatureC}°C {icon}";
- format-icons = ["" "" ""];
- };
-
- "hyprland/workspaces" = {
- disable-scroll = true;
- all-outputs = false;
- warp-on-scroll = true;
- format = "{name}{icon} ";
- format-icons = {
- urgent = "";
- active = "";
- default = "";
- };
- #persistent-workspaces = {
- # "*" = 3;
- #};
- };
-
- "custom/power" = {
- format = "⏻ ";
- tooltip = false;
- #menu = "on-click";
- #menu-file = ./power_menu.xml;
- #menu-actions = {
- # shutdown = "shutdown -h now";
- # reboot = "reboot";
- # suspend = "systemctl suspend";
- # hibernate = "systemctl hibernate";
- #};
- on-click = "wlogout";
- };
-
- "custom/notification" = {
- tooltip = false;
- format = "{icon}";
- format-icons = {
- notification = " ⬤";
- none = " ";
- dnd-notification = " ⬤";
- dnd-none = " ";
- };
- return-type = "json";
- exec-if = "which swaync-client";
- exec = "swaync-client -swb";
- on-click = "sleep 0.1 && swaync-client -t -sw";
- on-click-right = "sleep 0.1 && swaync-client -d -sw";
- escape = true;
- };
-
- "custom/disablehypridle" = {
- exec = ''
- if pgrep -x "hypridle" > /dev/null; then
- echo "{\"text\": \" \", \"tooltip\": \"Hypridle is running\", \"class\": \"active\"}";
- else
- echo "{\"text\": \" \", \"tooltip\": \"Hypridle is not running\", \"class\": \"inactive\"}";
- fi
- '';
- return-type = "json";
- on-click = ''
- if pgrep -x "hypridle" > /dev/null; then
- pkill hypridle
- else
- hypridle &
- fi
- '';
- };
- }
- ];
- };
-}
diff --git a/nixos/modules/hyprland/waybarstyle.css b/nixos/modules/hyprland/waybarstyle.css
deleted file mode 100644
index 3a19a1d..0000000
--- a/nixos/modules/hyprland/waybarstyle.css
+++ /dev/null
@@ -1,92 +0,0 @@
-* {
- border: none;
- font-family: Font Awesome, Roboto, Arial, sans-serif;
- font-size: 13px;
- color: #B9826A;/*#ffffff;*/
- border-radius: 20px;
-}
-
-window {
- /*font-weight: bold;*/
-}
-window#waybar {
- background: transparent;/*rgba(0, 0, 0, 0);*/
-}
-/*-----module groups----*/
-.modules-right {
- background-color: rgba(0,43,51,0.85);
- margin: 2px 10px 0 0;
-}
-.modules-center {
- background-color: rgba(0,43,51,0.85);
- margin: 2px 0 0 0;
-}
-.modules-left {
- margin: 2px 0 0 5px;
- background-color: rgba(0,119,179,0.6);
-}
-/*-----modules indv----*/
-#workspaces button {
- padding: 1px 5px;
- background-color: transparent;
-}
-#workspaces button:hover {
- box-shadow: inherit;
- background-color: rgba(0,153,153,1);
-}
-
-#workspaces button.focused {
- background-color: rgba(0,43,51,0.85);
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#temperature,
-#network,
-#pulseaudio,
-#custom-media,
-#tray,
-#mode,
-#custom-power,
-#custom-menu,
-#idle_inhibitor {
- padding: 0 10px;
-}
-#mode {
- color: #cc3436;
- font-weight: bold;
-}
-#custom-power {
- background-color: rgba(0,119,179,0.6);
- border-radius: 100px;
- margin: 5px 5px;
- padding: 1px 1px 1px 6px;
-}
-/*-----Indicators----*/
-#idle_inhibitor.activated {
- color: #2dcc36;
-}
-#pulseaudio.muted {
- color: #cc3436;
-}
-#battery.charging {
- color: #2dcc36;
-}
-#battery.warning:not(.charging) {
- color: #e6e600;
-}
-#battery.critical:not(.charging) {
- color: #cc3436;
-}
-#temperature.critical {
- color: #cc3436;
-}
-/*-----Colors----*/
-/*
- *rgba(0,85,102,1),#005566 --> Indigo(dye)
- *rgba(0,43,51,1),#002B33 --> Dark Green
- *rgba(0,153,153,1),#009999 --> Persian Green
- *
- */
diff --git a/nixos/modules/impermanence/default.nix b/nixos/modules/impermanence/default.nix
deleted file mode 100644
index 611643b..0000000
--- a/nixos/modules/impermanence/default.nix
+++ /dev/null
@@ -1,96 +0,0 @@
-{
- config,
- lib,
- inputs,
- pkgs,
- ...
-}: let
- rootIsBtrfs = config.fileSystems."/".fsType == "btrfs";
-in {
- imports = [
- inputs.impermanence.nixosModules.impermanence
- ];
- fileSystems."/persist".neededForBoot = true;
- environment.persistence."/persist/system" = {
- hideMounts = true;
- directories = [
- "/var/lib/sbctl"
- "/etc/nixos"
- "/var/log"
- "/var/lib/bluetooth"
- "/var/lib/nixos"
- "/var/lib/flatpak"
- "/var/lib/zerotier-one"
- "/var/lib/systemd/coredump"
- "/var/lib/acme"
- #"/var/lib/conduwuit"
- "/etc/NetworkManager/system-connections"
- {
- directory = "/var/lib/colord";
- user = "colord";
- group = "colord";
- mode = "u=rwx,g=rx,o=";
- }
- ];
- files = [
- "/etc/machine-id"
- {
- file = "/var/keys/secret_file";
- parentDirectory = {mode = "u=rwx,g=,o=";};
- }
- ];
- };
- systemd.tmpfiles.rules = [
- "d /persist/home/ 0777 root root -" # /persist/home created, owned by root
- "d /persist/ollama/ 0755 ollama ollama"
- "d /persist/open-webui/ 0755 ollama ollama"
- "d /persist/conduwuit/ 0755 conduwuit conduwuit"
- #"d /persist/home/${username} 0700 ${username} users -" # /persist/home/ created, owned by that user
- #"d /persist/nixos-config 0700 ${username} users -"
- ];
-
- programs.fuse.userAllowOther = true;
-
- #https://blog.decent.id/post/nixos-systemd-initrd/
- boot.initrd.systemd.services.btrfs-rollback-impermanence = lib.mkIf (isBtrfs && config.boot.initrd.systemd.enable) {
- description = "Rollback BTRFS root dataset to blank snapshot";
- wantedBy = ["initrd.target"];
- requires = ["initrd-root-device.target"];
- after = [
- "initrd-root-device.target"
- # LUKS/TPM process
- "systemd-cryptsetup@root_vg.service"
- "local-fs-pre.target"
- ];
- before = [
- "sysroot.mount"
- "create-needed-for-boot-dirs.service"
- ];
- unitConfig.DefaultDependencies = "no";
- serviceConfig.Type = "oneshot";
- script = ''
- mkdir -p /btrfs_tmp
- mount /dev/mapper/root_vg /btrfs_tmp
- if [[ -e /btrfs_tmp/root ]]; then
- mkdir -p /btrfs_tmp/old_roots
- timestamp=$(date --date="@$(stat -c %Y /btrfs_tmp/root)" "+%Y-%m-%-d_%H:%M:%S")
- mv /btrfs_tmp/root "/btrfs_tmp/old_roots/$timestamp"
- fi
-
- delete_subvolume_recursively() {
- IFS=$'\n'
- for i in $(btrfs subvolume list -o "$1" | cut -f 9- -d ' '); do
- delete_subvolume_recursively "/btrfs_tmp/$i"
- done
- btrfs subvolume delete "$1"
- }
-
- for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +7); do
- delete_subvolume_recursively "$i"
- done
-
- btrfs subvolume create /btrfs_tmp/root
- umount /btrfs_tmp
- '';
- };
-}
diff --git a/nixos/modules/impermanence/home.nix b/nixos/modules/impermanence/home.nix
deleted file mode 100644
index 69d63f9..0000000
--- a/nixos/modules/impermanence/home.nix
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- username,
- inputs,
- ...
-}: {
- imports = [
- inputs.impermanence.nixosModules.home-manager.impermanence
- ];
- home.persistence."/persist/home/${username}" = {
- directories = [
- "Downloads"
- "Music"
- "Pictures"
- "Documents"
- "Videos"
- "Apps"
- "VMs"
- "Git"
- "nixos-config"
- "blender"
- ".gnupg"
- ".password-store"
- ".ssh"
- ".emacs.d"
- ".local/share/keyrings"
- ".local/share/direnv"
- ".local/share/chat.fluffy.fluffychat"
- ".klei"
- "Android"
- {
- directory = ".var/app";
- method = "symlink";
- }
- {
- directory = ".local/share/Steam";
- method = "symlink";
- }
- #{
- # directory = ".steam";
- # method = "symlink";
- #}
- ".mozilla"
- ".librewolf"
- ".local/share/mcpelauncher"
- ".local/share/PrismLauncher"
- ".local/share/TelegramDesktop"
- ".local/share/Paradox Interactive"
- ".config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios"
- ".config/solaar"
- ".config/eww"
- ".config/kdeconnect"
- ".config/blender"
- ".config/unity3d"
- ".config/Element"
- ".config/GIMP"
- ".cache/nix-index"
- ".local/share/aspyr-media"
- ".themes"
- ];
- files = [
- ".screenrc"
- ".config/kdeglobals"
- ".config/Minecraft Linux Launcher/Minecraft Linux Launcher UI.conf"
- #".steampid"
- #".steampath"
- ];
- allowOther = true;
- };
-}
diff --git a/nixos/modules/kando/config.json b/nixos/modules/kando/config.json
deleted file mode 100644
index a410264..0000000
--- a/nixos/modules/kando/config.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "locale": "auto",
- "menuTheme": "default",
- "darkMenuTheme": "default",
- "menuThemeColors": {},
- "darkMenuThemeColors": {},
- "enableDarkModeForMenuThemes": false,
- "soundTheme": "none",
- "soundVolume": 0.5,
- "sidebarVisible": false,
- "enableVersionCheck": true,
- "zoomFactor": 1,
- "menuOptions": {
- "centerDeadZone": 50,
- "minParentDistance": 150,
- "dragThreshold": 15,
- "fadeInDuration": 150,
- "fadeOutDuration": 200,
- "enableMarkingMode": true,
- "enableTurboMode": true,
- "gestureMinStrokeLength": 150,
- "gestureMinStrokeAngle": 20,
- "gestureJitterThreshold": 10,
- "gesturePauseTimeout": 100,
- "fixedStrokeLength": 0,
- "rmbSelectsParent": false,
- "gamepadBackButton": 1,
- "gamepadCloseButton": 2
- },
- "editorOptions": {
- "showSidebarButtonVisible": false,
- "showEditorButtonVisible": false
- }
-}
diff --git a/nixos/modules/kando/default.nix b/nixos/modules/kando/default.nix
deleted file mode 100644
index 4c1db5b..0000000
--- a/nixos/modules/kando/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{...}: let
- folder = ".config/kando";
-in {
- home.file = {
- #"${folder}/config.json".source = ./config.json;
- "${folder}/menus.json".source = ./menus.json;
- };
-}
diff --git a/nixos/modules/kando/menus.json b/nixos/modules/kando/menus.json
deleted file mode 100644
index 5dd9b8b..0000000
--- a/nixos/modules/kando/menus.json
+++ /dev/null
@@ -1,410 +0,0 @@
-{
- "menus": [
- {
- "shortcut": "Control+Space",
- "shortcutID": "example-menu",
- "centered": false,
- "root": {
- "type": "submenu",
- "name": "Пример меню",
- "icon": "award_star",
- "iconTheme": "material-symbols-rounded",
- "children": [
- {
- "type": "submenu",
- "name": "Приложения",
- "icon": "apps",
- "iconTheme": "material-symbols-rounded",
- "children": [
- {
- "type": "command",
- "data": {
- "command": "x-www-browser"
- },
- "name": "Веб-браузер",
- "icon": "globe",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-email"
- },
- "name": "Почта",
- "icon": "mail",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "gimp"
- },
- "name": "GIMP",
- "icon": "gimp",
- "iconTheme": "simple-icons"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-open ~"
- },
- "name": "Проводник",
- "icon": "folder_shared",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "x-terminal-emulator"
- },
- "name": "Терминал",
- "icon": "terminal",
- "iconTheme": "material-symbols-rounded"
- }
- ]
- },
- {
- "type": "submenu",
- "name": "Веб-ссылки",
- "icon": "public",
- "iconTheme": "material-symbols-rounded",
- "children": [
- {
- "type": "uri",
- "data": {
- "uri": "https://www.google.com"
- },
- "name": "Google",
- "icon": "google",
- "iconTheme": "simple-icons"
- },
- {
- "type": "uri",
- "data": {
- "uri": "https://github.com/kando-menu/kando"
- },
- "name": "Kando в GitHub",
- "icon": "github",
- "iconTheme": "simple-icons"
- },
- {
- "type": "uri",
- "data": {
- "uri": "https://ko-fi.com/schneegans"
- },
- "name": "Кандо в Ko-fi",
- "icon": "kofi",
- "iconTheme": "simple-icons"
- },
- {
- "type": "uri",
- "data": {
- "uri": "https://www.youtube.com/@simonschneegans"
- },
- "name": "Kando в YouTube",
- "icon": "youtube",
- "iconTheme": "simple-icons"
- },
- {
- "type": "uri",
- "data": {
- "uri": "https://discord.gg/hZwbVSDkhy"
- },
- "name": "Kando в Discord",
- "icon": "discord",
- "iconTheme": "simple-icons"
- }
- ]
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "ControlLeft+AltLeft+ArrowRight",
- "delayed": false
- },
- "name": "Следующий рабочий стол",
- "icon": "arrow_forward",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "submenu",
- "name": "Буфер обмена",
- "icon": "assignment",
- "iconTheme": "material-symbols-rounded",
- "children": [
- {
- "type": "hotkey",
- "data": {
- "hotkey": "ControlLeft+KeyV",
- "delayed": true
- },
- "name": "Вставить",
- "icon": "content_paste_go",
- "iconTheme": "material-symbols-rounded",
- "angle": 90
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "ControlLeft+KeyC",
- "delayed": true
- },
- "name": "Скопировать",
- "icon": "content_copy",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "ControlLeft+KeyX",
- "delayed": true
- },
- "name": "Вырезать",
- "icon": "cut",
- "iconTheme": "material-symbols-rounded"
- }
- ]
- },
- {
- "type": "submenu",
- "name": "Аудио",
- "icon": "play_circle",
- "iconTheme": "material-symbols-rounded",
- "children": [
- {
- "type": "hotkey",
- "data": {
- "hotkey": "MediaTrackNext",
- "delayed": false
- },
- "name": "Следующий трек",
- "icon": "skip_next",
- "iconTheme": "material-symbols-rounded",
- "angle": 90
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "MediaPlayPause",
- "delayed": false
- },
- "name": "Играть / Пауза",
- "icon": "play_pause",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "AudioVolumeMute",
- "delayed": false
- },
- "name": "Беззвучный режим",
- "icon": "music_off",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "MediaTrackPrevious",
- "delayed": false
- },
- "name": "Предыдущий трек",
- "icon": "skip_previous",
- "iconTheme": "material-symbols-rounded",
- "angle": 270
- }
- ]
- },
- {
- "type": "submenu",
- "name": "Windows",
- "icon": "select_window",
- "iconTheme": "material-symbols-rounded",
- "children": [
- {
- "type": "hotkey",
- "data": {
- "hotkey": "MetaLeft+ArrowUp",
- "delayed": true
- },
- "name": "Развернуть",
- "icon": "open_in_full",
- "iconTheme": "material-symbols-rounded",
- "angle": 0
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "MetaLeft+ArrowRight",
- "delayed": true
- },
- "name": "Окно вправо",
- "icon": "text_select_jump_to_end",
- "iconTheme": "material-symbols-rounded",
- "angle": 90
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "AltLeft+F4",
- "delayed": true
- },
- "name": "Закрыть окно",
- "icon": "cancel_presentation",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "MetaLeft+ArrowLeft",
- "delayed": true
- },
- "name": "Окно влево",
- "icon": "text_select_jump_to_beginning",
- "iconTheme": "material-symbols-rounded",
- "angle": 270
- }
- ]
- },
- {
- "type": "hotkey",
- "data": {
- "hotkey": "ControlLeft+AltLeft+ArrowLeft",
- "delayed": false
- },
- "name": "Предыдущий рабочий стол",
- "icon": "arrow_back",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "submenu",
- "name": "Заметки",
- "icon": "folder_special",
- "iconTheme": "material-symbols-rounded",
- "children": [
- {
- "type": "command",
- "data": {
- "command": "xdg-open \"$(xdg-user-dir DOWNLOAD)\""
- },
- "name": "Загрузки",
- "icon": "download",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-open \"$(xdg-user-dir VIDEOS)\""
- },
- "name": "Видео",
- "icon": "video_camera_front",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-open \"$(xdg-user-dir PICTURES)\""
- },
- "name": "Фото",
- "icon": "imagesmode",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-open \"$(xdg-user-dir DOCUMENTS)\""
- },
- "name": "Документы",
- "icon": "text_ad",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-open \"$(xdg-user-dir DESKTOP)\""
- },
- "name": "Рабочий стол",
- "icon": "desktop_windows",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-open ~"
- },
- "name": "Домой",
- "icon": "home",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "xdg-open \"$(xdg-user-dir MUSIC)\""
- },
- "name": "Музыка",
- "icon": "music_note",
- "iconTheme": "material-symbols-rounded"
- }
- ]
- }
- ]
- }
- },
- {
- "root": {
- "type": "submenu",
- "name": "NixOS",
- "icon": "nixos",
- "iconTheme": "simple-icons-colored",
- "children": [
- {
- "type": "command",
- "data": {
- "command": "wofi --show drun",
- "delayed": false
- },
- "name": "Приложения",
- "icon": "apps",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "firefox",
- "delayed": false
- },
- "name": "Firefox",
- "icon": "firefoxbrowser",
- "iconTheme": "simple-icons"
- },
- {
- "type": "command",
- "data": {
- "command": "dolphin",
- "delayed": false
- },
- "name": "Файлы",
- "icon": "folder_open",
- "iconTheme": "material-symbols-rounded"
- },
- {
- "type": "command",
- "data": {
- "command": "grim -g \"$(slurp -w 0)\" - | satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush",
- "delayed": true
- },
- "name": "Скриншот",
- "icon": "screenshot_monitor",
- "iconTheme": "material-symbols-rounded"
- }
- ]
- },
- "shortcut": "",
- "shortcutID": "nix-hyprland",
- "centered": false,
- "warpMouse": false,
- "anchored": false
- }
- ],
- "templates": []
-}
diff --git a/nixos/modules/kde-plasma/default.nix b/nixos/modules/kde-plasma/default.nix
deleted file mode 100644
index 44a8717..0000000
--- a/nixos/modules/kde-plasma/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{...}: {
- services.xserver.enable = true;
- services.desktopManager.plasma6.enable = true;
-
- programs.dconf.enable = true;
-
- #stylix.targets.qt.platform = "qtct";
-}
diff --git a/nixos/modules/libvirt/default.nix b/nixos/modules/libvirt/default.nix
deleted file mode 100644
index b8220e9..0000000
--- a/nixos/modules/libvirt/default.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{pkgs, ...}: {
- virtualisation = {
- libvirtd = {
- enable = true;
- qemu = {
- package = pkgs.qemu_kvm;
- swtpm.enable = true;
- ovmf.enable = true;
- ovmf.packages = [pkgs.OVMFFull.fd];
- };
- };
- spiceUSBRedirection.enable = true;
- };
-
- environment.systemPackages = with pkgs; [
- spice
- spice-gtk
- spice-protocol
- virt-viewer
- virtio-win
- win-spice
- ];
- programs.virt-manager.enable = true;
-}
diff --git a/nixos/modules/libvirt/user.nix b/nixos/modules/libvirt/user.nix
deleted file mode 100644
index 830cbe2..0000000
--- a/nixos/modules/libvirt/user.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{username, ...}: {
- users.users.${username}.extraGroups = ["libvirtd"];
- home-manager.users.${username} = {
- dconf.settings = {
- "org/virt-manager/virt-manager/connections" = {
- autoconnect = ["qemu:///system"];
- uris = ["qemu:///system"];
- };
- };
- };
-}
diff --git a/nixos/modules/ly/default.nix b/nixos/modules/ly/default.nix
deleted file mode 100644
index fb5c10f..0000000
--- a/nixos/modules/ly/default.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- config,
- pkgs,
- lib,
- ...
-}: let
- cfg = config.kk.loginManagers.ly;
-in {
- options.kk.loginManagers.ly = {
- enable = lib.mkEnableOption "Enable ly as login manager";
- };
- config = lib.mkIf cfg.enable {
- services.xserver.enable = true;
- services.displayManager.ly.enable = true;
- };
-}
diff --git a/nixos/modules/niri/default.nix b/nixos/modules/niri/default.nix
deleted file mode 100644
index 5ea2ddb..0000000
--- a/nixos/modules/niri/default.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- pkgs,
- inputs,
- ...
-}: {
- nixpkgs.overlays = [
- inputs.niri-flake.overlays.niri
- ];
- imports = [
- inputs.niri-flake.nixosModules.niri
- ];
- security.pam.services.hyprlock = {};
- programs.niri = {
- enable = true;
- package = pkgs.niri-unstable;
- };
- niri-flake.cache.enable = true;
- environment.systemPackages = with pkgs; [
- wl-clipboard
- wayland-utils
- libsecret
- gamescope
- xwayland-satellite-unstable
- swaybg
- ];
-}
diff --git a/nixos/modules/sddm/default.nix b/nixos/modules/sddm/default.nix
deleted file mode 100644
index a40ca24..0000000
--- a/nixos/modules/sddm/default.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- config,
- lib,
- pkgs,
- hwconfig,
- ...
-}: let
- cfg = config.kk.loginManagers.sddm;
-in {
- options.kk.loginManagers.sddm = {
- enable = lib.mkEnableOption "Enable sddm as login manager";
- };
- config = lib.mkIf cfg.enable {
- environment.systemPackages = with pkgs; [
- (catppuccin-sddm.override {
- flavor = "mocha";
- # font = "";
- fontSize = "16";
- #background;
- loginBackground = false;
- })
- wvkbd
- ];
- services.xserver.enable = true;
- services.displayManager.sddm = {
- enable = true;
- theme = "catppuccin-mocha";
- package = lib.mkDefault pkgs.kdePackages.sddm;
- wayland.enable = true;
- settings = {
- General = {
- InputMethod = "wvkbd-mobintl"; # Enables optional virtual keyboard at login (SDDM). Useful for touchscreens or accessibility.
- };
- };
- };
- };
-}
diff --git a/nixos/modules/services/autoupgrade/default.nix b/nixos/modules/services/autoupgrade/default.nix
deleted file mode 100644
index e1ce49b..0000000
--- a/nixos/modules/services/autoupgrade/default.nix
+++ /dev/null
@@ -1,103 +0,0 @@
-# Run automatic updates. Replaces system.autoUpgrade.
-{
- config,
- lib,
- ...
-}: let
- cfg = config.kylekrein.services.autoUpgrade;
- script = ./nixos-upgrade-script.sh;
-in {
- options = {
- kylekrein.services.autoUpgrade = {
- enable = lib.mkEnableOption "Enables automatic system updates.";
- configDir = lib.mkOption {
- type = lib.types.str;
- description = "Path where your NixOS configuration files are stored.";
- };
- extraFlags = lib.mkOption {
- type = lib.types.str;
- description = "Extra flags to pass to nixos-rebuild.";
- default = "";
- };
- onCalendar = lib.mkOption {
- default = "daily";
- type = lib.types.str;
- description = "How frequently to run updates. See systemd.timer(5) and systemd.time(7) for configuration details.";
- };
- operation = lib.mkOption {
- type = lib.types.enum [
- "boot"
- "switch"
- "test"
- ];
- default = "switch";
- description = "Which `nixos-rebuild` operation to perform. Defaults to `switch`.";
- };
- persistent = lib.mkOption {
- default = true;
- type = lib.types.bool;
- description = "If true, the time when the service unit was last triggered is stored on disk. When the timer is activated, the service unit is triggered immediately if it would have been triggered at least once during the time when the timer was inactive. This is useful to catch up on missed runs of the service when the system was powered down.";
- };
- pushUpdates = lib.mkEnableOption "Updates the flake.lock file and pushes it back to the repo.";
- user = lib.mkOption {
- type = lib.types.str;
- description = "The user who owns the configDir.";
- };
- };
- };
-
- config = lib.mkIf cfg.enable {
- # Assert that system.autoUpgrade is not also enabled
- assertions = [
- {
- assertion = !config.system.autoUpgrade.enable;
- message = "The system.autoUpgrade option conflicts with this module.";
- }
- ];
-
- # Pull and apply updates.
- systemd = {
- services."nixos-upgrade" = {
- serviceConfig = {
- Type = "oneshot";
- User = "root";
- };
- #path = config.kylekrein.corePackages;
- unitConfig.RequiresMountsFor = cfg.configDir;
- script =
- "${script} --operation ${cfg.operation} "
- + (
- if (cfg.configDir != "")
- then "--flake ${cfg.configDir} "
- else ""
- )
- + (
- if (cfg.user != "")
- then "--user ${cfg.user} "
- else ""
- )
- + (
- if (cfg.pushUpdates)
- then "--update "
- else ""
- )
- + (
- if (cfg.extraFlags != "")
- then cfg.extraFlags
- else ""
- );
- };
- timers."nixos-upgrade" = {
- wants = ["network-online.target"];
- after = ["network-online.target"];
- wantedBy = ["timers.target"];
- timerConfig = {
- OnCalendar = cfg.onCalendar;
- Persistent = cfg.persistent;
- Unit = "nixos-upgrade.service";
- RandomizedDelaySec = "30m";
- };
- };
- };
- };
-}
diff --git a/nixos/modules/services/autoupgrade/nixos-upgrade-script.sh b/nixos/modules/services/autoupgrade/nixos-upgrade-script.sh
deleted file mode 100755
index 53c01bc..0000000
--- a/nixos/modules/services/autoupgrade/nixos-upgrade-script.sh
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-# Wrapper script for nixos-rebuild
-
-# Configuration parameters
-operation="switch" # The nixos-rebuild operation to use
-hostname=$(/run/current-system/sw/bin/hostname) # The name of the host to build
-flakeDir="${FLAKE_DIR}" # Path to the flake file (and optionally the hostname). Defaults to the FLAKE_DIR environment variable.
-update=false # Whether to update flake.lock (false by default)
-user=$(/run/current-system/sw/bin/whoami) # Which user account to use for git commands (defaults to whoever called the script)
-remainingArgs="" # All remaining arguments that haven't yet been processed (will be passed to nixos-rebuild)
-
-function usage() {
- echo "nixos-rebuild Operations Script (NOS) updates your system and your flake.lock file by pulling the latest versions."
- echo ""
- echo "Running the script with no parameters performs the following operations:"
- echo " 1. Pull the latest version of the config"
- echo " 2. Update your flake.lock file"
- echo " 3. Commit any changes back to the repository"
- echo " 4. Run 'nixos-rebuild switch'."
- echo ""
- echo "Advanced usage: nixos-upgrade-script.sh [-o|--operation operation] [-f|--flake path-to-flake] [extra nixos-rebuild parameters]"
- echo "Options:"
- echo " -h, --help Show this help screen."
- echo " -o, --operation The nixos-rebuild operation to perform."
- echo " -f, --flake The path to your flake.nix file (and optionally, the hostname to build)."
- echo " -U, --update Update and commit flake.lock."
- echo " -u, --user Which user account to run git commands under."
- echo ""
- exit 2
-}
-
-# Argument processing logic shamelessly stolen from https://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash
-POSITIONAL_ARGS=()
-while [[ $# -gt 0 ]]; do
- case "$1" in
- --flake|-f)
- flakeDir="$2"
- shift
- shift
- ;;
- --update|--upgrade|-U)
- update=true
- shift
- ;;
- --operation|-o)
- operation="$2"
- shift
- shift
- ;;
- --user|-u)
- user="$2"
- shift
- shift
- ;;
- --help|-h)
- usage
- exit 0
- ;;
- *)
- POSITIONAL_ARGS+=("$1") # save positional arg
- shift
- ;;
- esac
-done
-remainingArgs=${POSITIONAL_ARGS[@]}
-set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters
-
-if [ $update = true ]; then
-
-if [ -z "${flakeDir}" ]; then
- echo "Flake directory not specified. Use '--flake ' or set \$FLAKE_DIR."
- exit 1
-fi
-
-cd $flakeDir
-
-echo "Pulling the latest version of the repository..."
-/run/wrappers/bin/sudo -u $user /run/current-system/sw/bin/git pull
-
- echo "Updating flake.lock..."
- /run/wrappers/bin/sudo -u $user /run/current-system/sw/bin/nix flake update --commit-lock-file && /run/wrappers/bin/sudo -u $user /run/current-system/sw/bin/git push
-options="--flake $flakeDir $remainingArgs --use-remote-sudo --log-format multiline-with-logs"
-
-echo "Running this operation: nixos-rebuild $operation $options"
-/run/wrappers/bin/sudo -u root /run/current-system/sw/bin/nixos-rebuild $operation $options
-else
- echo "Skipping 'nix flake update'..."
-/run/wrappers/bin/sudo -u root /run/current-system/sw/bin/nixos-rebuild $operation --flake github:kylekrein/nixos-config
-fi
-
-exit 0
diff --git a/nixos/modules/sops/.sops.yaml b/nixos/modules/sops/.sops.yaml
deleted file mode 100644
index f12e0b0..0000000
--- a/nixos/modules/sops/.sops.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-keys:
- - &primary age1l8euy4w4nccrpdmfdfct468parcrulkqcts2jcljajs2as0k7passdv2x4
- - &kylekrein-framework12 age10s6c9har9pg2a0md30fhpp2mfy89xxrrnu5dwrjtqzh3lktcdaysq7st65
- - &kylekrein-mac age12apyh4f5m002npnfq5kansrzme6umtzsvc6m96fjz752gg8c7a8s8e48xd
- - &kylekrein-homepc age1z6d8gk5fhm5mkkcrm4dycs4ugqaar3ls2h5ehwul9qcqhl9x4q8szmz6c7
-creation_rules:
- - path_regex: secrets/secrets.yaml$
- key_groups:
- - age:
- - *primary
- - *kylekrein-framework12
- - *kylekrein-mac
- - *kylekrein-homepc
diff --git a/nixos/modules/sops/default.nix b/nixos/modules/sops/default.nix
deleted file mode 100644
index 1f2d7d5..0000000
--- a/nixos/modules/sops/default.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- config,
- pkgs,
- inputs,
- lib,
- hwconfig,
- ...
-}: let
- keyPath =
- if hwconfig.useImpermanence
- then "/persist/sops/age/keys.txt"
- else "/var/lib/sops/age/keys.txt";
-in {
- environment.systemPackages = with pkgs; [sops];
- sops.defaultSopsFile = ./secrets/secrets.yaml;
- sops.defaultSopsFormat = "yaml";
- sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key" "/persist/home/kylekrein/.ssh/id_ed25519" "/home/kylekrein/.ssh/id_ed25519"];
- sops.age.keyFile = keyPath;
- # This will generate a new key if the key specified above does not exist
- sops.age.generateKey = true;
-}
diff --git a/nixos/modules/sops/secrets/secrets.yaml b/nixos/modules/sops/secrets/secrets.yaml
deleted file mode 100644
index 16f7c67..0000000
--- a/nixos/modules/sops/secrets/secrets.yaml
+++ /dev/null
@@ -1,58 +0,0 @@
-users:
- kylekrein: ENC[AES256_GCM,data:DNLVQ4IPFhUG9MR9hk2BuElvfNZIky3nMGWgilutRwvT3wl25vOLEETrBFoWUO+2ZgLSnhtwWtIJhNlRlTK/rsrUNVTOdwq9AA==,iv:Z+dhr33Wotm064IcwtNfFpvQeL03T29Dn3Bl9VqPL1g=,tag:Qe3sOY0DegSKDptBjnbFrQ==,type:str]
- tania: ENC[AES256_GCM,data:veo/dKQpztSGLfCxpWqoTOlPqSaNeNW2pYrTU9z125hjBVt2LC8X+mDp8vA0r8QFKpkGr1BiwviUTuXsSO1IXn3nHfDGsHQqFQ==,iv:q3pCcil1wiKe5xC6QEn3Q4wV1icW+3CCUQw6QZIINWU=,tag:XvBfIEORfdTcUihtcJQZVg==,type:str]
- andrej: ENC[AES256_GCM,data:x/cWcswSDMFxXSLXe1JWGnQAuPYWM5AU4X3WxVAqUIifcYWxxynMfL9LXEgo3sP1IvRyp4FW+voWQrJM/KGdbYkkrAJNhbD7/Q==,iv:C51H9Zz4nxB+K1cohRq+1oPQ/ckDgVCMW4vB4+3wEt8=,tag:8ENLfMIoHbJGxceCKZulxg==,type:str]
-services:
- conduwuit: ENC[AES256_GCM,data:1shEq67QJTkeqrfYSr/eYG7gYWH//5ey6XQ=,iv:hy5wQmue8qU4ALfn9BrNQLnsTk8BsVVXY/8bDj18mXk=,tag:h6+hL0HjgSzd15Kc7Zg4ng==,type:str]
- gitlab:
- dbPassword: ENC[AES256_GCM,data:itn9xyNZO+xkSk0GKvLzjLRzM0uZ+TalqLtj6tyjKXM=,iv:U8bX/On89wz6Lz4R2/fZ+FWRObehlnjFhUQdAhmxb60=,tag:oEbee14jCGfRs8i5bJZ5FA==,type:str]
- rootPassword: ENC[AES256_GCM,data:lXq+GIn6ooTzZL4iMYFzx3kn8gdcdsNaLQ/zVCr75Nw=,iv:mGp9gxL9uABpbod/ZNNyEllBbcfrQuFG4pQgs0v/xbk=,tag:CZzj4hauh/Qi8fvtmaZ/KQ==,type:str]
- secret: ENC[AES256_GCM,data:W7PfRh80hzMZrJebHgs4CJeeABWIVVkh3ByTF1Yfavw=,iv:WnLEACeCZOf+YpF4RzQCXG6uPEq7zrE6u7DQQLZjL/Q=,tag:3qjnIeoptMsIxIbTh5TR+Q==,type:str]
- dbsecret: ENC[AES256_GCM,data:5VJdhvr1z3sYlXJz0u1eKk5UBt9rKzMiTQcawA64/K0dL6A3WCppnmHeLw6X0vJPnZ6uqJuEDyV7DU5nEg==,iv:fk0oDjYfxzWD2SmVSlwrvJeiHrMxUhR41bqQJ5IXs18=,tag:9cSlRX+bvr8vjBtxwqbeFw==,type:str]
- otpsecret: ENC[AES256_GCM,data:enBP2fsr+VaHuK93GGDtgGMSf20yxgLloHIHIibFfLo=,iv:iLLVuypLXySsw363Y9CSz5Kqa3CCNQFwURdOoi5Ig20=,tag:CgUMcT+x/134JJaScHLlOQ==,type:str]
- activeRecordSalt: ENC[AES256_GCM,data:kbIImurv4lpcJJMQlEVJJpuuBTw/OUG+PW3Y9kQlIVM=,iv:1ymv3gmRhff49uaTLrIkWA0rX1wtRdfpa0551zHvsko=,tag:KDrDNg9sKRomGH8psS17gA==,type:str]
- activeRecordPrimaryKey: ENC[AES256_GCM,data:AfL5kKmD2uqzq07xCCELDPLtZinE4b4RAmqd9xWAxgg=,iv:3Mhadey/k6k3/Ysb2KQ4eb9lDzHQJRAKP8R1Fw4wFdg=,tag:/0wS7lVkuoYTMCut8UEXWg==,type:str]
- activeRecordDeterministicKey: ENC[AES256_GCM,data:pJBZAL60XeCrW7CPx76WcWpsYOwlR4OWmIP/61vNL3k=,iv:t/YmnVFge6kLiQjXD6RKNn7r5Oy1Aeyi3ZIaP57Nhig=,tag:L4aU4h4KdbsSNDpgybaV3g==,type:str]
- oidcKeyBase: ENC[AES256_GCM,data:hHBdaIynMg8eWiwDjDfN+8PcUjOPl9VzG6lu2Z1eRrC2PaVXORg1Eh6YPi83efqhaSbONHeiORGsLM/NYHFcviEvQ8aZXb9y/ojKPHdyjYvkedIU1alyfWqiz8+xP/H2JFPgMdDsO6Tt4IswTMCfbNOXY2+RwImLACxTDoeY9LX2wklrGWh7F7DqAYymM2T6PrulJqGtbrep3yEylb5kqPZU34aJQzdZ7/zA5EW68xTOWEElCcxfkr2ThCywk6quUQaaCsqVAjZhULRDYfDA/umF8r6S7eNh0eFm6X17xsLTgkSMkx4gLvaUxtLG9bGM/5FJ6823hyRSTNXZx0cV7f195mqeUhn6rvUIl6qC8O7Ln6auWxjuJDRo+1Phr4J3dQMBXBaG2WpQFufgXNw8qWpMEqpiN6CjXhFYWJT/TxCZR+Bdxqt8Fegk0DjcEQFbJDOKKV3/JMu1hIsydeVRTmyy06EbBKSfAIgFddQIA7DmxqK6tqLRtITQ1K9xGnt4msiqgfv1XiyeTo+vmptYVDGLSLtB6yfOKvs/U31RlNESwcHwIqlisl1bex5HV10OCcMkFVhhffoiT1Swdj9ilMhd3TkgL2uJstC26QuyB4Gdnmz28MWU28JXP7qVf0rvq6nNPYAKpO3LgNPx5JrCz6DGCxSZiJOQ0fYDxz5QC2EznAbmZachg8tBb4Hmd/CvEtMMvWfkxueadTV7fWR0l3R4H1cizUF8j2NIfqWb6TQLIy25PaOSNnyZ+a4NFZDgZQcpl4zbCLVKHEKGDGhMr4SpEtKzasZSwv1jw7TZoiN8I2g1hSdZRCq3KJ2nAIGvlZd8NUTsksxsIXcxaoM1rfl4dIOfHm3H+HcKmnMYafnCH0EgdRZeAv1sonDzUOEl2G8myUTa3xNlR43lauIG0ipat83UO6INFh4N0TFJtirPHjm72ZMfUK89ut5fWnYqiKopkJEtAy7Bk1EUbXwuRfBDB34m8AFdDGbVWWVaoVJkSuIr8PHMsFhJRGn1TUit7tDQfgPvLpPD0Wiq2PBgoExZ8qLYUDdOCvTxWnZ+gpTRghiBebulNR0xGOCeopg4qiMZ7rWfUJHsqNUazpak1JPIWC8wYIJ4vojjIH1TCpl11lYUvXy1ffFkcWBYplsGYBuY3qpXG/Od3yrdwPKzhHPjPpWDdxZJBW91HRdq0qhq9mYIr28kqGF4Mg60cGGdin+/O0jcfzWzwhjibEfrfuzBqhHknTPXDTlKPBctdvcQZRUsOS0d6SrNRXOvvzlSTrUowaQTSrZNzNDpAt3VKYJDnXGgwnAZSk8zhRM7J6bc9artgm75qBWuZCxLHbcqyBeWVRALYPkWp5h1bLCaGHgC7x986d0mGxfU9p2szIRyacbJN/ITIuDuDmvBt9NWydkkdT3GZE9uhbxQMgfkKyLyXvf7LrF1iSmIos15tYCZrxAcu0LMo2mqW51e92uc4AXE8rVB4k7z2j19F5sW9GMQgKOk6qT1CSpzfHvPpVdKQ5cVVj4X5GZOao5flo1tO/sNwE92Jpc/jLw96737rRDGe9vSkdbyhSS1wrF4+P59QPxsdelSAYZF6YMgSN0yCJFuRLWfj6IpxpBIEEuB5QACCHnDiWi9cFEwRaq6EX6f87Joznd9o1kwASmMXpkXqv/rLorjlqdXajwdFXEmNUFMqX90va7LvlZJPHhvXmgJCwdHAKacQj1m0Ji4EqSZhM/I1uEhG6zTc2jE46N2peVf2JytEGpbgF/m2pyGJDDQ5SDIfG+4AdUXVTk68wl0Q2SSjBb4d/N8XNfPHHToXEuNsNmHZx/4Yt9b+RJqzl3Mi+HOvJP/mz8wR7TxceHnuqE0RTvl9TYN0MXkXVfh6ECj6AaDuiL930IYabRZ5do7eMaA2OYZoPvZA4udoctDApyzs0Dn0gVu9sFXUgmNV7YnkETeEtjKEn/sjWmkMFQ+vJoK27H4OuILxYj5jtBhWbjNYeheBVo5jXmANakDO95vlLhlp2t11LrEoR59dNVVvvN3zDuX1/EYI0OvS4Isl7HTk8ud0+8tfzywGAY3LtEhpEffe91gqEleu2atKYWZQ8917ugvmGkNQ5SNJloDFtUFvAAjJypoovQ6JxQOgFGSsgKMMUMSyuUQnjkxThrGL6oMavAGKElJn6xFc48xSvS4dluTotqwzN2gaV5a98PFbw4zda3ltx2uJD3XxYqr1J92P39YMjKihFIALrcXIESV0Aehfap3WATjlRLikTq726wo2n+k,iv:P8C/7NUd1G/VbKz7iWjTVXxMFOxZQxX5d0V4Tj6KeCw=,tag:iq4s3ahqkmf4e7BffjlIcQ==,type:str]
-sops:
- age:
- - recipient: age1l8euy4w4nccrpdmfdfct468parcrulkqcts2jcljajs2as0k7passdv2x4
- enc: |
- -----BEGIN AGE ENCRYPTED FILE-----
- YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxU2dMcDZjNHhFMmltNkRJ
- VlZiYk1hdE1Dczhya3J4Q1EyUlY3ekZtVUFnCkpvN2Y0OFNUTnFtbFIxZVhDdnc3
- YWh3S3FWeXFHTlU4Y0ZOZmI5d1F1dTAKLS0tIFhWSWp1d29ORnJGYWZxMDJib0ho
- NTFaWFE0Rk4yU2hXYjRsUFhZY3pTR2cKoQkn7UJVh7uIyCEezrd34arkRxScIL3O
- 4P/6eDoqXJBkvzwDgidqLLcwuu1nanJpbmr662gRuZmnybwEVp504g==
- -----END AGE ENCRYPTED FILE-----
- - recipient: age10s6c9har9pg2a0md30fhpp2mfy89xxrrnu5dwrjtqzh3lktcdaysq7st65
- enc: |
- -----BEGIN AGE ENCRYPTED FILE-----
- YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBXRU8vd0I0bjRma1pveWVn
- ZWFKci9ld2NuRmFla3R0azgzaHl0N20rMHlzCmpaaE1HYmYzVW1RWUw1L0hBclJk
- eUlDTWk3ZXJ5Z25HYXJFODQ4T1lHMFUKLS0tIDg0QlhoQll1Q01BY2thSEFTN0RH
- cGd4ZG9VUWVxeFlZL2VuVlFsRWVseDQKHKkQONzFlbKMFFzNeATkpUqJdWIAlEL8
- QqUvujs1mMCWw9dqXhlT2ik7LHQO6yp5Oh4gxLg8nhZqs5O+leNdQQ==
- -----END AGE ENCRYPTED FILE-----
- - recipient: age12apyh4f5m002npnfq5kansrzme6umtzsvc6m96fjz752gg8c7a8s8e48xd
- enc: |
- -----BEGIN AGE ENCRYPTED FILE-----
- YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB6Wmc1alppT1BSS0NKcDZ0
- TWNOKzVmQkpmeG1YZ0p4Tm5BVlBxaS81VW44CllubzREc3g0dVB4dUhuMWJDMGtm
- UTVBYlZjT3JEWExoSDV5a1BzYk1BMUUKLS0tICtnK2xNalBEWjFPZis2UFRubWxl
- aDdZNVZqRnM5U3hRK1gyNFllRVJXMEkKko3YM1MtoWR01/YN/1QtTgtWsGf+r8MH
- dZaWrIyAbRMeR/aBSZ3VjiuP1d2G7YtT1fa7/jaXd0igiYu2gWDu9A==
- -----END AGE ENCRYPTED FILE-----
- - recipient: age1z6d8gk5fhm5mkkcrm4dycs4ugqaar3ls2h5ehwul9qcqhl9x4q8szmz6c7
- enc: |
- -----BEGIN AGE ENCRYPTED FILE-----
- YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBheDVNcVRKTHdxa01zTjJi
- NUxGVVlleTNaZnJ6QVhreU9XbGkwaVh6R1N3CkR5T0VKTnd6N0hteDlOUHdKcS9p
- YWwzL2lwTExyaUcrcXQ2dG4xOGpZN0UKLS0tIFJZU1hXMUtOSklXYjdtWkt6UTFl
- MU43ZWEwMXEwdGx5d0hUNlhiaGdjWU0K9UoNQOnMxTy0KdfiYOgm0TxH5qFUV3gi
- f7z2RzR44ndf0nHwIzr8e1bmF9q5mc685Wq9qyM7aLCE+yUU/vUO7Q==
- -----END AGE ENCRYPTED FILE-----
- lastmodified: "2025-07-30T16:15:59Z"
- mac: ENC[AES256_GCM,data:mmJH3BEqsrboGaQM7yWuHF1MWREC4bLc+RAZgsqlNvhgoWLoaVDLuBjEfuXCDPdnvDPesbUrI8HHA5gz523C0PoJdkoFcRoVOwhLqj6tJjT4JnlaTgpBMN5UqBqt9Gm68mqekE0bm7ihdc3lnn/OkRrxJI3Th5KzUC4zMmdjVsI=,iv:K0f75ft3PQdQ1AUFzrannvLv03fl6FS6se/muMcyQkY=,tag:y3FJQDthKoWvoMHdmcvRQA==,type:str]
- unencrypted_suffix: _unencrypted
- version: 3.10.2
diff --git a/nixos/modules/steam/default.nix b/nixos/modules/steam/default.nix
deleted file mode 100644
index 17be5e9..0000000
--- a/nixos/modules/steam/default.nix
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- pkgs,
- lib,
- config,
- hwconfig,
- unstable-pkgs,
- ...
-}: let
- cfg = config.kk.steam;
-in {
- options.kk.steam = {
- enable = lib.mkEnableOption "Enable steam";
- };
-
- config = lib.mkIf cfg.enable {
- environment.systemPackages = with pkgs; [
- unzip
- wget
- xdotool
- xorg.xprop
- xorg.xrandr
- unixtools.xxd
- xorg.xwininfo
- yad
- protonup-qt
- protontricks
- bottles
- ];
- programs.steam = {
- enable = true; #!hwconfig.useImpermanence;
- remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
- dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
- localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
- package = pkgs.steam.override {
- extraPkgs = pkgs:
- with pkgs; [
- xorg.libXcursor
- xorg.libXi
- xorg.libXinerama
- xorg.libXScrnSaver
- libpng
- libpulseaudio
- libvorbis
- sdl3
- SDL2
- stdenv.cc.cc.lib
- libkrb5
- keyutils
- gamescope
- ];
- };
- };
- programs.gamemode.enable = true;
- };
-}
diff --git a/nixos/modules/tmux/home.nix b/nixos/modules/tmux/home.nix
deleted file mode 100644
index a5400e5..0000000
--- a/nixos/modules/tmux/home.nix
+++ /dev/null
@@ -1,58 +0,0 @@
-{pkgs, ...}: {
- programs.tmux = {
- enable = true;
- terminal = "tmux-256color";
- #prefix = "C-Space";
- clock24 = true;
- mouse = true;
- keyMode = "vi";
- baseIndex = 1;
- sensibleOnTop = true;
- disableConfirmationPrompt = true;
- plugins = with pkgs.tmuxPlugins; [
- vim-tmux-navigator
- {
- plugin = catppuccin;
- extraConfig = ''
- set -g @catppuccin_flavour 'mocha'
- set -g @catppuccin_date_time "%H:%M"
- '';
- }
- {
- plugin = resurrect;
- extraConfig = ''
- set -g @resurrect-strategy-vim 'session'
- set -g @resurrect-strategy-nvim 'session'
- set -g @resurrect-capture-pane-contents 'on'
- '';
- }
- {
- plugin = continuum;
- extraConfig = ''
- set -g @continuum-restore 'on'
- set -g @continuum-boot 'on'
- set -g @continuum-save-interval '10'
- '';
- }
- yank
- ];
- extraConfig = ''
- # Shift Alt vim keys to switch windows
- bind -n M-H previous-window
- bind -n M-L next-window
- # Use Alt-arrow keys without prefix key to switch panes
- bind -n M-Left select-pane -L
- bind -n M-Right select-pane -R
- bind -n M-Up select-pane -U
- bind -n M-Down select-pane -D
-
- # keybindings
- bind-key -T copy-mode-vi v send-keys -X begin-selection
- bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
- bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
-
- bind '"' split-window -v -c "#{pane_current_path}"
- bind % split-window -h -c "#{pane_current_path}"
- '';
- };
-}
diff --git a/nixos/users/andrej/default.nix b/nixos/users/andrej/default.nix
deleted file mode 100644
index a313585..0000000
--- a/nixos/users/andrej/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- pkgs,
- config,
- lib,
- hwconfig,
- inputs,
- first-nixos-install,
- ...
-}: let
- username = "andrej";
-in {
- imports = [
- ];
- users.users.${username} = {
- isNormalUser = true;
- description = "Andrej Lebedev";
- extraGroups = ["networkmanager"];
- #initialPassword = "1234";
- hashedPasswordFile = config.sops.secrets."users/${username}".path;
- packages = with pkgs; [
- flatpak
- ];
- };
- sops.secrets = {
- "users/${username}" = {
- neededForUsers = true;
- };
- };
-
- home-manager.users."${username}" = import ../../home.nix {
- inherit lib;
- inherit username;
- inherit inputs;
- inherit first-nixos-install;
- inherit hwconfig;
- inherit config;
- inherit pkgs;
- };
- systemd.tmpfiles.rules =
- if hwconfig.useImpermanence
- then ["d /persist/home/${username} 0700 ${username} users -"]
- else []; # /persist/home/ created, owned by that user
-}
diff --git a/nixos/users/dima/default.nix b/nixos/users/dima/default.nix
deleted file mode 100644
index c5635ae..0000000
--- a/nixos/users/dima/default.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- pkgs,
- config,
- lib,
- hwconfig,
- inputs,
- first-nixos-install,
- ...
-}: let
- username = "dima";
-in {
- imports = [
- ];
- users.users.${username} = {
- isNormalUser = true;
- description = "Dima";
- extraGroups = ["networkmanager"];
- initialPassword = "1234";
- #hashedPasswordFile = config.sops.secrets."users/${username}".path;
- packages = with pkgs; [
- ];
- openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILIc/J6YxwWKajJ923/PZ2fcgLgWZdVMcZQ4oZZ+2hwn dima@dragonarch"
- ];
- };
- programs.ssh.forwardX11 = true;
-
- home-manager.users."${username}" = import ../../home.nix {
- inherit lib;
- inherit username;
- inherit inputs;
- inherit first-nixos-install;
- inherit hwconfig;
- inherit config;
- inherit pkgs;
- };
- systemd.tmpfiles.rules =
- if hwconfig.useImpermanence
- then ["d /persist/home/${username} 0700 ${username} users -"]
- else []; # /persist/home/ created, owned by that user
-}
diff --git a/nixos/users/kylekrein/default.nix b/nixos/users/kylekrein/default.nix
deleted file mode 100644
index 37222f9..0000000
--- a/nixos/users/kylekrein/default.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- pkgs,
- config,
- lib,
- hwconfig,
- inputs,
- first-nixos-install,
- ...
-}: let
- username = "kylekrein";
-in {
- imports = [
- ];
- users.users.${username} = {
- isNormalUser = true;
- description = "Aleksandr Lebedev";
- extraGroups = ["networkmanager" "wheel" "input" "touchscreen"];
- #initialPassword = "1234";
- hashedPasswordFile = config.sops.secrets."users/${username}".path;
- packages = with pkgs; [];
- linger = false;
-
- openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMt3PWVvmEL6a0HHTsxL4KMq1UGKFdzgX5iIkm6owGQ kylekrein@kylekrein-mac"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFDdxZ5OyGcfD1JwEa4RWw86HWZ2dKFR0syrRckl7EvG kylekrein@kylekrein-homepc"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILt+CDDU4gDo12IO2dc50fceIWkn26/NuTq4j25hiGre kylekrein@kylekrein-framework12"
- ];
- };
- sops.secrets = {
- "users/${username}" = {
- neededForUsers = true;
- };
- };
- nix.settings.trusted-users = [
- "kylekrein"
- ];
- home-manager.extraSpecialArgs = {
- inherit username;
- inherit inputs;
- inherit first-nixos-install;
- inherit hwconfig;
- };
- home-manager.users."${username}" = ../../home.nix;
- kylekrein.services.autoUpgrade = {
- #configDir = lib.mkForce "/home/${username}/nixos-config";
- #user = lib.mkForce username;
- };
- programs.nh.flake = lib.mkForce "/home/${username}/nixos-config";
- systemd.tmpfiles.rules =
- if hwconfig.useImpermanence
- then ["d /persist/home/${username} 0700 ${username} users -"]
- else []; # /persist/home/ created, owned by that user
-}
diff --git a/nixos/users/tania/default.nix b/nixos/users/tania/default.nix
deleted file mode 100644
index 3bfdbc7..0000000
--- a/nixos/users/tania/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- pkgs,
- config,
- lib,
- hwconfig,
- inputs,
- first-nixos-install,
- ...
-}: let
- username = "tania";
-in {
- imports = [
- ];
- users.users.${username} = {
- isNormalUser = true;
- description = "Tetiana";
- extraGroups = ["networkmanager"];
- #initialPassword = "1234";
- hashedPasswordFile = config.sops.secrets."users/${username}".path;
- packages = with pkgs; [
- ];
- };
- sops.secrets = {
- "users/${username}" = {
- neededForUsers = true;
- };
- };
-
- home-manager.users."${username}" = import ../../home.nix {
- inherit lib;
- inherit username;
- inherit inputs;
- inherit first-nixos-install;
- inherit hwconfig;
- inherit config;
- inherit pkgs;
- };
- systemd.tmpfiles.rules =
- if hwconfig.useImpermanence
- then ["d /persist/home/${username} 0700 ${username} users -"]
- else []; # /persist/home/ created, owned by that user
-}
diff --git a/nixos/wsl.nix b/nixos/wsl.nix
deleted file mode 100644
index 49c4d08..0000000
--- a/nixos/wsl.nix
+++ /dev/null
@@ -1,157 +0,0 @@
-{
- config,
- lib,
- pkgs,
- hwconfig,
- first-nixos-install,
- inputs,
- unstable-pkgs,
- ...
-}: {
- imports =
- [
- ./modules/firefox
- ./modules/flatpak
- ./modules/gnupg
- ./modules/direnv
- ./hosts/${hwconfig.hostname}
- ]
- ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
-
- networking.hostName = hwconfig.hostname;
- time.timeZone = "Europe/Berlin";
- # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
-
- # Configure network proxy if necessary
- # networking.proxy.default = "http://user:password@proxy:port/";
- # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
-
- #flatpak
- #kk.services.flatpak.enable = hwconfig.system != "aarch64-linux";
- services.flatpak.packages = [
- ];
-
- # Enable common container config files in /etc/containers
- virtualisation.containers.enable = true;
- virtualisation = {
- docker.enable = true;
- };
- users.extraGroups.docker.members = ["nixos"];
- environment.systemPackages = with pkgs; [
- inputs.emacs-kylekrein.packages.${pkgs.system}.with-lsps-native
- killall
- nix-output-monitor
- eza
- fd
- (pkgs.writeShellScriptBin "root-files" ''
- ${pkgs.fd}/bin/fd --one-file-system --base-directory / --type f --hidden --exclude "{tmp,etc/passwd}"
- '') # https://www.reddit.com/r/NixOS/comments/1d1apm0/comment/l5tgbwz/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
- tealdeer
- docker-compose
- fzf
- lazygit
- fastfetch
- wl-clipboard
- git
- git-credential-manager
- egl-wayland
- xclip
- btop
- comma
-
- csharp-ls
- ];
- wsl = {
- enable = true;
- defaultUser = "nixos";
- useWindowsDriver = true;
- };
- programs.nh = {
- enable = true;
- clean.enable = true;
- clean.extraArgs = "--keep-since 4d --keep 3";
- flake = "/home/nixos/nixos-config";
- };
- services.ollama = {
- enable = true;
- loadModels = ["llama3.1" "qwen2.5-coder:7b"];
- acceleration = "cuda";
- user = "ollama";
- group = "ollama";
- };
- fonts.packages = with pkgs; [
- nerd-fonts.jetbrains-mono
- font-awesome
- nerd-fonts.symbols-only
- hack-font
- # microsoft fonts:
- corefonts
- vistafonts
- ];
- environment.sessionVariables = {
- NIXOS_OZONE_WL = "1";
- XDG_RUNTIME_DIR = "/mnt/wslg/runtime-dir"; #sometimes gui apps stop working in wsl. This option makes GUI apps load much slower but at least they work https://github.com/microsoft/wslg/issues/1303#issuecomment-2764300164
- EDITOR = "emacsclient -c";
- };
-
- hardware = {
- graphics = {
- enable = true;
- };
- };
-
- security.polkit.enable = true;
- security.rtkit.enable = true;
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- alsa.support32Bit = true;
- pulse.enable = true;
- jack.enable = true;
- };
-
- programs.bash = {
- shellAliases = {
- ls = "${pkgs.eza}/bin/eza --icons=always";
- };
- };
-
- # List services that you want to enable:
-
- # Enable the OpenSSH daemon.
- services.openssh.enable = true;
-
- # Open ports in the firewall.
- networking.firewall.allowedTCPPorts = [22];
- networking.firewall.allowedUDPPorts = [22];
- # Or disable the firewall altogether.
- #networking.firewall.enable = false;
-
- # This value determines the NixOS release from which the default
- # settings for stateful data, like file locations and database versions
- # on your system were taken. It‘s perfectly fine and recommended to leave
- # this value at the release version of the first install of this system.
- # Before changing this value read the documentation for this option
- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "24.05"; # Did you read the comment?
-
- nix = {
- settings = {
- experimental-features = [
- "nix-command"
- "flakes"
- ];
- auto-optimise-store = true;
- substituters = [
- "https://hyprland.cachix.org"
- "https://nix-gaming.cachix.org"
- "https://nix-community.cachix.org"
- ];
- trusted-public-keys = [
- "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
- "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
- "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
- ];
- };
- };
-}