Commit f4a88311 authored by Samuel Laurén's avatar Samuel Laurén
Browse files

Syntax

parent 6504a689
......@@ -8,7 +8,7 @@
nix = {
useSandbox = true;
buildCores = 0;
}
};
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
......
......@@ -16,19 +16,19 @@ in {
description = "Stream target";
type = types.str;
example = "rtp://example.com:2222";
}
};
device = mkOption {
description = "Input device";
type = types.path;
default = "/dev/video0";
}
};
imagePath = mkOption {
description = "Output image path";
type = types.path;
default = "/dev/shm/coffeecam-static.jpg";
}
};
# Are these options in any way sensible
config = mkIf cfg.enable {
......@@ -64,5 +64,5 @@ in {
};
};
};
}
};
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment