nix/host/x86_64-linux/home/default.nix
2024-12-08 05:29:04 +03:00

51 lines
854 B
Nix

{ ... }: {
home.nixos.enable = true;
user = {
root = true;
voronind = true;
};
module = {
builder.server.enable = true;
display.primary = "HDMI-A-1";
purpose = {
desktop = true;
router = true;
server = true;
};
syncthing = {
enable = true;
dataDir = "/storage/hot/sync";
openDefaultPorts = false;
user = "root";
group = "root";
};
dpi.bypass = {
enable = true;
params = [
"--dpi-desync=fake,disorder2"
"--dpi-desync-ttl=1"
"--dpi-desync-autottl=2"
"--dpi-desync-ttl6=1"
"--dpi-desync-autottl6=2"
"--dpi-desync-any-protocol"
];
};
amd = {
cpu.enable = true;
gpu.enable = true;
};
ftpd = {
enable = true;
storage = "/storage/hot/ftp";
};
hwmon = {
file = "temp1_input";
path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon";
};
};
}