Add xpadneo kernel mod

This commit is contained in:
Dave Gallant
2022-07-02 09:05:57 -04:00
parent 2a036479e6
commit f98d6fc4ee
4 changed files with 10 additions and 13 deletions

View File

@@ -10,9 +10,7 @@
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-9.4.4" # authy is currently stuck on electron_9
];
permittedInsecurePackages = [];
};
users.users.dave = {

12
flake.lock generated
View File

@@ -82,11 +82,11 @@
},
"locked": {
"dir": "contrib",
"lastModified": 1656652124,
"narHash": "sha256-C5XQes+FC85TMFXco9oGilOXd6mz1elPNUFnkzDdO3E=",
"lastModified": 1656735907,
"narHash": "sha256-6tDUHALUyszphRnZFCD7c78eESphfRX2L6FnWCVVNIc=",
"owner": "neovim",
"repo": "neovim",
"rev": "60604d6a9982319673e5d5e67f0cdc29465cfe54",
"rev": "a9de89894a2ff43dd511b38f20ab2815d6c7e2bd",
"type": "github"
},
"original": {
@@ -103,11 +103,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1656663430,
"narHash": "sha256-dnQYw8SB4Wv1gUVPndxvJwE/KWRkvQBeiKzB0ynVMgw=",
"lastModified": 1656749719,
"narHash": "sha256-r/3k68MkeV1T6lSp2R9ewT+Bj1a6N3ZjUXE4y7fjJLk=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"rev": "0b3dc28b34d9476bcb5587a58f23badba022c55c",
"rev": "25b1177974a2d13c5bf3109f17940ce07c1cd043",
"type": "github"
},
"original": {

View File

@@ -331,9 +331,6 @@ in {
extraConfig = "lua require('init')";
plugins = with pkgs.vimPlugins; [
/*
copilot-vim
*/
cmp-nvim-lsp
cmp-path
cmp-treesitter

View File

@@ -10,7 +10,9 @@
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [config.boot.kernelPackages.v4l2loopback.out];
boot.extraModulePackages = with config.boot.kernelPackages; [
xpadneo
];
powerManagement.cpuFreqGovernor = "balanced";