nixos-config/hosts/doctr.nix

17 lines
383 B
Nix
Raw Normal View History

2024-03-07 20:19:06 +01:00
{ self, ... }: {
2024-01-30 21:44:02 +01:00
perSystem = { self', pkgs, lib, ... }: {
packages.doctr = self.lib.mkOpenwrtImage {
inherit pkgs;
hostname = "doctr";
timezone = "Europe/Berlin";
ipaddr = "192.168.1.1";
2024-03-07 20:19:06 +01:00
packages = [
"tang" # for automatic LUKS decryption with clevis
];
uci = ''
uci set tang.config.enabled='1'
'';
2024-01-30 21:44:02 +01:00
};
};
}