todo items
This commit is contained in:
parent
af501177fd
commit
d23c2f0762
96 changed files with 2398 additions and 0 deletions
42
todo/stormd/flake.nix
Normal file
42
todo/stormd/flake.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
inputs = {
|
||||
ringofstorms-stormd.url = "git+ssh://git.joshuabell.xyz:3032/stormd";
|
||||
# Local path usage for testing changes locally
|
||||
# ringofstorms-nvim.url = "path:/home/josh/projects/stormd";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
ringofstorms-stormd,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nixosModules = {
|
||||
default =
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
options.mods.ros-stormd = {
|
||||
debug = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc "Whether to enable debug logging for stormd daemon.";
|
||||
};
|
||||
};
|
||||
imports = [ ringofstorms-stormd.nixosModules.default ];
|
||||
config = {
|
||||
services.stormd = {
|
||||
enable = true;
|
||||
nebulaPackage = pkgs.nebula;
|
||||
extraOptions = mkIf config.mods.ros-stormd.debug [ "-v" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue