adding sinc keyboard and more

This commit is contained in:
Matt Nish-Lapidus 2024-11-18 10:54:45 -05:00
parent 3e2c421735
commit 86219fee55
5 changed files with 63 additions and 27 deletions

View file

@ -17,6 +17,7 @@
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [
wget
libGL
home-manager
curl
git-lfs
@ -34,6 +35,8 @@
fontconfig
freetype
nix-ld
egl-wayland
glfw-wayland
];
# Bootloader.
@ -44,7 +47,7 @@
boot = {
initrd.kernelModules = [ "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" ];
kernelParams = [ "nvidia-drm.fbdev=1" "nvidia_drm.modeset=1" "amd_pstate=guided"];
kernelParams = [ "nvidia-drm.fbdev=1" "nvidia_drm.modeset=1"]; # "amd_pstate=guided"
};
systemd.services.tailscaled.after = ["NetworkManager-wait-online.service"];
@ -88,7 +91,7 @@
forceFullCompositionPipeline = true;
prime = {
amdgpuBusId = "PCI:41:0:0";
amdgpuBusId = "PCI:101:0:0";
nvidiaBusId = "PCI:1:0:0";
offload = {
enable = true;
@ -268,9 +271,9 @@
# device = "/dev/input/by-id/usb-Keebio_Quefrency_Rev._5-event-kbd";
# config = builtins.readFile ../../dotfiles/dot_config/kmonad/quefrency.kbd;
# };
snap = {
device = "/dev/input/by-id/usb-nullbits_SNAP-event-kbd";
config = builtins.readFile ../../dotfiles/dot_config/kmonad/snap.kbd;
sinc = {
device = "/dev/input/by-id/usb-Keebio_Sinc_Rev._4-event-kbd";
config = builtins.readFile ../../dotfiles/dot_config/kmonad/sinc.kbd;
};
razer = {
extraGroups = [ "openrazer" ];
@ -323,6 +326,9 @@
freetype
gnutls
util-linux
libGL
egl-wayland
glfw-wayland
];
services.udev.packages = with pkgs; [