This repository has been archived on 2025-10-08. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nixos-config/devices/thinkbook/default.nix

29 lines
459 B
Nix

{
inputs,
customFunctions,
...
}:
{
imports =
customFunctions.scan {
path = ./.;
exclude = [ ./default.nix ];
}
++ [ inputs.nixos-hardware.nixosModules.common-cpu-intel ];
device.laptop = {
enable = true;
battery.enable = true;
bluetooth.enable = true;
sound.enable = true;
cpu = {
enable = true;
type = "intel";
};
};
zramSwap = {
enable = true;
memoryPercent = 100;
};
}