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

50 lines
825 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.server.enable = true;
2024-11-18 02:24:48 +03:00
display.primary = "HDMI-A-1";
2024-11-16 06:38:48 +03:00
purpose = {
desktop = true;
router = true;
server = true;
};
2024-12-08 04:04:34 +03:00
syncthing = {
enable = true;
dataDir = "/storage/hot/sync";
user = "root";
group = "root";
};
2024-11-16 06:38:48 +03:00
dpi.bypass = {
enable = true;
params = [
"--dpi-desync=fake,disorder2"
2024-11-30 23:07:04 +03:00
2024-11-16 06:38:48 +03:00
"--dpi-desync-ttl=1"
"--dpi-desync-autottl=2"
2024-11-30 23:07:04 +03:00
"--dpi-desync-ttl6=1"
"--dpi-desync-autottl6=2"
"--dpi-desync-any-protocol"
2024-11-16 06:38:48 +03:00
];
};
2024-11-04 04:37:29 +03:00
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";
};
};
}