24 lines
487 B
Nix
24 lines
487 B
Nix
{ inputs, ... }:
|
|
{
|
|
networking.hostName = "c2";
|
|
|
|
imports = with inputs.nixos-hardware.nixosModules; [
|
|
./hardware-configuration.nix
|
|
common-cpu-intel
|
|
common-pc-laptop
|
|
common-pc-laptop-ssd
|
|
];
|
|
|
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
boot.resumeDevice = "/dev/disk/by-label/nixswap";
|
|
|
|
powerManagement = {
|
|
enable = true;
|
|
cpuFreqGovernor = "ondemand";
|
|
};
|
|
|
|
desktop.enable = true;
|
|
|
|
# ====== DON'T CHANGE ======
|
|
system.stateVersion = "25.05";
|
|
}
|