nix/host/x86_64-linux/pocket/default.nix
2024-11-08 11:05:00 +03:00

52 lines
913 B
Nix

{ lib, ... }: {
home.nixos.enable = true;
user = {
root.enable = true;
voronind.enable = true;
};
module = {
builder.client.enable = true;
keyd.enable = true;
print.enable = true;
sway = {
enable = true;
extraConfig = ''
output DSI-1 transform 90
input * map_to_output DSI-1
'';
};
kernel = {
enable = true;
latest = true;
};
hwmon = {
file = "temp1_input";
path = "/sys/devices/platform/coretemp.0/hwmon";
};
intel.cpu = {
enable = true;
powersave = true;
};
package = {
common.enable = true;
core.enable = true;
creative.enable = true;
desktop.enable = true;
dev.enable = true;
extra.enable = true;
gaming.enable = true;
};
};
boot.kernelParams = [
"fbcon=rotate:1"
"video=DSI-1:rotate=90"
];
services.logind = {
powerKey = "ignore";
lidSwitch = "ignore";
};
}