2021-05-25 15:04:21 +04:00
|
|
|
{ inputs, lib, config, pkgs, ... }: {
|
2021-06-08 20:35:21 +04:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2021-06-24 12:41:17 +04:00
|
|
|
inputs.self.nixosRoles.desktop
|
2021-06-08 20:35:21 +04:00
|
|
|
];
|
2021-01-21 22:13:53 +04:00
|
|
|
deviceSpecific.devInfo = {
|
|
|
|
cpu = {
|
|
|
|
vendor = "intel";
|
|
|
|
clock = 4800;
|
|
|
|
cores = 4;
|
|
|
|
};
|
|
|
|
drive = {
|
|
|
|
type = "ssd";
|
|
|
|
speed = 6000;
|
|
|
|
size = 256;
|
|
|
|
};
|
|
|
|
ram = 16;
|
|
|
|
};
|
2021-06-08 20:35:21 +04:00
|
|
|
|
|
|
|
persist = {
|
|
|
|
enable = true;
|
|
|
|
cache.clean.enable = true;
|
2021-02-28 20:03:06 +04:00
|
|
|
};
|
2021-06-08 20:35:21 +04:00
|
|
|
|
|
|
|
home-manager.users.balsoft.xdg.configFile."simple-osd/brightness".text =
|
|
|
|
pkgs.my-lib.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
|
|
|
|
'';
|
|
|
|
}
|