mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 04:44:09 +09:00
40 lines
737 B
Nix
40 lines
737 B
Nix
{ lib, ... }:
|
|
{
|
|
description = "alpha test application";
|
|
|
|
includes = [ "services.nested" ];
|
|
|
|
imports.nixos = [
|
|
{
|
|
options.test = {
|
|
external = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "external-default";
|
|
};
|
|
systemValues = lib.mkOption {
|
|
type = lib.types.listOf lib.types.str;
|
|
default = [ ];
|
|
};
|
|
};
|
|
}
|
|
];
|
|
|
|
imports.darwin = [
|
|
{
|
|
options.test.systemValues = lib.mkOption {
|
|
type = lib.types.listOf lib.types.str;
|
|
default = [ ];
|
|
};
|
|
}
|
|
];
|
|
|
|
imports.home = [
|
|
{
|
|
options.test.homeValues = lib.mkOption {
|
|
type = lib.types.listOf lib.types.str;
|
|
default = [ ];
|
|
};
|
|
}
|
|
];
|
|
}
|