29 lines
459 B
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;
|
|
};
|
|
}
|