nixfmt-rfc-style
There is nothing in this commit except for the changes made by nix-shell -p nixfmt-rfc-style --run "nixfmt ." If this has mucked up your open branches then sorry about that. You can probably nixfmt them to match before merging
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
{
|
||||
writeFennel
|
||||
, linotify
|
||||
, anoia
|
||||
, lualinux
|
||||
writeFennel,
|
||||
linotify,
|
||||
anoia,
|
||||
lualinux,
|
||||
}:
|
||||
writeFennel "acquire-delegated-prefix" {
|
||||
packages = [ linotify anoia lualinux ];
|
||||
packages = [
|
||||
linotify
|
||||
anoia
|
||||
lualinux
|
||||
];
|
||||
mainFunction = "run";
|
||||
} ./acquire-delegated-prefix.fnl
|
||||
|
@@ -1,10 +1,14 @@
|
||||
{
|
||||
writeFennel
|
||||
, linotify
|
||||
, anoia
|
||||
, lualinux
|
||||
writeFennel,
|
||||
linotify,
|
||||
anoia,
|
||||
lualinux,
|
||||
}:
|
||||
writeFennel "acquire-wan-address" {
|
||||
packages = [ linotify anoia lualinux ];
|
||||
packages = [
|
||||
linotify
|
||||
anoia
|
||||
lualinux
|
||||
];
|
||||
mainFunction = "run";
|
||||
} ./acquire-wan-address.fnl
|
||||
|
@@ -1,14 +1,18 @@
|
||||
{
|
||||
liminix
|
||||
, callPackage
|
||||
liminix,
|
||||
callPackage,
|
||||
}:
|
||||
{ client, interface } :
|
||||
{ client, interface }:
|
||||
let
|
||||
inherit (liminix.services) longrun;
|
||||
name = "dhcp6c.addr.${client.name}.${interface.name}";
|
||||
script = callPackage ./acquire-wan-address.nix { };
|
||||
in longrun {
|
||||
script = callPackage ./acquire-wan-address.nix { };
|
||||
in
|
||||
longrun {
|
||||
inherit name;
|
||||
run = "${script} $SERVICE_OUTPUTS/${client.name} $(output ${interface} ifname)";
|
||||
dependencies = [ client interface ];
|
||||
dependencies = [
|
||||
client
|
||||
interface
|
||||
];
|
||||
}
|
||||
|
@@ -1,13 +1,14 @@
|
||||
{
|
||||
liminix
|
||||
, odhcp6c
|
||||
, odhcp-script
|
||||
liminix,
|
||||
odhcp6c,
|
||||
odhcp-script,
|
||||
}:
|
||||
{ interface } :
|
||||
{ interface }:
|
||||
let
|
||||
inherit (liminix.services) longrun;
|
||||
name = "dhcp6c.${interface.name}";
|
||||
in longrun {
|
||||
in
|
||||
longrun {
|
||||
inherit name;
|
||||
notification-fd = 10;
|
||||
run = ''
|
||||
|
@@ -9,7 +9,12 @@
|
||||
## addresses of network interfaces that you want to assign those
|
||||
## prefixes to
|
||||
|
||||
{ lib, pkgs, config, ...}:
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
inherit (pkgs) liminix;
|
||||
|
@@ -1,14 +1,18 @@
|
||||
{
|
||||
liminix
|
||||
, callPackage
|
||||
liminix,
|
||||
callPackage,
|
||||
}:
|
||||
{ client, interface } :
|
||||
{ client, interface }:
|
||||
let
|
||||
inherit (liminix.services) longrun;
|
||||
name = "dhcp6c.prefix.${client.name}.${interface.name}";
|
||||
script = callPackage ./acquire-delegated-prefix.nix { };
|
||||
in longrun {
|
||||
script = callPackage ./acquire-delegated-prefix.nix { };
|
||||
in
|
||||
longrun {
|
||||
inherit name;
|
||||
run = "${script} $SERVICE_OUTPUTS/${client.name} $(output ${interface} ifname)";
|
||||
dependencies = [ client interface ];
|
||||
dependencies = [
|
||||
client
|
||||
interface
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user