This repository has no description
1.6 kB
88 lines
1{
2 pkgs,
3 ...
4}:
5
6{
7 imports = [
8 ../../configs
9 ../../configs/retiolum.nix
10 ../../configs/pipewire.nix
11 ../../configs/n8n.nix
12 ../../configs/green-host.nix
13 ../../configs/syncthing.nix
14 ../../configs/ppp/umts-stick.nix
15 ../../configs/gg23/audio/room.nix
16 ../../configs/monitoring/server.nix
17 ];
18
19 environment.systemPackages = with pkgs; [
20 wol
21 (writers.writeDashBin "wake-alien" ''
22 ${wol}/bin/wol -h 10.42.0.255 10:65:30:68:83:a3
23 '')
24 ];
25
26 networking.firewall.allowedTCPPorts = [ 80 ];
27 services.smokeping = {
28 enable = true;
29 host = null;
30 targetConfig = ''
31 probe = FPing
32 menu = top
33 title = top
34
35 + Local
36 menu = Local
37 title = Local Network
38 ++ LocalMachine
39 menu = Local Machine
40 title = This host
41 host = localhost
42
43 + Internet
44 menu = internet
45 title = internet
46
47 ++ CloudflareDNS
48 menu = Cloudflare DNS
49 title = Cloudflare DNS server
50 host = 1.1.1.1
51
52 ++ GoogleDNS
53 menu = Google DNS
54 title = Google DNS server
55 host = 8.8.8.8
56
57 + retiolum
58 menu = retiolum
59 title = retiolum
60
61 ++ gum
62 menu = gum.r
63 title = gum.r
64 host = gum.r
65
66 ++ ni
67 menu = ni.r
68 title = ni.r
69 host = ni.r
70
71 ++ neoprism
72 menu = neoprism.r
73 title = neoprism.r
74 host = neoprism.r
75 '';
76 };
77
78 # for usb internet
79 hardware.usbWwan.enable = true;
80
81 swapDevices = [
82 {
83 device = "/swapfile";
84 size = 8192;
85 }
86 ];
87 services.earlyoom.enable = true;
88}