24 lines
534 B
Nix
24 lines
534 B
Nix
{
|
|||
|
|
self,
|
||
|
|
inputs,
|
||
|
|
...
|
||
|
|
}: {
|
||
|
|
flake.nixosConfigurations.t480 = inputs.nixpkgs.lib.nixosSystem {
|
||
|
|
modules = with self.nixosModules; [
|
||
|
|
desktop
|
||
|
|
t480Configuration
|
||
|
|
# CPU microcode + integrated Intel GPU. The T480 also has an NVIDIA MX150;
|
||
|
|
# to enable it in PRIME offload mode, swap gpuIntel for gpuNvidiaPrime
|
||
|
|
# (which includes gpuIntel). Left on Intel-only by default to save power.
|
||
|
|
cpuIntel
|
||
|
|
gpuIntel
|
||
|
|
development
|
||
|
|
feishin
|
||
|
|
obsidian
|
||
|
|
discord
|
||
|
|
gaming
|
||
|
|
];
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|