45 lines
807 B
Nix
45 lines
807 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
imports = [
|
|
|
|
<system/server>
|
|
./hardware-configuration.nix
|
|
|
|
./home-assistant.nix
|
|
./kodi.nix
|
|
./syncthing.nix
|
|
./tinc.nix
|
|
./wifi-access-point.nix
|
|
./dms.nix
|
|
|
|
];
|
|
|
|
networking.hostName = "pepe";
|
|
|
|
# fonts
|
|
# -----
|
|
programs.custom.urxvt.fontSize = 12;
|
|
programs.custom.xterm.fontSize = 12;
|
|
system.custom.fonts.dpi = 100;
|
|
|
|
# networking
|
|
# ----------
|
|
system.custom.wifi = {
|
|
enable = true;
|
|
interfaces = [ "wlp3s0" ];
|
|
configurationFile = <secrets/wpa_supplicant>;
|
|
};
|
|
# nix-shell -p speedtest_cli --run speedtest
|
|
configuration.fireqos = {
|
|
enable = true;
|
|
interface = "wlp3s0";
|
|
input = 30000;
|
|
output = 5000;
|
|
balance = false;
|
|
};
|
|
|
|
services.printing.enable = false;
|
|
services.smartd.enable = true;
|
|
|
|
}
|
|
|