mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 18:24:09 +09:00
nix registory
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{ 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 = [ ];
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user