summaryrefslogtreecommitdiff
path: root/sys/net.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-27 01:21:34 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-27 01:21:34 -0600
commitccbd359a8f9089a1e7a9566fdca62e26a2bb447c (patch)
treee248f3a9f848187e80d45baf2bd43ad465733fb0 /sys/net.nix
parent61d433c8e7cc17d5b921329fca9baf7c3d528ade (diff)
flake: enforce nixpkgs-fmt
Diffstat (limited to 'sys/net.nix')
-rw-r--r--sys/net.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net.nix b/sys/net.nix
index 30675e0..4075a12 100644
--- a/sys/net.nix
+++ b/sys/net.nix
@@ -1,7 +1,8 @@
{ lib, config, pkgs, ... }:
with lib; let
cfg = config.local;
-in {
+in
+{
options.local = with lib.types; {
hostname = mkOption {
type = str;