nixos-config/nixos/configs/pepe/configuration.nix
2021-09-25 20:28:25 +02:00

58 lines
1.1 KiB
Nix

{ config, pkgs, lib, ... }: {
imports = [
<system/server>
./hardware-configuration.nix
#./home-assistant.nix
#./kodi.nix
./syncthing.nix
./tinc.nix
#./wifi-access-point.nix
#./lan.nix
./dms.nix
./borg.nix
];
nixpkgs.config.permittedInsecurePackages = [ "homeassistant-0.114.4" ];
networking.hostName = "pepe";
# fonts
# -----
programs.custom.urxvt.fontSize = 12;
programs.custom.xterm.fontSize = 12;
system.custom.fonts.dpi = 100;
# networking
# ----------
#system.custom.wifi = {
#enable = false;
#interfaces = [ "wlp3s0" ];
#configurationFile = <secrets/wpa_supplicant>;
#};
configuration.init-ssh = {
enable = "enabled";
kernelModules = [ "e1000e" ];
};
# just enable lan
networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
# nix-shell -p speedtest_cli --run speedtest
configuration.fireqos = {
enable = true;
interface = "wlp3s0";
input = 5000;
output = 1200;
balance = false;
};
services.printing.enable = false;
services.smartd.enable = true;
}