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