feat(openwrt): update config
This commit is contained in:
parent
9555a51409
commit
4eab62fe3b
3 changed files with 14 additions and 5 deletions
hosts
|
@ -1,10 +1,16 @@
|
|||
{ self, inputs, ... }: {
|
||||
{ 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'
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ self, inputs, ... }: {
|
||||
{ self, ... }: {
|
||||
perSystem = { self', pkgs, lib, ... }: {
|
||||
packages.penguin = self.lib.mkOpenwrtImage {
|
||||
inherit pkgs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue