45 lines
895 B
Nix
Raw Normal View History

2022-01-30 02:10:32 +03:00
{ inputs, lib, ... }: {
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
./hardware-configuration.nix
inputs.self.nixosRoles.server
hardware
light
mullvad
services
];
deviceSpecific.devInfo = {
cpu = {
vendor = "intel";
clock = 2300;
cores = 4;
};
drive = {
type = "hdd";
speed = 100;
size = 500;
};
gpu = {
vendor = "intel";
};
bigScreen = false;
ram = 6;
};
deviceSpecific.enableVirtualisation = false;
deviceSpecific.wireguard.enable = true;
deviceSpecific.isLaptop = lib.mkForce true;
2022-02-01 05:16:53 +03:00
boot = {
cleanTmpDir = true;
# kernelParams = [ "video=VGA-1:d" ];
loader = {
2022-01-30 00:09:53 +00:00
timeout = lib.mkForce 4;
systemd-boot.enable = true;
};
2022-02-01 05:16:53 +03:00
};
services.tlp.settings.TLP_DEFAULT_MODE = lib.mkForce "AC";
services.logind.lidSwitch = "lock";
2022-01-30 02:10:32 +03:00
}