Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 1 | { pkgs, options, lib, ... }: { |
Skyler Grey | 6aa7c26 | 2022-08-20 22:22:03 +0100 | [diff] [blame] | 2 | config = { |
Skyler Grey | 3a9a2b1 | 2023-02-13 08:04:05 +0000 | [diff] [blame] | 3 | services.logind.extraConfig = '' |
4 | HandlePowerKey=Ignore | ||||
5 | LidSwitchIgnoreInhibited=no | ||||
6 | ''; | ||||
Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 7 | boot = { |
Skyler Grey | 3a9a2b1 | 2023-02-13 08:04:05 +0000 | [diff] [blame] | 8 | kernelParams = [ "acpi_backlight=video" ]; |
Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 9 | loader = { |
10 | systemd-boot = { | ||||
Skyler Grey | 1402717 | 2023-01-15 09:49:53 +0000 | [diff] [blame] | 11 | /* enable = true; */ # Replaced by secure-boot.nix |
Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 12 | editor = false; |
13 | }; | ||||
14 | efi.canTouchEfiVariables = true; | ||||
Skyler Grey | 7815367 | 2023-02-19 23:44:16 +0000 | [diff] [blame] | 15 | }; |
Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 16 | kernelPackages = pkgs.linuxPackages_zen; |
17 | blacklistedKernelModules = [ | ||||
18 | "bridge" | ||||
19 | "loop" | ||||
20 | "macvlan" | ||||
21 | "msr" | ||||
22 | "nf_nat_ftp" | ||||
23 | "razercore" | ||||
24 | "razerfirefly" | ||||
25 | "razerkbd" | ||||
26 | "razerkraken" | ||||
27 | "razermouse" | ||||
28 | "razermug" | ||||
29 | "tap" | ||||
30 | "tun" | ||||
Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 31 | "veth" |
Skyler Grey | 3a9a2b1 | 2023-02-13 08:04:05 +0000 | [diff] [blame] | 32 | "hid_sensor_hub" |
Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 33 | ]; |
Skyler Grey | 6aa7c26 | 2022-08-20 22:22:03 +0100 | [diff] [blame] | 34 | }; |
35 | }; | ||||
Skyler Grey | 5cf56dd | 2023-02-26 12:42:07 +0000 | [diff] [blame] | 36 | |
37 | traces = [ "config.boot.kernelModules" "config.boot.loader.systemd-boot.editor" ]; | ||||
Skyler Grey | 6aa7c26 | 2022-08-20 22:22:03 +0100 | [diff] [blame] | 38 | } |