nixos-config/machines/wbob/config.nix

111 lines
3.3 KiB
Nix
Raw Normal View History

2016-08-23 19:13:50 +02:00
{ config, pkgs, lib, ... }:
2017-05-12 11:29:46 +02:00
let
user = config.makefu.gui.user;
2017-12-05 15:15:32 +01:00
primaryIP = "192.168.8.11";
2016-07-20 20:35:30 +02:00
in {
2016-01-19 20:26:38 +01:00
imports =
2021-03-12 20:11:43 +01:00
[
2023-06-30 10:00:32 +02:00
../../2configs/default.nix
2021-03-12 20:11:43 +01:00
# Include the results of the hardware scan.
./nuc
2023-07-11 12:22:57 +02:00
2024-02-14 23:44:28 +01:00
../../2configs/networking/zerotier.nix
2023-06-30 10:00:32 +02:00
../../2configs/home-manager
../../2configs/support-nixos.nix
../../2configs/zsh-user.nix
../../2configs/tools/core.nix
# ../../2configs/disable_v6.nix
../../2configs/tools/core-gui.nix
../../2configs/tools/extra-gui.nix
../../2configs/tools/media.nix
# ../../2configs/virtualisation/libvirt.nix
# ../../2configs/virtualisation/virtualbox.nix
2023-07-11 12:22:57 +02:00
../../2configs/tinc/retiolum.nix
2023-06-30 10:00:32 +02:00
../../2configs/gui/wbob-kiosk.nix
2023-07-11 12:22:57 +02:00
../../2configs/secrets/wbob-users.nix
2023-06-28 21:40:08 +02:00
{ environment.systemPackages = with pkgs ;[
nano
guake
]; }
2023-09-21 22:41:57 +02:00
{ services.vscode-server.enable = true; }
2017-12-05 15:15:32 +01:00
2023-06-30 10:00:32 +02:00
# ../../2configs/gui/studio-virtual.nix
# ../../2configs/audio/jack-on-pulse.nix
# ../../2configs/audio/realtime-audio.nix
# ../../2configs/vncserver.nix
2020-09-03 19:21:45 +02:00
## no need for dns logs anymore
2023-06-30 10:00:32 +02:00
# ../../2configs/logging/server.nix
2017-11-14 10:17:16 +01:00
2017-09-29 21:38:08 +02:00
# Services
2023-06-30 10:00:32 +02:00
# ../../2configs/hydra/stockholm.nix
2018-02-26 18:59:43 +01:00
2023-06-30 10:00:32 +02:00
../../2configs/share/wbob.nix
../../2configs/wireguard/thierry.nix
../../2configs/bluetooth-mpd.nix
2017-12-05 15:15:32 +01:00
2017-12-28 16:05:39 +01:00
# Sensors
2023-06-30 10:00:32 +02:00
# ../../2configs/stats/client.nix
# ../../2configs/stats/collectd-client.nix
../../2configs/stats/telegraf
../../2configs/stats/telegraf/airsensor.nix
../../2configs/stats/telegraf/europastats.nix
2023-09-20 16:54:07 +02:00
# ../../2configs/stats/external/aralast.nix
# ../../2configs/stats/arafetch.nix
2023-06-30 10:00:32 +02:00
# ../../2configs/hw/mceusb.nix
../../2configs/hw/slaesh.nix
# ../../2configs/stats/telegraf/bamstats.nix
2018-11-05 13:51:28 +01:00
{ environment.systemPackages = [ pkgs.vlc ]; }
2018-08-06 16:33:14 +02:00
2023-07-12 20:30:58 +02:00
../../2configs/bam # new hass entry point
2024-02-14 23:44:28 +01:00
# disable
# ../../2configs/bam/led-fader.nix
2023-07-12 20:30:58 +02:00
../../2configs/bam/printer.nix
# ../../2configs/bam/kalauerbot.nix now runs in thales
# ../../2configs/bam/visitor-photostore.nix
# ../../2configs/bam/mpd.nix #mpd is only used for TTS, this is the web interface
2023-06-30 10:00:32 +02:00
../../2configs/mqtt.nix
2024-01-15 22:35:36 +01:00
../../2configs/bam/cam.nix
../../2configs/bam/influx.nix
2023-06-30 10:00:32 +02:00
../../2configs/backup/state.nix
2017-11-14 10:17:16 +01:00
# temporary
2023-06-30 10:00:32 +02:00
# ../../2configs/temp/rst-issue.nix
2023-04-26 18:41:02 +02:00
{
services.jellyfin.enable = true;
}
2017-09-29 21:38:08 +02:00
];
2016-08-23 19:13:50 +02:00
2016-02-11 17:05:00 +01:00
krebs = {
enable = true;
build.host = config.krebs.hosts.wbob;
};
2016-08-23 19:13:50 +02:00
networking.firewall.allowedUDPPorts = [ 655 ];
2017-09-29 21:38:08 +02:00
networking.firewall.allowedTCPPorts = [
655
2021-10-21 09:10:55 +02:00
8081 # smokeping
2017-09-29 21:38:08 +02:00
49152
];
2017-05-11 16:06:41 +02:00
networking.firewall.trustedInterfaces = [ "enp0s25" ];
2016-08-23 19:13:50 +02:00
#services.tinc.networks.siem = {
# name = "display";
# extraConfig = ''
# ConnectTo = sjump
# Port = 1655
# '';
#};
2021-10-21 09:10:55 +02:00
#boot.kernelPackages = pkgs.linuxPackages_latest;
2016-02-11 17:05:00 +01:00
# rt2870.bin wifi card, part of linux-unfree
hardware.enableRedistributableFirmware = true;
2016-02-11 17:05:00 +01:00
nixpkgs.config.allowUnfree = true;
# rt2870 with nonfree creates wlp2s0 from wlp0s20u2
# not explicitly setting the interface results in wpa_supplicant to crash
2021-10-21 09:10:55 +02:00
#networking.interfaces.virbr1.ipv4.addresses = [{
# address = "10.8.8.11";
# prefixLength = 24;
#}];
2016-02-11 17:05:00 +01:00
# nuc hardware
2016-01-19 20:26:38 +01:00
}