Bruno BELANYI
ae64603d54
All checks were successful
continuous-integration/drone/push Build is passing
41 lines
720 B
Nix
41 lines
720 B
Nix
{ lib, modulesPath, ... }:
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-label/nixos";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-label/boot";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
|
|
swapDevices = [
|
|
{ device = "/dev/disk/by-label/swap"; }
|
|
];
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
my.hardware = {
|
|
firmware = {
|
|
cpuFlavor = "intel";
|
|
};
|
|
};
|
|
|
|
hardware = {
|
|
trackpoint = {
|
|
enable = true;
|
|
|
|
emulateWheel = true; # Holding middle buttons allows scrolling
|
|
|
|
device = "TPPS/2 Elan TrackPoint"; # Use the correct device name
|
|
};
|
|
};
|
|
}
|