nix/host/x86_64-linux/desktop/default.nix

41 lines
738 B
Nix
Raw Normal View History

2024-11-04 04:37:29 +03:00
{ ... }: {
home.nixos.enable = true;
user = {
2024-11-16 06:38:48 +03:00
root = true;
voronind = true;
2024-11-04 04:37:29 +03:00
};
2024-06-25 04:04:39 +03:00
2024-11-04 04:37:29 +03:00
module = {
builder.client.enable = true;
2024-12-08 04:04:34 +03:00
package.extra = true;
print.enable = true;
syncthing.enable = true;
2024-11-16 06:38:48 +03:00
purpose = {
desktop = true;
gaming = true;
work = true;
};
2024-11-18 02:24:48 +03:00
display = {
primary = "HDMI-A-1";
rotate.HDMI-A-1 = 180;
};
2024-11-04 04:37:29 +03:00
amd = {
compute.enable = true;
gpu.enable = true;
cpu = {
enable = true;
powersave = true;
};
};
2024-11-18 02:24:48 +03:00
sway.extraConfig = [
2024-12-02 01:17:53 +03:00
"output DP-3 pos 0 1080"
"output HDMI-A-1 mode 1920x1080@74.986Hz pos 780 0"
2024-11-18 02:24:48 +03:00
"workspace 1 output HDMI-A-1"
];
2024-11-04 04:37:29 +03:00
hwmon = {
file = "temp1_input";
path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon";
};
};
}