Skip to content
Snippets Groups Projects
Commit f4a88311 authored by Samuel Laurén's avatar Samuel Laurén
Browse files

Syntax

parent 6504a689
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
};
};
};
}
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment