Skip to content

Commit

Permalink
fixed acer uvc
Browse files Browse the repository at this point in the history
  • Loading branch information
qixyuan committed May 7, 2024
1 parent 63452c2 commit 26652f2
Show file tree
Hide file tree
Showing 11 changed files with 86 additions and 110 deletions.
149 changes: 59 additions & 90 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
impermanence.url = "github:nix-community/impermanence";

hyprland = {
url = "github:hyprwm/Hyprland/";
url = "github:hyprwm/Hyprland/v0.39.1";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand Down
1 change: 1 addition & 0 deletions home/base/gui/dev-tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
mitmproxy # http/https proxy tool
insomnia # REST client
wireshark # network analyzer
jetbrains.pycharm-professional
];
}
1 change: 0 additions & 1 deletion home/linux/gui/hyprland/values/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
grim # taking screenshots
slurp # selecting a region to screenshot
wf-recorder # screen recording

mako # the notification daemon, the same as dunst

yad # a fork of zenity, for creating dialogs
Expand Down
12 changes: 9 additions & 3 deletions hosts/idols-ai/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@
# boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.initrd.availableKernelModules = ["xhci_pci" "vmd" "thunderbolt" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [ "uvcvideo" ];
boot.initrd.kernelModules = [ "myuvcvideo" ];
boot.kernelModules = ["kvm-intel"]; # kvm virtualization support
boot.extraModprobeConfig = "options kvm_intel nested=1"; # for intel cpu
boot.kernelParams = ["ibt=off" "acpi_backlight=native" ];
boot.kernelParams = ["ibt=off" "acpi_backlight=native"];
boot.extraModulePackages = [ myuvcvideo ];
boot.extraModprobeConfig = ''
options kvm_intel nested=1
blacklist nouveau
options nouveau modeset=0
blacklist uvcvideo
'';

# clear /tmp on boot to get a stateless /tmp directory.
boot.tmp.cleanOnBoot = true;

Expand Down
2 changes: 1 addition & 1 deletion hosts/idols-ai/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
monitor = "DP-1,2560x1440@170,auto,1,bitdepth,10";
};
};
i3.nvidia = true;
i3.nvidia = false;
};
modules.editors.emacs = {
enable = true;
Expand Down
Loading

0 comments on commit 26652f2

Please sign in to comment.