nixos-config/machines/filepimp/config.nix

23 lines
624 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
# nix-shell -p wol --run 'wol C8:CB:B8:CF:E4:DC --passwd=CA-FE-BA-BE-13-37'
let
itf = config.makefu.server.primary-itf;
in {
imports =
[ # Include the results of the hardware scan.
./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
];
2016-10-19 12:31:13 +02:00
krebs.build.host = config.krebs.hosts.filepimp;
2016-10-19 12:31:13 +02:00
networking.firewall.trustedInterfaces = [ itf ];
networking.interfaces.${itf}.wakeOnLan.enable = true;
2016-10-19 12:31:13 +02:00
}