nixos-config/nixos/machines/pepe/configuration.nix

71 lines
1.3 KiB
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ config, pkgs, lib, ... }: {
2019-10-24 02:20:38 +02:00
imports = [
2021-09-27 18:53:45 +02:00
../../system/server
2019-10-24 02:20:38 +02:00
./hardware-configuration.nix
2022-01-01 09:36:01 +01:00
./mail-fetcher.nix
2022-01-04 07:31:19 +01:00
./packages.nix
2023-01-15 10:43:10 +01:00
./hass.nix
./zigbee2mqtt.nix
2021-07-15 23:09:55 +02: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
2022-06-23 00:33:59 +02:00
#./dms.nix
2020-09-04 00:49:35 +02:00
./borg.nix
2022-06-23 00:33:59 +02:00
#./mpd.nix
2021-10-13 20:55:57 +02:00
./grocy.nix
2021-10-26 05:14:15 +02:00
./taskwarrior-pushover.nix
2022-06-23 00:33:59 +02:00
#./neo4j.nix
2023-02-24 02:01:18 +01:00
#./jellyfin.nix
2023-01-19 12:31:04 +01:00
./wireguard.nix
#./tts.nix
2020-09-04 00:49:35 +02:00
2023-02-08 00:19:09 +01:00
# logging
2023-02-07 21:56:04 +01:00
./loki.nix
./loki-promtail.nix
./prometheus.nix
./grafana.nix
2023-02-24 03:51:12 +01:00
./telegraf.nix
2023-02-02 20:13:10 +01:00
2023-03-18 08:16:25 +01:00
./home-display.nix
2019-10-24 02:20:38 +02:00
];
2021-09-27 18:53:45 +02:00
sops.defaultSopsFile = ../../secrets/pepe.yaml;
2021-02-12 12:29:41 +01:00
2019-12-20 05:54:26 +01:00
networking.hostName = "pepe";
2019-10-24 02:20:38 +02:00
2023-02-17 11:45:09 +01:00
programs.custom. zsh.enable = true;
users.users.root.shell = pkgs.zsh;
2020-10-28 23:56:30 +01:00
2023-02-17 11:45:09 +01:00
# todo : rename to component.init.ssh
2021-04-25 09:51:23 +02:00
configuration.init-ssh = {
2021-04-27 07:03:20 +02:00
enable = "enabled";
2021-04-25 09:51:23 +02:00
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
2023-01-26 21:29:47 +01:00
#configuration.fireqos = {
# enable = false;
# interface = "enp0s25";
# input = 200000;
# output = 2000;
# 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;
2023-01-07 21:11:25 +01:00
# todo move to some place else
home-manager.users.mailUser.home.stateVersion = "22.11";
2019-10-24 02:20:38 +02:00
}