2021-02-28 20:03:06 +04:00
|
|
|
{ inputs, lib, config, ... }: {
|
2021-01-21 22:13:53 +04:00
|
|
|
imports = [ ./hardware-configuration.nix inputs.self.nixosProfiles.desktop ];
|
|
|
|
deviceSpecific.devInfo = {
|
|
|
|
cpu = {
|
|
|
|
vendor = "intel";
|
|
|
|
clock = 4800;
|
|
|
|
cores = 4;
|
|
|
|
};
|
|
|
|
drive = {
|
|
|
|
type = "ssd";
|
|
|
|
speed = 6000;
|
|
|
|
size = 256;
|
|
|
|
};
|
|
|
|
ram = 16;
|
|
|
|
};
|
2021-02-28 20:03:06 +04:00
|
|
|
home-manager.users.balsoft.xdg.configFile."simple-osd/brightness".text = (import ../../support.nix { inherit lib config; }).genIni {
|
|
|
|
default = {
|
|
|
|
"backlight backend" = "/sys/class/backlight/intel_backlight";
|
|
|
|
"refresh interval" = 100;
|
|
|
|
};
|
|
|
|
};
|
2021-01-21 22:13:53 +04:00
|
|
|
boot.extraModprobeConfig = ''
|
|
|
|
options iwlwifi bt_coex_active=0
|
|
|
|
'';
|
|
|
|
}
|