nixos-config/hosts/doctr.nix

25 lines
445 B
Nix
Raw Normal View History

2024-05-26 16:45:38 +02:00
{ 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'
'';
};
2024-01-30 21:44:02 +01:00
};
}