blob: 8ac24b1ca772491d7524184a2d004aadfea8c104 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
config,
lib,
inputs,
pkgs,
modulesPath,
...
}: {
imports = [
./disks.nix
];
boot = {
initrd = {
availableKernelModules = ["ata_piix" "ohci_pci" "sd_mod" "sr_mod"];
kernelModules = [];
};
kernelPackages = pkgs.linuxPackages_latest;
kernelModules = [];
extraModulePackages = [];
kernelParams = ["net.ifnames=0" "biosdevname=0" "mitigations=off"];
};
services.xserver = {
# Enable touchpad support (enabled default in most desktopManager).
synaptics.enable = false;
};
hardware = {
graphics = {
enable = true;
};
};
environment.sessionVariables = {
"WLR_NO_HARDWARE_CURSORS" = "1";
};
virtualisation.virtualbox.guest.enable = true;
}
|