2016-02-01 21:58:19 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
2021-03-12 20:08:43 +01:00
|
|
|
# nix-shell -p wol --run 'wol C8:CB:B8:CF:E4:DC --passwd=CA-FE-BA-BE-13-37'
|
2016-02-01 21:58:19 +01:00
|
|
|
let
|
2021-03-12 20:08:43 +01:00
|
|
|
itf = config.makefu.server.primary-itf;
|
2016-02-01 21:58:19 +01:00
|
|
|
in {
|
2015-11-06 11:01:49 +01:00
|
|
|
imports =
|
|
|
|
[ # Include the results of the hardware scan.
|
2021-03-12 20:08:43 +01:00
|
|
|
./hw.nix
|
2023-09-21 22:41:13 +02:00
|
|
|
../../2configs
|
|
|
|
../../2configs/home-manager
|
|
|
|
../../2configs/fs/single-partition-ext4.nix
|
|
|
|
../../2configs/smart-monitor.nix
|
|
|
|
../../2configs/tinc/retiolum.nix
|
|
|
|
../../2configs/filepimp-share.nix
|
2015-11-06 11:01:49 +01:00
|
|
|
];
|
2016-10-19 12:31:13 +02:00
|
|
|
|
2015-11-06 11:01:49 +01:00
|
|
|
krebs.build.host = config.krebs.hosts.filepimp;
|
2016-10-19 12:31:13 +02:00
|
|
|
|
2021-03-12 20:08:43 +01:00
|
|
|
networking.firewall.trustedInterfaces = [ itf ];
|
2021-12-04 21:18:45 +01:00
|
|
|
networking.interfaces.${itf}.wakeOnLan.enable = true;
|
2016-10-19 12:31:13 +02:00
|
|
|
|
2015-11-06 11:01:49 +01:00
|
|
|
}
|