2019-12-20 05:54:26 +01:00
|
|
|
{ config, pkgs, lib, ... }: {
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
|
2020-04-08 16:43:09 +02:00
|
|
|
<system/server>
|
2019-10-24 02:20:38 +02:00
|
|
|
./hardware-configuration.nix
|
|
|
|
|
2020-04-10 11:36:58 +02:00
|
|
|
./home-assistant.nix
|
2020-10-28 23:56:30 +01:00
|
|
|
./kodi.nix
|
2020-04-10 11:36:58 +02:00
|
|
|
./syncthing.nix
|
2019-10-24 02:20:38 +02:00
|
|
|
./tinc.nix
|
2021-02-26 12:26:09 +01:00
|
|
|
#./wifi-access-point.nix
|
2020-10-18 21:05:01 +02:00
|
|
|
#./lan.nix
|
2020-04-27 23:39:02 +02:00
|
|
|
./dms.nix
|
2020-09-04 00:49:35 +02:00
|
|
|
./borg.nix
|
|
|
|
|
2019-10-24 02:20:38 +02:00
|
|
|
];
|
|
|
|
|
2021-02-12 12:29:41 +01:00
|
|
|
nixpkgs.config.permittedInsecurePackages = [ "homeassistant-0.114.4" ];
|
|
|
|
|
2019-12-20 05:54:26 +01:00
|
|
|
networking.hostName = "pepe";
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
# fonts
|
|
|
|
# -----
|
2019-12-20 05:54:26 +01:00
|
|
|
programs.custom.urxvt.fontSize = 12;
|
|
|
|
programs.custom.xterm.fontSize = 12;
|
2019-10-24 02:20:38 +02:00
|
|
|
system.custom.fonts.dpi = 100;
|
|
|
|
|
2020-04-10 11:36:58 +02:00
|
|
|
# networking
|
|
|
|
# ----------
|
2020-10-28 23:56:30 +01:00
|
|
|
#system.custom.wifi = {
|
|
|
|
#enable = false;
|
|
|
|
#interfaces = [ "wlp3s0" ];
|
|
|
|
#configurationFile = <secrets/wpa_supplicant>;
|
|
|
|
#};
|
|
|
|
|
2021-04-25 09:51:23 +02:00
|
|
|
configuration.init-ssh = {
|
|
|
|
enable = "prepare";
|
|
|
|
kernelModules = [ "e1000e" ];
|
|
|
|
};
|
|
|
|
|
2020-10-18 21:05:01 +02:00
|
|
|
# just enable lan
|
|
|
|
networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
|
2020-10-28 23:56:30 +01:00
|
|
|
|
2020-04-10 11:36:58 +02:00
|
|
|
# nix-shell -p speedtest_cli --run speedtest
|
|
|
|
configuration.fireqos = {
|
|
|
|
enable = true;
|
|
|
|
interface = "wlp3s0";
|
2020-05-27 00:31:14 +02:00
|
|
|
input = 5000;
|
|
|
|
output = 1200;
|
2020-04-10 11:36:58 +02:00
|
|
|
balance = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
|
2020-04-29 21:32:54 +02:00
|
|
|
services.printing.enable = false;
|
|
|
|
services.smartd.enable = true;
|
|
|
|
|
2019-10-24 02:20:38 +02:00
|
|
|
}
|
|
|
|
|