nixos-config/hosts/doctr.nix

25 lines
445 B
Nix

{ self, ... }:
{
perSystem =
{
self',
pkgs,
lib,
...
}:
{
packages.doctr = self.lib.mkOpenwrtImage {
inherit pkgs;
hostname = "doctr";
timezone = "Europe/Berlin";
ipaddr = "192.168.1.1";
packages = [
"tang" # for automatic LUKS decryption with clevis
];
uci = ''
uci set tang.config.enabled='1'
'';
};
};
}