refactor(hosts): move host configurations into folders

This commit is contained in:
Felix Schröter 2025-05-01 16:08:47 +02:00
parent 7e5e0d2c87
commit 02115fe73d
Signed by: felschr
GPG key ID: 671E39E6744C807D
5 changed files with 48 additions and 47 deletions
hosts/doctr

24
hosts/doctr/default.nix Normal file
View file

@ -0,0 +1,24 @@
{ 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'
'';
};
};
}